diff --git a/src/app/menu/page.tsx b/src/app/menu/page.tsx new file mode 100644 index 0000000..17c275e --- /dev/null +++ b/src/app/menu/page.tsx @@ -0,0 +1,153 @@ +"use client"; + +import Link from "next/link"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; +import FeatureCardNineteen from "@/components/sections/feature/FeatureCardNineteen"; +import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; +import { Menu, MapPin, Clock, Phone } from "lucide-react"; + +export default function MenuPage() { + const navItems = [ + { name: "Home", id: "home" }, + { name: "Menu", id: "menu" }, + { name: "Contact", id: "contact" }, + ]; + + const menuCategories = [ + { + id: 1, + tag: "Appetizers", title: "Starters & Bites", subtitle: "Perfect for sharing", description: "Fresh handcrafted appetizers to kick off your meal. From crispy bruschetta to artisan cheese boards, each bite is made with premium ingredients and authentic recipes.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-vibrant-collage-of-authentic-user-gene-1773787782155-a937a412.png", imageAlt: "Appetizers and starters", buttons: [ + { text: "View Details", href: "#appetizers" }, + ], + }, + { + id: 2, + tag: "Main Courses", title: "Signature Dishes", subtitle: "Chef's specialties", description: "Our bestselling main courses prepared fresh to order. From succulent steaks to perfectly prepared seafood, each dish showcases our culinary excellence and commitment to quality.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-warm-inviting-restaurant-environment-s-1773787782695-76591905.png", imageAlt: "Main courses", buttons: [ + { text: "View Details", href: "#mains" }, + ], + }, + { + id: 3, + tag: "Desserts", title: "Sweet Endings", subtitle: "Crafted confections", description: "Indulge in our decadent desserts made fresh daily. From classic favorites to innovative creations, each dessert is a celebration of flavor and artistry.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-split-screen-showing-the-before-and-af-1773787783817-cf650179.png", imageAlt: "Desserts", buttons: [ + { text: "View Details", href: "#desserts" }, + ], + }, + { + id: 4, + tag: "Beverages", title: "Drinks & Refreshments", subtitle: "Premium selections", description: "Curated drinks from craft cocktails and premium wines to fresh juices and specialty coffee. Each beverage is thoughtfully selected to complement your meal.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-gamified-rewards-dashboard-showing-a-c-1773787782724-e3baaa49.png", imageAlt: "Beverages", buttons: [ + { text: "View Details", href: "#beverages" }, + ], + }, + ]; + + return ( + + + +
+
+
+

+ Our Digital Menu +

+

+ Explore our carefully crafted offerings +

+
+
+ + 123 Main Street +
+
+ + Open 11AM - 10PM +
+
+ + (555) 123-4567 +
+
+
+
+
+ + + +
+
+
+

+ Loyalty Rewards Program +

+

+ Every visit earns you points! Submit your dining experience photos and videos using our QR code to collect rewards and unlock exclusive benefits. +

+
+
+

Earn Points

+

1 point per dollar spent + bonus points for submissions

+
+
+

Redeem Rewards

+

Free meals, discounts, and exclusive member perks

+
+
+

Share & Earn

+

Extra points when your content is featured

+
+
+
+
+
+ + +
+ ); +} \ No newline at end of file diff --git a/src/app/page.tsx b/src/app/page.tsx index 93c57f0..1799c11 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -11,15 +11,98 @@ import TestimonialCardThirteen from "@/components/sections/testimonial/Testimoni import FaqDouble from "@/components/sections/faq/FaqDouble"; import SocialProofOne from "@/components/sections/socialProof/SocialProofOne"; import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; -import { Sparkles, Target, Zap, TrendingUp, Heart, DollarSign, Award, MessageCircle, HelpCircle, Users, BarChart3 } from "lucide-react"; +import { Sparkles, Target, Zap, TrendingUp, Heart, DollarSign, Award, MessageCircle, HelpCircle, Users, BarChart3, Zap as Login, Gift, Star, Trophy } from "lucide-react"; +import { useState, useEffect } from "react"; export default function HomePage() { + const [isLoggedIn, setIsLoggedIn] = useState(false); + const [userPoints, setUserPoints] = useState(0); + const [showRewardsPanel, setShowRewardsPanel] = useState(false); + + // Initialize user session from localStorage + useEffect(() => { + const savedUser = localStorage.getItem("scaleUserData"); + if (savedUser) { + try { + const userData = JSON.parse(savedUser); + setIsLoggedIn(true); + setUserPoints(userData.points || 0); + } catch (e) { + console.log("Error loading user data"); + } + } + }, []); + + // Reward tiers + const rewardTiers = [ + { + id: 1, + name: "Bronze Member", pointsRequired: 0, + rewards: ["Free appetizer"], + icon: "🥉"}, + { + id: 2, + name: "Silver Member", pointsRequired: 100, + rewards: ["Free main course", "10% discount"], + icon: "🥈"}, + { + id: 3, + name: "Gold Member", pointsRequired: 250, + rewards: ["Free dessert", "15% discount", "Priority support"], + icon: "🥇"}, + { + id: 4, + name: "Platinum Member", pointsRequired: 500, + rewards: ["Free month of service", "20% discount", "VIP events", "Exclusive perks"], + icon: "💎"}, + ]; + + const handleLogin = () => { + const userData = { + id: Math.random().toString(36).substr(2, 9), + points: 50, + joinedDate: new Date().toISOString(), + }; + localStorage.setItem("scaleUserData", JSON.stringify(userData)); + setIsLoggedIn(true); + setUserPoints(userData.points); + }; + + const handleVideoSubmit = () => { + const savedUser = localStorage.getItem("scaleUserData"); + if (savedUser) { + const userData = JSON.parse(savedUser); + userData.points = (userData.points || 0) + 25; + localStorage.setItem("scaleUserData", JSON.stringify(userData)); + setUserPoints(userData.points); + } + }; + + const handleFrequentVisit = () => { + const savedUser = localStorage.getItem("scaleUserData"); + if (savedUser) { + const userData = JSON.parse(savedUser); + userData.points = (userData.points || 0) + 10; + localStorage.setItem("scaleUserData", JSON.stringify(userData)); + setUserPoints(userData.points); + } + }; + + const getCurrentTier = () => { + return rewardTiers.reduce((tier, current) => { + if (userPoints >= current.pointsRequired) { + return current; + } + return tier; + }, rewardTiers[0]); + }; + const navItems = [ { name: "Home", id: "home" }, { name: "How It Works", id: "how-it-works" }, { name: "Features", id: "features" }, { name: "For Brands", id: "for-brands" }, - { name: "Pricing", id: "pricing" }, + { name: "Rewards", id: "rewards" }, { name: "Contact", id: "contact" }, ]; @@ -40,11 +123,68 @@ export default function HomePage() { + {isLoggedIn && ( +
+
+

