diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index b7e3669..e9e5986 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -10,6 +10,18 @@ import { useBlogPosts } from "@/hooks/useBlogPosts"; export default function BlogPage() { const { posts, isLoading } = useBlogPosts(); + const commonNavItems = [ + { name: "Home", id: "/" }, + { name: "About", id: "#about" }, + { name: "Menu", id: "#products" }, + { name: "Experience", id: "#features" }, + { name: "Community", id: "#testimonials" }, + { name: "Contact", id: "#contact" }, + { name: "Blog", id: "/blog" }, + { name: "Shop", id: "/shop" } + ]; + const commonButton = { text: "Order Now", href: "/shop" }; + return ( @@ -69,4 +74,4 @@ export default function BlogPage() { ); -} \ No newline at end of file +} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 4d314b0..450bb39 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1406,4 +1406,4 @@ export default function RootLayout({ ); -} \ No newline at end of file +} diff --git a/src/app/page.tsx b/src/app/page.tsx index fe3f591..270bc3e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,7 +1,7 @@ "use client" import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay'; -import HeroSplit from '@/components/sections/hero/HeroSplit'; +import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard'; import MediaAbout from '@/components/sections/about/MediaAbout'; import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow'; import ProductCardThree from '@/components/sections/product/ProductCardThree'; @@ -12,6 +12,18 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import { Award, Coffee, Heart, Leaf, MapPin, Sparkles, TrendingUp, Users, Zap } from "lucide-react"; export default function CoffeePage() { + const commonNavItems = [ + { name: "Home", id: "/" }, + { name: "About", id: "#about" }, + { name: "Menu", id: "#products" }, + { name: "Experience", id: "#features" }, + { name: "Community", id: "#testimonials" }, + { name: "Contact", id: "#contact" }, + { name: "Blog", id: "/blog" }, + { name: "Shop", id: "/shop" } + ]; + const commonButton = { text: "Order Now", href: "/shop" }; + return (
-
@@ -216,4 +219,4 @@ export default function CoffeePage() {
); -} \ No newline at end of file +} diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index 168bf76..487ad05 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -66,6 +66,18 @@ export default function ProductPage({ params }: ProductPageProps) { await checkout(getCheckoutItems(), { successUrl: currentUrl.toString() }); }, [cartItems, checkout, getCheckoutItems]); + const commonNavItems = [ + { name: "Home", id: "/" }, + { name: "About", id: "#about" }, + { name: "Menu", id: "#products" }, + { name: "Experience", id: "#features" }, + { name: "Community", id: "#testimonials" }, + { name: "Contact", id: "#contact" }, + { name: "Blog", id: "/blog" }, + { name: "Shop", id: "/shop" } + ]; + const commonButton = { text: "Order Now", href: "/shop" }; + if (isLoading) { return ( setCartOpen(true) }} + navItems={commonNavItems} + button={commonButton} />
@@ -125,11 +134,8 @@ export default function ProductPage({ params }: ProductPageProps) {
@@ -173,11 +179,8 @@ export default function ProductPage({ params }: ProductPageProps) {
@@ -227,4 +230,4 @@ export default function ProductPage({ params }: ProductPageProps) { ); -} \ No newline at end of file +} diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx index 4d1bc87..2b2b068 100644 --- a/src/app/shop/page.tsx +++ b/src/app/shop/page.tsx @@ -16,6 +16,18 @@ export default function ShopPage() { filters, } = useProductCatalog({ basePath: "/shop" }); + const commonNavItems = [ + { name: "Home", id: "/" }, + { name: "About", id: "#about" }, + { name: "Menu", id: "#products" }, + { name: "Experience", id: "#features" }, + { name: "Community", id: "#testimonials" }, + { name: "Contact", id: "#contact" }, + { name: "Blog", id: "/blog" }, + { name: "Shop", id: "/shop" } + ]; + const commonButton = { text: "Order Now", href: "/shop" }; + if (isLoading) { return ( console.log("cart") }} + navItems={commonNavItems} + button={commonButton} />
@@ -74,11 +83,8 @@ export default function ShopPage() {
@@ -103,4 +109,4 @@ export default function ShopPage() { ); -} \ No newline at end of file +}