Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c0df4b1dd4 | |||
| f3ccd10247 | |||
| 167ff6c70a | |||
| 7d683dcb3d | |||
| 311b84c821 | |||
| 60bf8da907 | |||
| 7ddb0dfcc5 | |||
| 451d2d42b2 | |||
| e7bf5ea33b | |||
| 528c91e7e7 |
237
src/app/page.tsx
237
src/app/page.tsx
@@ -5,12 +5,13 @@ import ReactLenis from "lenis/react";
|
|||||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||||
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
||||||
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
|
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
|
||||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||||
import HeroLogo from '@/components/sections/hero/HeroLogo';
|
import HeroLogo from '@/components/sections/hero/HeroLogo';
|
||||||
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
|
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
|
||||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||||
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
||||||
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
|
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
|
||||||
|
import { Instagram, Twitter, Facebook } from "lucide-react";
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
return (
|
return (
|
||||||
@@ -30,22 +31,11 @@ export default function LandingPage() {
|
|||||||
<div id="nav" data-section="nav">
|
<div id="nav" data-section="nav">
|
||||||
<NavbarLayoutFloatingOverlay
|
<NavbarLayoutFloatingOverlay
|
||||||
navItems={[
|
navItems={[
|
||||||
{
|
{ name: "Menu", id: "menu" },
|
||||||
name: "Menu",
|
{ name: "Deals", id: "deals" },
|
||||||
id: "menu",
|
{ name: "Locations", id: "locations" },
|
||||||
},
|
{ name: "App", id: "app" },
|
||||||
{
|
{ name: "Privacy Policy", id: "/privacy-policy" }
|
||||||
name: "Deals",
|
|
||||||
id: "deals",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "Locations",
|
|
||||||
id: "locations",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "App",
|
|
||||||
id: "app",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
brandName="FastBite"
|
brandName="FastBite"
|
||||||
/>
|
/>
|
||||||
@@ -56,14 +46,8 @@ export default function LandingPage() {
|
|||||||
logoText="FastBite:skip the wait ,start the feast"
|
logoText="FastBite:skip the wait ,start the feast"
|
||||||
description="Iconic flavor, delivered in seconds. Grab the best deals in your city today by chef med lgraid."
|
description="Iconic flavor, delivered in seconds. Grab the best deals in your city today by chef med lgraid."
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{ text: "Order Now", href: "#menu" },
|
||||||
text: "Order Now",
|
{ text: "Find a Location", href: "#locations" },
|
||||||
href: "#menu",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: "Find a Location",
|
|
||||||
href: "#locations",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
imageSrc="http://img.b2bpic.net/free-photo/tasty-sandwich-red-fork-wooden-board-dark-mix-color-surface-with-free-space_179666-42255.jpg"
|
imageSrc="http://img.b2bpic.net/free-photo/tasty-sandwich-red-fork-wooden-board-dark-mix-color-surface-with-free-space_179666-42255.jpg"
|
||||||
@@ -77,21 +61,9 @@ export default function LandingPage() {
|
|||||||
gridVariant="three-columns-all-equal-width"
|
gridVariant="three-columns-all-equal-width"
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
features={[
|
features={[
|
||||||
{
|
{ title: "Mega Combo", description: "2x Burgers, 2x Fries, 2x Soda at 30% off.", imageSrc: "http://img.b2bpic.net/free-vector/combo-meals-poster-template_23-2148667691.jpg" },
|
||||||
title: "Mega Combo",
|
{ title: "Student Discount", description: "Get a free side with any meal order.", imageSrc: "http://img.b2bpic.net/free-photo/assortment-with-blue-frame-delicious-food_23-2148314141.jpg" },
|
||||||
description: "2x Burgers, 2x Fries, 2x Soda at 30% off.",
|
{ title: "Early Bird", description: "Free breakfast item until 10 AM.", imageSrc: "http://img.b2bpic.net/free-photo/view-delicious-burger-with-french-fries_23-2150887842.jpg" },
|
||||||
imageSrc: "http://img.b2bpic.net/free-vector/combo-meals-poster-template_23-2148667691.jpg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Student Discount",
|
|
||||||
description: "Get a free side with any meal order.",
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/assortment-with-blue-frame-delicious-food_23-2148314141.jpg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Early Bird",
|
|
||||||
description: "Free breakfast item until 10 AM.",
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/view-delicious-burger-with-french-fries_23-2150887842.jpg",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
title="Limited Time Deals"
|
title="Limited Time Deals"
|
||||||
description="Don't miss out on our seasonal favorites."
|
description="Don't miss out on our seasonal favorites."
|
||||||
@@ -105,42 +77,12 @@ export default function LandingPage() {
|
|||||||
gridVariant="one-large-left-three-stacked-right"
|
gridVariant="one-large-left-three-stacked-right"
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
products={[
|
products={[
|
||||||
{
|
{ id: "p1", name: "Crispy Chicken", price: "$6.99", imageSrc: "http://img.b2bpic.net/free-photo/top-view-cheesy-meat-burger-with-seasonings-dark-floor-bun-sandwich-fast-food_140725-82157.jpg" },
|
||||||
id: "p1",
|
{ id: "p2", name: "Golden Fries", price: "$2.99", imageSrc: "http://img.b2bpic.net/free-photo/still-life-fast-food-dishes_23-2149187941.jpg" },
|
||||||
name: "Crispy Chicken",
|
{ id: "p3", name: "Strawberry Soda", price: "$1.99", imageSrc: "http://img.b2bpic.net/free-photo/cold-strawberry-cocktail-with-mint_23-2148196127.jpg" },
|
||||||
price: "$6.99",
|
{ id: "p4", name: "Classic Cheeseburger", price: "$5.99", imageSrc: "http://img.b2bpic.net/free-photo/juicy-chicken-burger-with-fresh-lettuce-crispy-french-fries-wooden-board_181624-50895.jpg" },
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-cheesy-meat-burger-with-seasonings-dark-floor-bun-sandwich-fast-food_140725-82157.jpg",
|
{ id: "p5", name: "Spicy Nuggets", price: "$4.99", imageSrc: "http://img.b2bpic.net/free-photo/arrangement-with-plastic-fries-blue-background_23-2148314151.jpg" },
|
||||||
},
|
{ id: "p6", name: "Vanilla Shake", price: "$3.99", imageSrc: "http://img.b2bpic.net/free-photo/glass-aperol-spritz-delicious-summer-cocktail_185193-108784.jpg" },
|
||||||
{
|
|
||||||
id: "p2",
|
|
||||||
name: "Golden Fries",
|
|
||||||
price: "$2.99",
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/still-life-fast-food-dishes_23-2149187941.jpg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "p3",
|
|
||||||
name: "Strawberry Soda",
|
|
||||||
price: "$1.99",
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/cold-strawberry-cocktail-with-mint_23-2148196127.jpg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "p4",
|
|
||||||
name: "Classic Cheeseburger",
|
|
||||||
price: "$5.99",
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/juicy-chicken-burger-with-fresh-lettuce-crispy-french-fries-wooden-board_181624-50895.jpg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "p5",
|
|
||||||
name: "Spicy Nuggets",
|
|
||||||
price: "$4.99",
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/arrangement-with-plastic-fries-blue-background_23-2148314151.jpg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "p6",
|
|
||||||
name: "Vanilla Shake",
|
|
||||||
price: "$3.99",
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/glass-aperol-spritz-delicious-summer-cocktail_185193-108784.jpg",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
title="Top Picks"
|
title="Top Picks"
|
||||||
description="Fan favorites you can't live without."
|
description="Fan favorites you can't live without."
|
||||||
@@ -151,29 +93,13 @@ export default function LandingPage() {
|
|||||||
<InlineImageSplitTextAbout
|
<InlineImageSplitTextAbout
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
heading={[
|
heading={[
|
||||||
{
|
{ type: "text", content: "Get the " },
|
||||||
type: "text",
|
{ type: "image", src: "http://img.b2bpic.net/free-photo/woman-looking-different-goodies-her-shopping-list-smartphone_23-2149110874.jpg", alt: "App Promo" },
|
||||||
content: "Get the ",
|
{ type: "text", content: " FastBite App." },
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "image",
|
|
||||||
src: "http://img.b2bpic.net/free-photo/woman-looking-different-goodies-her-shopping-list-smartphone_23-2149110874.jpg",
|
|
||||||
alt: "App Promo",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "text",
|
|
||||||
content: " FastBite App.",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{ text: "Download iOS", href: "#" },
|
||||||
text: "Download iOS",
|
{ text: "Download Android", href: "#" },
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: "Download Android",
|
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -185,46 +111,11 @@ export default function LandingPage() {
|
|||||||
gridVariant="three-columns-all-equal-width"
|
gridVariant="three-columns-all-equal-width"
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
testimonials={[
|
testimonials={[
|
||||||
{
|
{ id: "t1", name: "Alice M.", role: "Student", company: "University", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/young-caucasian-woman-eating-tasty-classic-burger-angry-mad-screaming-frustrated-furious-shouting-with-anger-looking-up_839833-29909.jpg" },
|
||||||
id: "t1",
|
{ id: "t2", name: "Bob R.", role: "Chef", company: "Bistro", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-friends-table-with-burgers_23-2148705534.jpg" },
|
||||||
name: "Alice M.",
|
{ id: "t3", name: "Charlie D.", role: "Driver", company: "Transit", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/photo-hungry-curly-woman-eats-hot-dog-burger-keeps-mouth-widely-opened-prefers-fast-food-wears-white-formal-shirt-tie-isolated-pink-background-blank-space-your-advertisement_273609-62442.jpg" },
|
||||||
role: "Student",
|
{ id: "t4", name: "Diana P.", role: "Parent", company: "Home", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-friends-eating-funny-way_23-2150269632.jpg" },
|
||||||
company: "University",
|
{ id: "t5", name: "Ethan W.", role: "Dev", company: "Tech", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/young-woman-eating-burger-fast-food-cheat-meal-woman-burger-restaurant_169016-67452.jpg" },
|
||||||
rating: 5,
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/young-caucasian-woman-eating-tasty-classic-burger-angry-mad-screaming-frustrated-furious-shouting-with-anger-looking-up_839833-29909.jpg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "t2",
|
|
||||||
name: "Bob R.",
|
|
||||||
role: "Chef",
|
|
||||||
company: "Bistro",
|
|
||||||
rating: 5,
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-friends-table-with-burgers_23-2148705534.jpg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "t3",
|
|
||||||
name: "Charlie D.",
|
|
||||||
role: "Driver",
|
|
||||||
company: "Transit",
|
|
||||||
rating: 5,
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/photo-hungry-curly-woman-eats-hot-dog-burger-keeps-mouth-widely-opened-prefers-fast-food-wears-white-formal-shirt-tie-isolated-pink-background-blank-space-your-advertisement_273609-62442.jpg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "t4",
|
|
||||||
name: "Diana P.",
|
|
||||||
role: "Parent",
|
|
||||||
company: "Home",
|
|
||||||
rating: 5,
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-friends-eating-funny-way_23-2150269632.jpg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "t5",
|
|
||||||
name: "Ethan W.",
|
|
||||||
role: "Dev",
|
|
||||||
company: "Tech",
|
|
||||||
rating: 5,
|
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-eating-burger-fast-food-cheat-meal-woman-burger-restaurant_169016-67452.jpg",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
title="Loved by Foodies"
|
title="Loved by Foodies"
|
||||||
description="What our hungry customers say."
|
description="What our hungry customers say."
|
||||||
@@ -236,21 +127,9 @@ export default function LandingPage() {
|
|||||||
textboxLayout="split"
|
textboxLayout="split"
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
faqs={[
|
faqs={[
|
||||||
{
|
{ id: "f1", title: "How long for delivery?", content: "Usually under 30 minutes." },
|
||||||
id: "f1",
|
{ id: "f2", title: "Is it fresh?", content: "Always, we source locally." },
|
||||||
title: "How long for delivery?",
|
{ id: "f3", title: "Can I pre-order?", content: "Yes, via the mobile app." },
|
||||||
content: "Usually under 30 minutes.",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "f2",
|
|
||||||
title: "Is it fresh?",
|
|
||||||
content: "Always, we source locally.",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "f3",
|
|
||||||
title: "Can I pre-order?",
|
|
||||||
content: "Yes, via the mobile app.",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
mediaAnimation="slide-up"
|
mediaAnimation="slide-up"
|
||||||
title="Need Help?"
|
title="Need Help?"
|
||||||
@@ -266,57 +145,23 @@ export default function LandingPage() {
|
|||||||
title="Get In Touch"
|
title="Get In Touch"
|
||||||
description="Feedback, support, or franchise inquiries."
|
description="Feedback, support, or franchise inquiries."
|
||||||
inputs={[
|
inputs={[
|
||||||
{
|
{ name: "name", type: "text", placeholder: "Name" },
|
||||||
name: "name",
|
{ name: "email", type: "email", placeholder: "Email" },
|
||||||
type: "text",
|
|
||||||
placeholder: "Name",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "email",
|
|
||||||
type: "email",
|
|
||||||
placeholder: "Email",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
textarea={{
|
textarea={{ name: "message", placeholder: "Your message" }}
|
||||||
name: "message",
|
|
||||||
placeholder: "Your message",
|
|
||||||
}}
|
|
||||||
imageSrc="http://img.b2bpic.net/free-photo/woman-eating-hamburger-restaurant_23-2148006725.jpg"
|
imageSrc="http://img.b2bpic.net/free-photo/woman-eating-hamburger-restaurant_23-2148006725.jpg"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer" data-section="footer">
|
<div id="footer" data-section="footer">
|
||||||
<FooterSimple
|
<FooterCard
|
||||||
columns={[
|
logoText="FastBite"
|
||||||
{
|
copyrightText="© 2025 | FastBite"
|
||||||
title: "Support",
|
socialLinks={[
|
||||||
items: [
|
{ icon: Instagram, href: "#", ariaLabel: "Instagram" },
|
||||||
{
|
{ icon: Twitter, href: "#", ariaLabel: "Twitter" },
|
||||||
label: "FAQ",
|
{ icon: Facebook, href: "#", ariaLabel: "Facebook" }
|
||||||
href: "#faq",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Contact",
|
|
||||||
href: "#contact",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Brand",
|
|
||||||
items: [
|
|
||||||
{
|
|
||||||
label: "About Us",
|
|
||||||
href: "#about",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Careers",
|
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
bottomLeftText="© 2024 FastBite Brand."
|
|
||||||
bottomRightText="Privacy Policy"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
|
|||||||
64
src/app/privacy-policy/page.tsx
Normal file
64
src/app/privacy-policy/page.tsx
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
|
import ReactLenis from "lenis/react";
|
||||||
|
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||||
|
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||||
|
import LegalSection from '@/components/legal/LegalSection';
|
||||||
|
|
||||||
|
export default function PrivacyPolicyPage() {
|
||||||
|
return (
|
||||||
|
<ThemeProvider
|
||||||
|
defaultButtonVariant="hover-bubble"
|
||||||
|
defaultTextAnimation="entrance-slide"
|
||||||
|
borderRadius="pill"
|
||||||
|
contentWidth="mediumLarge"
|
||||||
|
sizing="mediumSizeLargeTitles"
|
||||||
|
background="noiseDiagonalGradient"
|
||||||
|
cardStyle="gradient-radial"
|
||||||
|
primaryButtonStyle="diagonal-gradient"
|
||||||
|
secondaryButtonStyle="layered"
|
||||||
|
headingFontWeight="normal"
|
||||||
|
>
|
||||||
|
<ReactLenis root>
|
||||||
|
<NavbarLayoutFloatingOverlay
|
||||||
|
navItems={[
|
||||||
|
{ name: "Menu", id: "/#menu" },
|
||||||
|
{ name: "Deals", id: "/#deals" },
|
||||||
|
{ name: "Locations", id: "/#locations" },
|
||||||
|
{ name: "App", id: "/#app" },
|
||||||
|
{ name: "Privacy Policy", id: "/privacy-policy" }
|
||||||
|
]}
|
||||||
|
brandName="FastBite"
|
||||||
|
/>
|
||||||
|
<LegalSection
|
||||||
|
layout="page"
|
||||||
|
title="Privacy Policy"
|
||||||
|
subtitle="Last updated: May 2024"
|
||||||
|
sections={[
|
||||||
|
{
|
||||||
|
heading: "Information We Collect",
|
||||||
|
content: { type: "paragraph", text: "We collect information you provide directly to us, including your name, email address, phone number, and delivery address when you place an order." }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
heading: "How We Use Your Data",
|
||||||
|
content: { type: "list", items: ["To process and deliver your orders", "To communicate about your order status", "To send you promotional offers and updates", "To improve our service and platform"] }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
heading: "Your Rights",
|
||||||
|
content: { type: "list", items: ["The right to access your personal data", "The right to request correction of your data", "The right to request deletion of your data"] }
|
||||||
|
}
|
||||||
|
]}
|
||||||
|
/>
|
||||||
|
<FooterSimple
|
||||||
|
columns={[
|
||||||
|
{ title: "Support", items: [{ label: "FAQ", href: "/#faq" }, { label: "Contact", href: "/#contact" }] },
|
||||||
|
{ title: "Brand", items: [{ label: "About Us", href: "/#about" }, { label: "Careers", href: "#" }] },
|
||||||
|
]}
|
||||||
|
bottomLeftText="© 2024 FastBite Brand."
|
||||||
|
bottomRightText="Privacy Policy"
|
||||||
|
/>
|
||||||
|
</ReactLenis>
|
||||||
|
</ThemeProvider>
|
||||||
|
);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user