Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Legal Pages #236

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ import SectionPage from './pages/SectionPage';
import News from './pages/News';
import NotFound from './pages/NotFound';
import Loader from './components/Loader/Loader';
import PrivacyPolicy from './pages/PrivacyPolicy';
import TermsandConditions from './pages/TermsandConditions';
import Licensing from './pages/Licensing';

const Layout = ({ children }) => {
return (
Expand All @@ -32,6 +35,9 @@ function App() {
<Route path='/section/:_id' element={<Layout><SectionPage /></Layout>} />
<Route path="/menu/:_id" element={<Layout><MenuPage /></Layout>} />
<Route path='/news' element={<Layout><News/></Layout>}/>
<Route path='/privacypolicy' element={<Layout><PrivacyPolicy/></Layout>}/>
<Route path='/termsandconditions' element={<Layout><TermsandConditions/></Layout>}/>
<Route path='/licensing' element={<Layout><Licensing/></Layout>}/>
<Route path='/loader' element={<Layout><Loader/></Layout>}/>
<Route path="*" element={<Layout><NotFound /></Layout>} />
</Routes>
Expand Down
6 changes: 3 additions & 3 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ const Footer = () => {
<div className='md:w-1/2'>
<p className='text-gray-200 underline'>Legal Pages</p>
<ul className='text-gray-300 py-4 cursor-pointer'>
<li className='py-1 cursor-pointer'>Privacy Policy</li>
<li className='py-1 cursor-pointer'>Terms and Conditions</li>
<li className='py-1 cursor-pointer'>Licensing</li>
<a href="/privacypolicy"><li className='py-1 cursor-pointer'>Privacy Policy</li></a>
<a href="/termsandconditions"><li className='py-1 cursor-pointer'>Terms and Conditions</li></a>
<a href="/licensing"><li className='py-1 cursor-pointer'>Licensing</li></a>
</ul>
</div>
</div>
Expand Down
53 changes: 53 additions & 0 deletions src/pages/Licensing.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import Aos from 'aos';
import React, { useEffect, useState } from 'react';
import "aos/dist/aos.css";
import Loader from '../components/Loader/Loader';
import Navbar from '../components/Navbar';
import Footer from '../components/Footer';

const Licensing = () => {
const [loading, setLoading] = useState(false);

useEffect(() => {
setLoading(true);
Aos.init({ duration: 800 });
setLoading(false);
}, []);

return (
<>
{loading ? (
<Loader />
) : (
<div className="text-white min-h-screen bg-gradient-to-b from-blue-950 to-gray-900 bg-no-repeat w-full overflow-hidden">
<Navbar />
<div className="container w-full lg:w-3/4 mx-auto px-4 sm:px-6 lg:px-8 py-12">
<h1 className="text-3xl sm:text-4xl font-bold text-center mt-20 mb-10">Licensing</h1>
<div className="prose prose-lg text-gray-300">
<p>Welcome to Foodies, your ultimate college dining companion! By accessing and using the Foodies mobile application, you agree to be bound by the following licensing terms:</p><br/>
<p><strong>1. License Grant</strong></p><br/>
<p>Subject to your compliance with these terms and conditions, Foodies grants you a limited, non-exclusive, non-transferable, revocable license to use the Foodies mobile application for your personal, non-commercial use.</p><br/>
<p><strong>2. Restrictions</strong></p><br/>
<p>You may not:</p><br/>
<ul className='mb-5 list-disc'>
<li className='mb-4 ml-10'>Modify, adapt, or create derivative works of the Foodies app.</li>
<li className='mb-4 ml-10'>Reverse engineer, decompile, or disassemble the Foodies app.</li>
<li className='mb-4 ml-10'>Use the Foodies app for any illegal or unauthorized purpose.</li>
<li className='mb-4 ml-10'>Remove or alter any copyright, trademark, or other proprietary notices from the Foodies app.</li>
</ul>
<p><strong>3. Ownership</strong></p><br/>
<p>Foodies retains all rights, title, and interest in and to the Foodies mobile application, including all intellectual property rights.</p><br/>
<p><strong>4. Termination</strong></p><br/>
<p>This license is effective until terminated by you or Foodies. Foodies may terminate this license at any time without notice if you breach any of these terms and conditions.</p><br/>
<p><strong>5. Contact Us</strong></p><br/>
<p>If you have any questions, concerns, or feedback about the licensing terms, please contact us at <a href="mailto:contact@foodiesapp.com" className='text-blue-400'>contact@foodiesapp.com</a>.</p>
</div>
</div>
<Footer/>
</div>
)}
</>
)
}

export default Licensing;
74 changes: 74 additions & 0 deletions src/pages/PrivacyPolicy.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
import Aos from 'aos';
import React, { useEffect, useState } from 'react';
import "aos/dist/aos.css";
import Loader from '../components/Loader/Loader';
import Navbar from '../components/Navbar';
import Footer from '../components/Footer';

const PrivacyPolicy = () => {
const [loading, setLoading] = useState(false);

useEffect(() => {
setLoading(true);
Aos.init({ duration: 800 });
setLoading(false);
}, []);

return (
<>
{loading ? (
<Loader />
) : (
<div className="text-white min-h-screen bg-gradient-to-b from-blue-950 to-gray-900 bg-no-repeat w-full overflow-hidden">
<Navbar />
<div className="container w-full lg:w-3/4 mx-auto px-4 sm:px-6 lg:px-8 py-12">
<h1 className="text-3xl sm:text-4xl font-bold text-center mt-20 mb-10">Privacy Policy</h1>
<div className="prose prose-lg text-gray-300">
<p>Welcome to Foodies, your ultimate college dining companion! At Foodies, we are committed to ensuring the privacy and security of our users' personal information. This Privacy Policy outlines how we collect, use, and protect your data when you use our platform. By using Foodies, you agree to the practices described in this Privacy Policy.</p><br/>
<p><strong>1. Information We Collect</strong></p><br/>
<ul className='mb-5 list-disc'>
<li className='mb-4 ml-10'><strong>Personal Information:</strong> When you sign up for Foodies, we collect certain personal information such as your name, email address, and college affiliation.</li>
<li className='mb-4 ml-10'><strong>Usage Data:</strong> We may collect information about how you interact with our platform, including your browsing history, search queries, and preferences.</li>
<li className='mb-4 ml-10'><strong>Location Information:</strong> With your consent, we may collect your precise or approximate location to provide you with relevant dining options and services.</li>
<li className='mb-4 ml-10'><strong>Device Information:</strong> We may collect information about the device you use to access Foodies, including your device type, operating system, and unique device identifiers.</li>
</ul>
<p><strong>2. How We Use Your Information</strong></p><br/>
<ul className='mb-5 list-disc'>
<li className='mb-4 ml-10'><strong>Providing Services:</strong> We use the information we collect to provide you with access to our platform, including personalized dining recommendations, menu exploration, and nutritional insights.</li>
<li className='mb-4 ml-10'><strong>Improving User Experience:</strong> We analyze usage data to improve and optimize our platform, enhance user experience, and develop new features.</li>
<li className='mb-4 ml-10'><strong>Communication:</strong> We may use your contact information to send you important updates, announcements, and promotional offers related to Foodies.</li>
<li className='mb-4 ml-10'><strong>Personalization:</strong> We use your data to personalize your experience on Foodies, including recommending dining options based on your preferences and dietary restrictions.</li>
</ul>
<p><strong>3. Data Security</strong></p><br/>
<ul className='mb-5 list-disc'>
<li className='mb-4 ml-10'><strong>Encryption:</strong> We employ industry-standard security measures to protect your personal information from unauthorized access, disclosure, alteration, or destruction.</li>
<li className='mb-4 ml-10'><strong>User Authentication:</strong> We use secure authentication mechanisms to ensure that only authorized users can access their account information.</li>
<li className='mb-4 ml-10'><strong>Data Minimization:</strong> We only collect and retain the information necessary to provide our services and fulfill our legal obligations.</li>
</ul>
<p><strong>4. Sharing of Information</strong></p><br/>
<ul className='mb-5 list-disc'>
<li className='mb-4 ml-10'><strong>Third-Party Service Providers:</strong> We may share your information with trusted third-party service providers who assist us in operating our platform, processing payments, or delivering services.</li>
<li className='mb-4 ml-10'><strong>Legal Compliance:</strong> We may disclose your information if required to do so by law or in response to valid legal requests from law enforcement authorities or other government agencies.</li>
</ul>
<p><strong>5. Your Choices</strong></p><br/>
<ul className='mb-5 list-disc'>
<li className='mb-4 ml-10'><strong>Opt-Out:</strong> You can opt-out of receiving promotional communications from Foodies by following the instructions provided in our emails or by contacting us directly.</li>
<li className='mb-4 ml-10'><strong>Access and Update:</strong> You can access and update your personal information by logging into your Foodies account and navigating to the settings section.</li>
<li className='mb-4 ml-10'><strong>Location Sharing:</strong> You can control whether to share your location information with Foodies through your device settings or app permissions.</li>
</ul>
<p><strong>6. Children's Privacy</strong></p><br/>
<p>Foodies is not intended for use by children under the age of 13. We do not knowingly collect personal information from children under 13. If you believe that we have inadvertently collected personal information from a child under 13, please contact us immediately so that we can take appropriate action.</p><br/>
<p><strong>7. Changes to this Privacy Policy</strong></p><br/>
<p>We may update this Privacy Policy from time to time to reflect changes in our practices or for other operational, legal, or regulatory reasons. We will notify you of any material changes by posting the updated Privacy Policy on our website or through other communication channels.</p><br/>
<p><strong>8. Contact Us</strong></p><br/>
<p>If you have any questions, concerns, or feedback about this Privacy Policy or our privacy practices, please contact us at <a href="mailto:contact@foodiesapp.com" className='text-blue-400'>contact@foodiesapp.com</a>.</p>
</div>
</div>
<Footer/>
</div>
)}
</>
)
}

export default PrivacyPolicy;
49 changes: 49 additions & 0 deletions src/pages/TermsandConditions.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import Aos from 'aos';
import React, { useEffect, useState } from 'react';
import "aos/dist/aos.css";
import Loader from '../components/Loader/Loader';
import Navbar from '../components/Navbar';
import Footer from '../components/Footer';

const TermsAndConditions = () => {
const [loading, setLoading] = useState(false);

useEffect(() => {
setLoading(true);
Aos.init({ duration: 800 });
setLoading(false);
}, []);

return (
<>
{loading ? (
<Loader />
) : (
<div className="text-white min-h-screen bg-gradient-to-b from-blue-950 to-gray-900 bg-no-repeat w-full overflow-hidden">
<Navbar />
<div className="container w-full lg:w-3/4 mx-auto px-4 sm:px-6 lg:px-8 py-12">
<h1 className="text-3xl sm:text-4xl font-bold text-center mt-20 mb-10">Terms and Conditions</h1>
<div className="prose prose-lg text-gray-300">
<p>Welcome to Foodies, your ultimate college dining companion! By accessing and using the Foodies mobile application, you accept and agree to be bound by the following terms and conditions:</p><br/>
<p><strong>1. Use of the App</strong></p><br/>
<p>The Foodies app is intended for personal, non-commercial use only. You may not use the app for any illegal or unauthorized purpose. You agree to comply with all applicable laws and regulations when using the app.</p><br/>
<p><strong>2. User Accounts</strong></p><br/>
<p>In order to access certain features of the app, you may be required to create a user account. You are responsible for maintaining the security of your account and are liable for any activity that occurs under your account.</p><br/>
<p><strong>3. Content</strong></p><br/>
<p>The content provided on the Foodies app, including menus, nutritional information, and health news, is for informational purposes only. We do not guarantee the accuracy, completeness, or reliability of any content on the app.</p><br/>
<p><strong>4. Privacy</strong></p><br/>
<p>Your privacy is important to us. Please refer to our Privacy Policy to understand how we collect, use, and protect your personal information when you use the Foodies app.</p><br/>
<p><strong>5. Modifications to Terms</strong></p><br/>
<p>We reserve the right to modify or replace these terms and conditions at any time. Any changes will be effective immediately upon posting on the app. Your continued use of the app after any such changes constitutes your acceptance of the new terms and conditions.</p><br/>
<p><strong>6. Contact Us</strong></p><br/>
<p>If you have any questions, concerns, or feedback about these terms and conditions, please contact us at <a href="mailto:contact@foodiesapp.com" className='text-blue-400'>contact@foodiesapp.com</a>.</p>
</div>
</div>
<Footer/>
</div>
)}
</>
)
}

export default TermsAndConditions;
Loading