diff --git a/RestroHub-FrontEnd/src/pages/public/Landing.jsx b/RestroHub-FrontEnd/src/pages/public/Landing.jsx index daf1e5cc..55a3b7ca 100644 --- a/RestroHub-FrontEnd/src/pages/public/Landing.jsx +++ b/RestroHub-FrontEnd/src/pages/public/Landing.jsx @@ -291,7 +291,7 @@ const [contactForm, setContactForm] = useState({ { title: 'Legal', links: [ - { label: 'Privacy Policy', href: '#' }, + { label: 'Privacy Policy', href: '/privacy-policy' }, { label: 'Terms of Service', href: '#' }, { label: 'Refund Policy', href: '#' }, ], @@ -949,26 +949,35 @@ const [contactForm, setContactForm] = useState({

- {/* Link Columns */} - {footerColumns.map((col) => ( -
-

- {col.title} -

- -
- ))} + {/* Link Columns */} +{footerColumns.map((col) => ( +
+

+ {col.title} +

+ +
+))} {/* Bottom Bar */} diff --git a/RestroHub-FrontEnd/src/pages/public/PrivacyPolicy.jsx b/RestroHub-FrontEnd/src/pages/public/PrivacyPolicy.jsx new file mode 100644 index 00000000..e4c3be92 --- /dev/null +++ b/RestroHub-FrontEnd/src/pages/public/PrivacyPolicy.jsx @@ -0,0 +1,133 @@ +import { Link } from 'react-router-dom'; + +const PrivacyPolicy = () => { + return ( +
+
+ + {/* Header */} +
+ + ← Back to Home + +

+ Privacy Policy +

+

+ Last updated: June 2026 +

+
+ + {/* Content */} +
+ + {/* Section 1 */} +
+

+ 1. Information We Collect +

+

+ We collect information you provide directly to us, such as when + you create an account, use our services, or contact us for support. + This includes your name, email address, phone number, and + restaurant details. +

+
+ + {/* Section 2 */} +
+

+ 2. How We Use Your Information +

+

We use the information we collect to:

+
    +
  • Provide, maintain, and improve our services
  • +
  • Process transactions and send related information
  • +
  • Send technical notices and support messages
  • +
  • Respond to your comments and questions
  • +
  • Monitor and analyze usage patterns and trends
  • +
+
+ + {/* Section 3 */} +
+

+ 3. Data Storage & Security +

+

+ We take reasonable measures to help protect your personal + information from loss, theft, misuse, unauthorized access, + disclosure, alteration, and destruction. Your data is stored + securely on our servers located in India. +

+
+ + {/* Section 4 */} +
+

+ 4. Cookies +

+

+ We use cookies and similar tracking technologies to track activity + on our platform and hold certain information. You can instruct your + browser to refuse all cookies or to indicate when a cookie is being + sent. +

+
+ + {/* Section 5 */} +
+

+ 5. Sharing of Information +

+

+ We do not sell, trade, or rent your personal identification + information to others. We may share generic aggregated demographic + information not linked to any personal identification information + with our business partners and trusted affiliates. +

+
+ + {/* Section 6 */} +
+

+ 6. Your Rights +

+

You have the right to:

+
    +
  • Access the personal data we hold about you
  • +
  • Request correction of inaccurate data
  • +
  • Request deletion of your personal data
  • +
  • Withdraw consent at any time
  • +
  • Lodge a complaint with a supervisory authority
  • +
+
+ + {/* Section 7 */} +
+

+ 7. Contact Us +

+

+ If you have any questions about this Privacy Policy, please + contact us at: +

+
+

+ Restroly Support +

+

Email: support@restroly.com

+

Address: India

+
+
+ +
+
+
+ ); +}; + +export default PrivacyPolicy; \ No newline at end of file diff --git a/RestroHub-FrontEnd/src/routes/index.jsx b/RestroHub-FrontEnd/src/routes/index.jsx index 51e0bdd4..f48c24f3 100644 --- a/RestroHub-FrontEnd/src/routes/index.jsx +++ b/RestroHub-FrontEnd/src/routes/index.jsx @@ -12,6 +12,7 @@ import Landing from '../pages/public/Landing'; import Login from '../pages/public/Login'; import Register from '../pages/public/Register'; import ForgotPassword from '../pages/public/ForgotPassword'; +import PrivacyPolicy from '../pages/public/PrivacyPolicy'; // Customer Pages import RestaurantMenu from '../pages/customer/RestaurantMenu'; @@ -36,6 +37,7 @@ const AppRoutes = () => { } /> } /> } /> + } /> {/* ========== CUSTOMER ROUTES ========== */} @@ -47,7 +49,7 @@ const AppRoutes = () => { {/* ========== ADMIN ROUTES ========== */} -