Merge version_2 into main
Merge version_2 into main
This commit was merged in pull request #2.
This commit is contained in:
105
src/app/page.tsx
105
src/app/page.tsx
@@ -3,7 +3,7 @@
|
||||
import Link from "next/link";
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
|
||||
import HeroBillboard from "@/components/sections/hero/HeroBillboard";
|
||||
import HeroBillboardCarousel from "@/components/sections/hero/HeroBillboardCarousel";
|
||||
import TextSplitAbout from "@/components/sections/about/TextSplitAbout";
|
||||
import FeatureCardNine from "@/components/sections/feature/FeatureCardNine";
|
||||
import ProductCardFour from "@/components/sections/product/ProductCardFour";
|
||||
@@ -24,8 +24,7 @@ export default function HomePage() {
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Shop",
|
||||
items: [
|
||||
title: "Shop", items: [
|
||||
{ label: "Cakes & Pastries", href: "/shop?category=cakes" },
|
||||
{ label: "Bread & Grains", href: "/shop?category=bread" },
|
||||
{ label: "Cupcakes & Cookies", href: "/shop?category=cupcakes" },
|
||||
@@ -34,8 +33,7 @@ export default function HomePage() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "/about" },
|
||||
{ label: "Custom Orders", href: "/custom-orders" },
|
||||
{ label: "Contact", href: "/contact" },
|
||||
@@ -44,8 +42,7 @@ export default function HomePage() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
title: "Support", items: [
|
||||
{ label: "FAQ", href: "#faq" },
|
||||
{ label: "Shipping Info", href: "#" },
|
||||
{ label: "Returns & Refunds", href: "#" },
|
||||
@@ -54,8 +51,7 @@ export default function HomePage() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Connect",
|
||||
items: [
|
||||
title: "Connect", items: [
|
||||
{ label: "Instagram", href: "https://instagram.com" },
|
||||
{ label: "Facebook", href: "https://facebook.com" },
|
||||
{ label: "Twitter", href: "https://twitter.com" },
|
||||
@@ -67,12 +63,7 @@ export default function HomePage() {
|
||||
|
||||
const handleNavigation = (id: string) => {
|
||||
const navMap: Record<string, string> = {
|
||||
home: "/",
|
||||
shop: "/shop",
|
||||
"custom-orders": "/custom-orders",
|
||||
about: "/about",
|
||||
contact: "/contact",
|
||||
};
|
||||
home: "/", shop: "/shop", "custom-orders": "/custom-orders", about: "/about", contact: "/contact"};
|
||||
const href = navMap[id];
|
||||
if (href && href !== "/") {
|
||||
window.location.href = href;
|
||||
@@ -101,7 +92,7 @@ export default function HomePage() {
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboard
|
||||
<HeroBillboardCarousel
|
||||
title="Welcome to N&H Bakery"
|
||||
description="Indulge in artisan-crafted pastries, freshly baked bread, and exquisite custom cakes made with premium ingredients. Order now and experience the warmth of homemade excellence."
|
||||
tag="Premium Bakery"
|
||||
@@ -113,9 +104,14 @@ export default function HomePage() {
|
||||
{ text: "Custom Orders", href: "/custom-orders" },
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/croissants-with-muffins-coffee_23-2147693696.jpg"
|
||||
imageAlt="N&H Bakery Hero - Artisan Pastries and Baked Goods"
|
||||
mediaAnimation="slide-up"
|
||||
mediaItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/croissants-with-muffins-coffee_23-2147693696.jpg", imageAlt: "N&H Bakery Hero - Artisan Pastries and Baked Goods"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-elegant-cake-topper_23-2149232370.jpg?_wi=1", imageAlt: "N&H Bakery Hero - Elegant Custom Cake"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/delicious-products-arrangement-bakery_23-2150273131.jpg?_wi=1", imageAlt: "N&H Bakery Hero - Artisan Bread Display"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -123,10 +119,7 @@ export default function HomePage() {
|
||||
<TextSplitAbout
|
||||
title="About N&H Bakery"
|
||||
description={[
|
||||
"N&H Bakery was founded with a passion for creating authentic, delicious baked goods that bring joy to every occasion. We use only the finest ingredients sourced from trusted suppliers across Kenya.",
|
||||
"Our expert bakers craft everything fresh daily, from traditional bread loaves to innovative custom cakes. Whether you're celebrating a milestone or simply craving premium pastries, we're here to delight your senses.",
|
||||
"With over 10 years of baking excellence, we've built a reputation for quality, creativity, and exceptional customer service.",
|
||||
]}
|
||||
"N&H Bakery was founded with a passion for creating authentic, delicious baked goods that bring joy to every occasion. We use only the finest ingredients sourced from trusted suppliers across Kenya.", "Our expert bakers craft everything fresh daily, from traditional bread loaves to innovative custom cakes. Whether you're celebrating a milestone or simply craving premium pastries, we're here to delight your senses.", "With over 10 years of baking excellence, we've built a reputation for quality, creativity, and exceptional customer service."]}
|
||||
buttons={[{ text: "View Our Story", href: "/about" }]}
|
||||
buttonAnimation="slide-up"
|
||||
useInvertedBackground={false}
|
||||
@@ -142,40 +135,16 @@ export default function HomePage() {
|
||||
tagAnimation="slide-up"
|
||||
products={[
|
||||
{
|
||||
id: "chocolate-cake",
|
||||
name: "Decadent Chocolate Cake",
|
||||
price: "KSh 2,500",
|
||||
variant: "Serves 6-8",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/female-confectioner-with-chocolate-cake-pastry-shop_23-2150360216.jpg?_wi=1",
|
||||
imageAlt: "Rich chocolate cake with ganache",
|
||||
isFavorited: false,
|
||||
id: "chocolate-cake", name: "Decadent Chocolate Cake", price: "KSh 2,500", variant: "Serves 6-8", imageSrc: "http://img.b2bpic.net/free-photo/female-confectioner-with-chocolate-cake-pastry-shop_23-2150360216.jpg?_wi=1", imageAlt: "Rich chocolate cake with ganache", isFavorited: false,
|
||||
},
|
||||
{
|
||||
id: "croissants",
|
||||
name: "Butter Croissants",
|
||||
price: "KSh 450",
|
||||
variant: "Pack of 3",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-sweets-flowers_23-2149192040.jpg?_wi=1",
|
||||
imageAlt: "Golden flaky croissants",
|
||||
isFavorited: false,
|
||||
id: "croissants", name: "Butter Croissants", price: "KSh 450", variant: "Pack of 3", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-sweets-flowers_23-2149192040.jpg?_wi=1", imageAlt: "Golden flaky croissants", isFavorited: false,
|
||||
},
|
||||
{
|
||||
id: "sourdough",
|
||||
name: "Artisan Sourdough",
|
||||
price: "KSh 650",
|
||||
variant: "1kg loaf",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/slices-fresh-brown-breads-wooden-board_114579-32602.jpg?_wi=1",
|
||||
imageAlt: "Crusty artisan sourdough bread",
|
||||
isFavorited: false,
|
||||
id: "sourdough", name: "Artisan Sourdough", price: "KSh 650", variant: "1kg loaf", imageSrc: "http://img.b2bpic.net/free-photo/slices-fresh-brown-breads-wooden-board_114579-32602.jpg?_wi=1", imageAlt: "Crusty artisan sourdough bread", isFavorited: false,
|
||||
},
|
||||
{
|
||||
id: "cupcakes",
|
||||
name: "Gourmet Cupcakes",
|
||||
price: "KSh 350",
|
||||
variant: "Pack of 4",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/colorful-delicious-cupcakes-with-frosting_23-2149667643.jpg?_wi=1",
|
||||
imageAlt: "Colorful decorated gourmet cupcakes",
|
||||
isFavorited: false,
|
||||
id: "cupcakes", name: "Gourmet Cupcakes", price: "KSh 350", variant: "Pack of 4", imageSrc: "http://img.b2bpic.net/free-photo/colorful-delicious-cupcakes-with-frosting_23-2149667643.jpg?_wi=1", imageAlt: "Colorful decorated gourmet cupcakes", isFavorited: false,
|
||||
},
|
||||
]}
|
||||
gridVariant="bento-grid"
|
||||
@@ -197,23 +166,17 @@ export default function HomePage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "Custom Celebration Cakes",
|
||||
description: "Personalized cakes for birthdays, weddings, and special events. Choose your flavor, design, and let our expert decorators create magic.",
|
||||
phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/beautiful-elegant-cake-topper_23-2149232370.jpg?_wi=1" },
|
||||
title: "Custom Celebration Cakes", description: "Personalized cakes for birthdays, weddings, and special events. Choose your flavor, design, and let our expert decorators create magic.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/beautiful-elegant-cake-topper_23-2149232370.jpg?_wi=1" },
|
||||
phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/children-cook-pasta-gastronomy-master-class_1321-2447.jpg?_wi=1" },
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: "Premium Dessert Boxes",
|
||||
description: "Curated assortments of our finest pastries, chocolates, and treats. Perfect for gifting or indulgent self-care.",
|
||||
phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/top-view-chocolate-candy-with-peanuts-box_141793-11422.jpg?_wi=1" },
|
||||
title: "Premium Dessert Boxes", description: "Curated assortments of our finest pastries, chocolates, and treats. Perfect for gifting or indulgent self-care.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/top-view-chocolate-candy-with-peanuts-box_141793-11422.jpg?_wi=1" },
|
||||
phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/mini-white-bread-wooden-board_114579-45757.jpg?_wi=1" },
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: "Artisan Bread Selection",
|
||||
description: "Traditional and innovative breads baked fresh daily. Sourdough, whole wheat, multigrain, and specialty seasonal varieties.",
|
||||
phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/delicious-products-arrangement-bakery_23-2150273131.jpg?_wi=1" },
|
||||
title: "Artisan Bread Selection", description: "Traditional and innovative breads baked fresh daily. Sourdough, whole wheat, multigrain, and specialty seasonal varieties.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/delicious-products-arrangement-bakery_23-2150273131.jpg?_wi=1" },
|
||||
phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/blank-tag-brown-bread-bakery-stall_23-2148209817.jpg?_wi=1" },
|
||||
},
|
||||
]}
|
||||
@@ -246,25 +209,9 @@ export default function HomePage() {
|
||||
title="Trusted By"
|
||||
description="Partnership with Kenya's finest suppliers and loved by thousands of satisfied customers."
|
||||
names={[
|
||||
"Kenya Premium Flour Mills",
|
||||
"East African Butter Co",
|
||||
"Kenya Chocolate Artisans",
|
||||
"Nairobi Catering Events",
|
||||
"Kenya Coffee Roasters",
|
||||
"Premium Dairy Kenya",
|
||||
"East Africa Spice Co",
|
||||
"Kenya Artisan Chocolate",
|
||||
]}
|
||||
"Kenya Premium Flour Mills", "East African Butter Co", "Kenya Chocolate Artisans", "Nairobi Catering Events", "Kenya Coffee Roasters", "Premium Dairy Kenya", "East Africa Spice Co", "Kenya Artisan Chocolate"]}
|
||||
logos={[
|
||||
"http://img.b2bpic.net/free-vector/hand-drawn-frailejon-plant-logo-template_23-2150005885.jpg",
|
||||
"http://img.b2bpic.net/free-psd/fresh-milk-landing-page-template-with-photo_23-2148633840.jpg",
|
||||
"http://img.b2bpic.net/free-vector/hand-drawn-cocoa-label-design_23-2150853249.jpg",
|
||||
"http://img.b2bpic.net/free-vector/flat-design-tasty-food-restaurant-labels_23-2150982493.jpg",
|
||||
"http://img.b2bpic.net/free-vector/flat-design-coffee-plantation-sale-banner_23-2149408528.jpg",
|
||||
"http://img.b2bpic.net/free-vector/hand-drawn-flat-design-farmers-market-logo_23-2149326729.jpg",
|
||||
"http://img.b2bpic.net/free-vector/japanese-green-matcha-tea-geometric-badges_23-2148569220.jpg",
|
||||
"http://img.b2bpic.net/free-photo/close-up-hand-holding-pot-with-hot-chocolate-spoon_23-2148542497.jpg",
|
||||
]}
|
||||
"http://img.b2bpic.net/free-vector/hand-drawn-frailejon-plant-logo-template_23-2150005885.jpg", "http://img.b2bpic.net/free-psd/fresh-milk-landing-page-template-with-photo_23-2148633840.jpg", "http://img.b2bpic.net/free-vector/hand-drawn-cocoa-label-design_23-2150853249.jpg", "http://img.b2bpic.net/free-vector/flat-design-tasty-food-restaurant-labels_23-2150982493.jpg", "http://img.b2bpic.net/free-vector/flat-design-coffee-plantation-sale-banner_23-2149408528.jpg", "http://img.b2bpic.net/free-vector/hand-drawn-flat-design-farmers-market-logo_23-2149326729.jpg", "http://img.b2bpic.net/free-vector/japanese-green-matcha-tea-geometric-badges_23-2148569220.jpg", "http://img.b2bpic.net/free-photo/close-up-hand-holding-pot-with-hot-chocolate-spoon_23-2148542497.jpg"]}
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
speed={35}
|
||||
@@ -300,4 +247,4 @@ export default function HomePage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user