Merge version_3 into main #2
127
src/app/page.tsx
127
src/app/page.tsx
@@ -2,16 +2,18 @@
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
||||
import FeatureCardTwentyNine from '@/components/sections/feature/featureCardTwentyNine/FeatureCardTwentyNine';
|
||||
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
||||
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
|
||||
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
|
||||
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
|
||||
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
|
||||
import dynamic from "next/dynamic";
|
||||
|
||||
const ContactSplit = dynamic(() => import('@/components/sections/contact/ContactSplit'), { ssr: true });
|
||||
const FaqSplitMedia = dynamic(() => import('@/components/sections/faq/FaqSplitMedia'), { ssr: true });
|
||||
const FeatureCardTwentyNine = dynamic(() => import('@/components/sections/feature/featureCardTwentyNine/FeatureCardTwentyNine'), { ssr: true });
|
||||
const FooterLogoReveal = dynamic(() => import('@/components/sections/footer/FooterLogoReveal'), { ssr: true });
|
||||
const HeroCarouselLogo = dynamic(() => import('@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo'), { ssr: true });
|
||||
const MetricCardFourteen = dynamic(() => import('@/components/sections/metrics/MetricCardFourteen'), { ssr: true });
|
||||
const NavbarStyleCentered = dynamic(() => import('@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'), { ssr: true });
|
||||
const ProductCardTwo = dynamic(() => import('@/components/sections/product/ProductCardTwo'), { ssr: true });
|
||||
const TestimonialCardThirteen = dynamic(() => import('@/components/sections/testimonial/TestimonialCardThirteen'), { ssr: true });
|
||||
const TextSplitAbout = dynamic(() => import('@/components/sections/about/TextSplitAbout'), { ssr: true });
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -31,14 +33,10 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{
|
||||
name: "Home", id: "hero"},
|
||||
{
|
||||
name: "About", id: "about"},
|
||||
{
|
||||
name: "Products", id: "products"},
|
||||
{
|
||||
name: "Contact", id: "contact"},
|
||||
{ name: "Home", id: "hero" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Products", id: "products" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
]}
|
||||
brandName="Shanti Sweets"
|
||||
/>
|
||||
@@ -49,24 +47,13 @@ export default function LandingPage() {
|
||||
logoText="Shanti Sweets"
|
||||
description="Experience the authentic flavors of tradition. Handcrafted Indian sweets made with love and purity, passed down through generations."
|
||||
buttons={[
|
||||
{
|
||||
text: "View Menu", href: "#products"},
|
||||
{
|
||||
text: "Visit Us", href: "#contact"},
|
||||
{ text: "View Menu", href: "#products" },
|
||||
{ text: "Visit Us", href: "#contact" },
|
||||
]}
|
||||
slides={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-sweets-arrangement_23-2149192019.jpg", imageAlt: "Sweet display"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/lohri-celebration-india_23-2151099126.jpg", imageAlt: "Sweet display"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/small-piles-various-popcorn-candy-flavors-stacked-serving-plate-blue-background-high-quality-photo_114579-77705.jpg", imageAlt: "Sweet display"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-colorful-candies-dark-space_140725-95045.jpg", imageAlt: "Sweet display"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cookies-roll-cake-board-blue-table_114579-82875.jpg", imageAlt: "Sweet display"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/delicious-street-food-fest_23-2151543759.jpg", imageAlt: "Sweet display"},
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-sweets-arrangement_23-2149192019.jpg?w=1200", imageAlt: "Sweet display" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/lohri-celebration-india_23-2151099126.jpg?w=1200", imageAlt: "Sweet display" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/small-piles-various-popcorn-candy-flavors-stacked-serving-plate-blue-background-high-quality-photo_114579-77705.jpg?w=1200", imageAlt: "Sweet display" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -76,7 +63,8 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
title="A Legacy of Sweetness"
|
||||
description={[
|
||||
"For over 50 years, Shanti Sweets has been serving the finest traditional Indian delicacies. Every recipe is a cherished family secret.", "We pride ourselves on using only the freshest, high-quality ingredients, ensuring that every bite captures the essence of home-made goodness."]}
|
||||
"For over 50 years, Shanti Sweets has been serving the finest traditional Indian delicacies. Every recipe is a cherished family secret.", "We pride ourselves on using only the freshest, high-quality ingredients, ensuring that every bite captures the essence of home-made goodness."
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -87,12 +75,9 @@ export default function LandingPage() {
|
||||
gridVariant="asymmetric-60-wide-40-narrow"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
title: "Pure Ingredients", description: "We source only the best dairy and dry fruits.", imageSrc: "http://img.b2bpic.net/free-photo/process-making-cheesecakes-cottage-cheese-fritter_169016-46629.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/muffins-cooling-rack_23-2147906752.jpg", buttonText: "Read More"},
|
||||
{
|
||||
title: "Handcrafted", description: "Every sweet is shaped with artisan care.", imageSrc: "http://img.b2bpic.net/free-photo/spring-marketing-sales_23-2151949780.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/flat-lay-cakes-chocolate-desserts-with-pine-cinnamon_23-2148368316.jpg", buttonText: "Read More"},
|
||||
{
|
||||
title: "Tradition", description: "Authentic recipes from our ancestors.", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-women-cooking-ramadan_23-2150234183.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/carpets-market-marrakech_23-2148129808.jpg", buttonText: "Read More"},
|
||||
{ title: "Pure Ingredients", description: "We source only the best dairy and dry fruits.", imageSrc: "http://img.b2bpic.net/free-photo/process-making-cheesecakes-cottage-cheese-fritter_169016-46629.jpg?w=600", titleImageSrc: "http://img.b2bpic.net/free-photo/muffins-cooling-rack_23-2147906752.jpg?w=200", buttonText: "Read More" },
|
||||
{ title: "Handcrafted", description: "Every sweet is shaped with artisan care.", imageSrc: "http://img.b2bpic.net/free-photo/spring-marketing-sales_23-2151949780.jpg?w=600", titleImageSrc: "http://img.b2bpic.net/free-photo/flat-lay-cakes-chocolate-desserts-with-pine-cinnamon_23-2148368316.jpg?w=200", buttonText: "Read More" },
|
||||
{ title: "Tradition", description: "Authentic recipes from our ancestors.", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-women-cooking-ramadan_23-2150234183.jpg?w=600", titleImageSrc: "http://img.b2bpic.net/free-photo/carpets-market-marrakech_23-2148129808.jpg?w=200", buttonText: "Read More" },
|
||||
]}
|
||||
title="Why Choose Us"
|
||||
description="Commitment to excellence and tradition."
|
||||
@@ -106,24 +91,10 @@ export default function LandingPage() {
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "p1", brand: "Signature", name: "Gulab Jamun", price: "₹120/kg", rating: 5,
|
||||
reviewCount: "120", imageSrc: "http://img.b2bpic.net/free-photo/front-view-little-yummy-cakes-with-candies-nuts-grey-space_140725-95316.jpg"},
|
||||
{
|
||||
id: "p2", brand: "Premium", name: "Kaju Katli", price: "₹850/kg", rating: 5,
|
||||
reviewCount: "340", imageSrc: "http://img.b2bpic.net/free-photo/various-pralinen-table_140725-10046.jpg"},
|
||||
{
|
||||
id: "p3", brand: "Classic", name: "Jalebi", price: "₹150/kg", rating: 4,
|
||||
reviewCount: "85", imageSrc: "http://img.b2bpic.net/free-photo/milk-tea-shaved-ice_1339-4014.jpg"},
|
||||
{
|
||||
id: "p4", brand: "Signature", name: "Rasgulla", price: "₹140/kg", rating: 5,
|
||||
reviewCount: "210", imageSrc: "http://img.b2bpic.net/free-photo/top-view-balls-coconut-with-almonds-cherries_140725-14021.jpg"},
|
||||
{
|
||||
id: "p5", brand: "Popular", name: "Barfi", price: "₹400/kg", rating: 5,
|
||||
reviewCount: "150", imageSrc: "http://img.b2bpic.net/free-photo/delicious-dessert-pistachio_23-2149646324.jpg"},
|
||||
{
|
||||
id: "p6", brand: "Traditional", name: "Laddu", price: "₹300/kg", rating: 4,
|
||||
reviewCount: "95", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-sugar-cookies-inside-plate-white-floor-sugar-cookie-sweet-biscuit-cake-tea_140725-77132.jpg"},
|
||||
{ id: "p1", brand: "Signature", name: "Gulab Jamun", price: "₹120/kg", rating: 5, reviewCount: "120", imageSrc: "http://img.b2bpic.net/free-photo/front-view-little-yummy-cakes-with-candies-nuts-grey-space_140725-95316.jpg?w=400" },
|
||||
{ id: "p2", brand: "Premium", name: "Kaju Katli", price: "₹850/kg", rating: 5, reviewCount: "340", imageSrc: "http://img.b2bpic.net/free-photo/various-pralinen-table_140725-10046.jpg?w=400" },
|
||||
{ id: "p3", brand: "Classic", name: "Jalebi", price: "₹150/kg", rating: 4, reviewCount: "85", imageSrc: "http://img.b2bpic.net/free-photo/milk-tea-shaved-ice_1339-4014.jpg?w=400" },
|
||||
{ id: "p4", brand: "Signature", name: "Rasgulla", price: "₹140/kg", rating: 5, reviewCount: "210", imageSrc: "http://img.b2bpic.net/free-photo/top-view-balls-coconut-with-almonds-cherries_140725-14021.jpg?w=400" },
|
||||
]}
|
||||
title="Our Signature Sweets"
|
||||
description="From classic Jalebis to decadent Barfis."
|
||||
@@ -136,12 +107,9 @@ export default function LandingPage() {
|
||||
title="Our Impact"
|
||||
tag="Trusted By Thousands"
|
||||
metrics={[
|
||||
{
|
||||
id: "m1", value: "50+", description: "Years of Tradition"},
|
||||
{
|
||||
id: "m2", value: "10k+", description: "Happy Customers Served"},
|
||||
{
|
||||
id: "m3", value: "100+", description: "Unique Recipes"},
|
||||
{ id: "m1", value: "50+", description: "Years of Tradition" },
|
||||
{ id: "m2", value: "10k+", description: "Happy Customers Served" },
|
||||
{ id: "m3", value: "100+", description: "Unique Recipes" },
|
||||
]}
|
||||
metricsAnimation="slide-up"
|
||||
/>
|
||||
@@ -153,21 +121,8 @@ export default function LandingPage() {
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "t1", name: "Ananya Sharma", handle: "@ananyas", testimonial: "The best Gulab Jamun I've ever had. Truly authentic taste!", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-middle-aged-attractive-woman-showing-thumb-up-outdoors_1262-12526.jpg"},
|
||||
{
|
||||
id: "t2", name: "Rahul Verma", handle: "@rv_cool", testimonial: "My go-to place for every family occasion. Highly recommended.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/girl-red-holding-different-vegetables-fruits-store_627829-9469.jpg"},
|
||||
{
|
||||
id: "t3", name: "Priya Singh", handle: "@priyasingh", testimonial: "Kaju Katli here is just amazing. Perfectly balanced sweetness.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/chocolate-cookie-with-pink-glaze-candies-wooden-board_114579-52021.jpg"},
|
||||
{
|
||||
id: "t4", name: "Vikram Seth", handle: "@vikseth", testimonial: "The tradition and quality are unmatched. A must visit in India.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/two-friends-greet-each-other-after-session-sale-shopping_23-2148673245.jpg"},
|
||||
{
|
||||
id: "t5", name: "Sneha Reddy", handle: "@snehareddy", testimonial: "Absolutely love their laddu. Reminds me of my childhood home.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-friends-eating-fresh-cheese_23-2150267637.jpg"},
|
||||
{ id: "t1", name: "Ananya Sharma", handle: "@ananyas", testimonial: "The best Gulab Jamun I've ever had. Truly authentic taste!", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiling-middle-aged-attractive-woman-showing-thumb-up-outdoors_1262-12526.jpg?w=200" },
|
||||
{ id: "t2", name: "Rahul Verma", handle: "@rv_cool", testimonial: "My go-to place for every family occasion. Highly recommended.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/girl-red-holding-different-vegetables-fruits-store_627829-9469.jpg?w=200" },
|
||||
]}
|
||||
showRating={true}
|
||||
title="Hear From Our Guests"
|
||||
@@ -180,14 +135,10 @@ export default function LandingPage() {
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "f1", title: "Do you deliver?", content: "Yes, we offer local delivery services for all your favorite treats."},
|
||||
{
|
||||
id: "f2", title: "Are your sweets vegetarian?", content: "All our sweets are 100% vegetarian."},
|
||||
{
|
||||
id: "f3", title: "Can I place bulk orders?", content: "Certainly, we specialize in bulk orders for weddings and events."},
|
||||
{ id: "f1", title: "Do you deliver?", content: "Yes, we offer local delivery services for all your favorite treats." },
|
||||
{ id: "f2", title: "Are your sweets vegetarian?", content: "All our sweets are 100% vegetarian." },
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/view-baked-cake-done-by-vegan-bakery_23-2150195097.jpg"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/view-baked-cake-done-by-vegan-bakery_23-2150195097.jpg?w=800"
|
||||
mediaAnimation="slide-up"
|
||||
title="Frequently Asked Questions"
|
||||
description="Have questions about our sweets?"
|
||||
@@ -215,4 +166,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user