Your Rewards

+ +
+
+

{userPoints}

+

Total Points

+
+
+

+ {getCurrentTier().icon} {getCurrentTier().name} +

+
+
+
+
+
+ {getCurrentTier().rewards.map((reward, idx) => ( +
✓ {reward}
+ ))} +
+ +
+ )} + + {!isLoggedIn && ( +
+

Join now to earn rewards

+ +
+ )} +
@@ -105,9 +228,7 @@ export default function HomePage() { title="Bridging Authenticity and Scalability" buttons={[ { - text: "Learn More", - href: "/how-it-works", - }, + text: "Learn More", href: "#how-it-works"}, ]} buttonAnimation="opacity" useInvertedBackground={true} @@ -127,51 +248,25 @@ export default function HomePage() { features={[ { id: 1, - tag: "Collection", - title: "Smart QR Integration", - subtitle: "Seamless customer participation", - description: "Customers scan QR codes at point-of-sale to access digital menus and submit content. Optional login creates loyalty profiles while maintaining accessibility for all visitors.", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-mobile-phone-screen-showing-a-customer-1773787783282-5029cdce.png?_wi=2", - imageAlt: "QR code scanning interface", - buttons: [], + tag: "Collection", title: "Smart QR Integration", subtitle: "Seamless customer participation", description: "Customers scan QR codes at point-of-sale to access digital menus and submit content. Optional login creates loyalty profiles while maintaining accessibility for all visitors.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-mobile-phone-screen-showing-a-customer-1773787783282-5029cdce.png?_wi=2", imageAlt: "QR code scanning interface", buttons: [], }, { id: 2, - tag: "Rewards", - title: "Points-Based Loyalty System", - subtitle: "Incentivize ongoing engagement", - description: "Customers earn points for every submission and return visit. Accumulated points unlock rewards like free desserts, exclusive offers, and partner benefits—driving repeat business and continuous content flow.", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-gamified-rewards-dashboard-showing-a-c-1773787782724-e3baaa49.png?_wi=2", - imageAlt: "Rewards and points dashboard", - buttons: [], + tag: "Rewards", title: "Points-Based Loyalty System", subtitle: "Incentivize ongoing engagement", description: "Customers earn points for every submission and return visit. Accumulated points unlock rewards like free desserts, exclusive offers, and partner benefits—driving repeat business and continuous content flow.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-gamified-rewards-dashboard-showing-a-c-1773787782724-e3baaa49.png?_wi=2", imageAlt: "Rewards and points dashboard", buttons: [], }, { id: 3, - tag: "Enhancement", - title: "AI-Powered Content Optimization", - subtitle: "Professional quality, instantly", - description: "Our AI automatically enhances customer submissions—optimizing lighting, sound, colors, and composition. Transform raw videos and photos into broadcast-ready marketing assets without manual editing.", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-split-screen-showing-the-before-and-af-1773787783817-cf650179.png?_wi=2", - imageAlt: "AI content enhancement interface", - buttons: [], + tag: "Enhancement", title: "AI-Powered Content Optimization", subtitle: "Professional quality, instantly", description: "Our AI automatically enhances customer submissions—optimizing lighting, sound, colors, and composition. Transform raw videos and photos into broadcast-ready marketing assets without manual editing.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-split-screen-showing-the-before-and-af-1773787783817-cf650179.png?_wi=2", imageAlt: "AI content enhancement interface", buttons: [], }, { id: 4, - tag: "Distribution", - title: "Multi-Channel Publishing", - subtitle: "Amplify across all platforms", - description: "Automatically distribute polished content to social media, email campaigns, websites, and advertising platforms. One submission, infinite reach—maximizing ROI on every customer story.", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-content-distribution-dashboard-showing-1773787782906-2f473b05.png?_wi=2", - imageAlt: "Content distribution dashboard", - buttons: [], + tag: "Distribution", title: "Multi-Channel Publishing", subtitle: "Amplify across all platforms", description: "Automatically distribute polished content to social media, email campaigns, websites, and advertising platforms. One submission, infinite reach—maximizing ROI on every customer story.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-content-distribution-dashboard-showing-1773787782906-2f473b05.png?_wi=2", imageAlt: "Content distribution dashboard", buttons: [], }, ]} buttonAnimation="opacity" buttons={[ { - text: "Explore All Features", - href: "#contact", - }, + text: "Explore All Features", href: "#contact"}, ]} ariaLabel="Scale Social core features and capabilities" /> @@ -188,32 +283,16 @@ export default function HomePage() { useInvertedBackground={true} metrics={[ { - id: "1", - value: "5x", - title: "More Content", - description: "Average increase in monthly marketing content volume", - icon: BarChart3, + id: "1", value: "5x", title: "More Content", description: "Average increase in monthly marketing content volume", icon: BarChart3, }, { - id: "2", - value: "3x", - title: "Higher Engagement", - description: "User-generated content attracts more interactions than branded content", - icon: Heart, + id: "2", value: "3x", title: "Higher Engagement", description: "User-generated content attracts more interactions than branded content", icon: Heart, }, { - id: "3", - value: "40%", - title: "Cost Reduction", - description: "Lower content creation costs compared to traditional production", - icon: DollarSign, + id: "3", value: "40%", title: "Cost Reduction", description: "Lower content creation costs compared to traditional production", icon: DollarSign, }, { - id: "4", - value: "90%", - title: "Customer Loyalty", - description: "Customers participating in rewards earn higher lifetime value", - icon: Award, + id: "4", value: "90%", title: "Customer Loyalty", description: "Customers participating in rewards earn higher lifetime value", icon: Award, }, ]} gridVariant="uniform-all-items-equal" @@ -224,6 +303,96 @@ export default function HomePage() { />
+
+
+
+

Rewards Tiers

+

+ Earn points and unlock exclusive rewards as you engage with our platform +

+ {isLoggedIn && ( +
+

+ Current Tier: {getCurrentTier().name} +

+
+ )} +
+ +
+ {rewardTiers.map((tier) => ( +
+
{tier.icon}
+

{tier.name}

+

{tier.pointsRequired}+ Points

+
+ {tier.rewards.map((reward, idx) => ( +

✓ {reward}

+ ))} +
+
+ ))} +
+ +
+
+ +

Submit a Video

+

Earn 25 points for each video submission

+ {isLoggedIn && ( + + )} +
+ +
+ +

Frequent Visits

+

Earn 10 points for each visit to a partner location

+ {isLoggedIn && ( + + )} +
+ +
+ +

Leaderboard

+

Top contributors earn exclusive monthly prizes

+ {isLoggedIn && ( + + )} +
+
+ + {!isLoggedIn && ( +
+

Ready to start earning rewards?

+

Sign in to begin submitting content and tracking your points

+ +
+ )} +
+
+
@@ -296,42 +439,22 @@ export default function HomePage() { faqsAnimation="slide-up" faqs={[ { - id: "1", - title: "How do customers participate in Scale Social?", - content: "Customers simply scan a QR code at a partner location (like a restaurant). They can access the menu without logging in, or optionally create an account to participate in the content submission and rewards program. It's completely voluntary and non-intrusive.", - }, + id: "1", title: "How do customers participate in Scale Social?", content: "Customers simply scan a QR code at a partner location (like a restaurant). They can access the menu without logging in, or optionally create an account to participate in the content submission and rewards program. It's completely voluntary and non-intrusive."}, { - id: "2", - title: "How are customers rewarded for their content?", - content: "Customers earn points each time they submit content or return to the same business. These points accumulate and can be redeemed for tangible rewards like free desserts, exclusive offers, discounts, or partner perks. The more engaged they are, the more they earn.", - }, + id: "2", title: "How are customers rewarded for their content?", content: "Customers earn points each time they submit content or return to the same business. These points accumulate and can be redeemed for tangible rewards like free desserts, exclusive offers, discounts, or partner perks. The more engaged they are, the more they earn."}, { - id: "3", - title: "How does the AI enhancement work?", - content: "Our AI analyzes each customer submission and automatically optimizes it—adjusting lighting, color grading, sound quality, and composition to professional standards. The process takes seconds and requires no manual intervention. You get broadcast-ready content instantly.", - }, + id: "3", title: "How does the AI enhancement work?", content: "Our AI analyzes each customer submission and automatically optimizes it—adjusting lighting, color grading, sound quality, and composition to professional standards. The process takes seconds and requires no manual intervention. You get broadcast-ready content instantly."}, { - id: "4", - title: "Can businesses use their existing social media accounts?", - content: "Yes! Scale Social integrates with major social platforms like Instagram, Facebook, TikTok, and LinkedIn. You can connect your existing accounts, and our platform automatically publishes optimized content on your schedule.", - }, + id: "4", title: "Can businesses use their existing social media accounts?", content: "Yes! Scale Social integrates with major social platforms like Instagram, Facebook, TikTok, and LinkedIn. You can connect your existing accounts, and our platform automatically publishes optimized content on your schedule."}, { - id: "5", - title: "Is customer data secure and private?", - content: "Absolutely. We comply with all data protection regulations including GDPR and CCPA. Customer content is only used with explicit permission, and all data is encrypted and securely stored. Customers maintain full control over their submissions.", - }, + id: "5", title: "Is customer data secure and private?", content: "Absolutely. We comply with all data protection regulations including GDPR and CCPA. Customer content is only used with explicit permission, and all data is encrypted and securely stored. Customers maintain full control over their submissions."}, { - id: "6", - title: "What happens if we want to stop using Scale Social?", - content: "You can cancel anytime with no long-term contracts. All your customer content remains accessible for download. We make it easy to transition while maintaining your customer relationships and loyalty history.", - }, + id: "6", title: "What happens if we want to stop using Scale Social?", content: "You can cancel anytime with no long-term contracts. All your customer content remains accessible for download. We make it easy to transition while maintaining your customer relationships and loyalty history."}, ]} buttonAnimation="opacity" buttons={[ { - text: "Still have questions?", - href: "#contact", - }, + text: "Still have questions?", href: "#contact"}, ]} ariaLabel="Frequently asked questions about Scale Social" /> @@ -348,22 +471,13 @@ export default function HomePage() { useInvertedBackground={false} names={[]} logos={[ - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-modern-minimalist-restaurant-brand-log-1773787780768-28ac6ff1.png", - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-professional-hospitality-or-tourism-br-1773787782141-4cc679cd.png", - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-food-and-beverage-brand-logo-with-mode-1773787781729-a2f848e7.png", - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-customer-engagement-or-loyalty-program-1773787783262-96780ae1.png", - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-digital-marketing-or-content-creation--1773787781830-1fd654d4.png", - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-social-media-or-community-focused-bran-1773787781981-7c11975a.png", - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-technology-or-ai-focused-brand-logo-re-1773787782799-55265bf1.png", - ]} + "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-modern-minimalist-restaurant-brand-log-1773787780768-28ac6ff1.png", "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-professional-hospitality-or-tourism-br-1773787782141-4cc679cd.png", "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-food-and-beverage-brand-logo-with-mode-1773787781729-a2f848e7.png", "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-customer-engagement-or-loyalty-program-1773787783262-96780ae1.png", "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-digital-marketing-or-content-creation--1773787781830-1fd654d4.png", "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-social-media-or-community-focused-bran-1773787781981-7c11975a.png", "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B5nFw8RqotNHgAYizCWg1FWKB6/a-technology-or-ai-focused-brand-logo-re-1773787782799-55265bf1.png"]} speed={40} showCard={true} buttonAnimation="opacity" buttons={[ { - text: "Become a Partner", - href: "#contact", - }, + text: "Become a Partner", href: "#contact"}, ]} ariaLabel="Partner brands and companies using Scale Social" /> @@ -373,13 +487,9 @@ export default function HomePage() {