diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx
index 434898f..9a73931 100644
--- a/src/app/about/page.tsx
+++ b/src/app/about/page.tsx
@@ -65,6 +65,7 @@ export default function AboutPage() {
imagePosition="right"
textboxLayout="default"
useInvertedBackground={true}
+ mediaAnimation="slide-up"
className="py-16 md:py-24 lg:py-32"
/>
diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx
index 54a6b6e..80c449a 100644
--- a/src/app/blog/page.tsx
+++ b/src/app/blog/page.tsx
@@ -1,11 +1,33 @@
"use client";
-import ReactLenis from "lenis/react";
+import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import BlogCardThree from '@/components/sections/blog/BlogCardThree';
import { useBlogPosts } from "@/hooks/useBlogPosts";
+const navItems = [
+ { name: "Home", id: "/" },
+ { name: "About", id: "/about" },
+ { name: "Menu", id: "/menu" },
+ { name: "Contact", id: "/contact" },
+];
+
+const Footer = () => (
+
+);
+
export default function BlogPage() {
const { posts, isLoading } = useBlogPosts();
@@ -22,43 +44,34 @@ export default function BlogPage() {
secondaryButtonStyle="solid"
headingFontWeight="semibold"
>
-
-
-
+
+
+
+ {isLoading ? (
+
+ ) : (
+
+
-
- {isLoading ? (
-
- ) : (
-
-
-
- )}
-
+ )}\n
);
}
diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx
index fd4bd43..ca30397 100644
--- a/src/app/contact/page.tsx
+++ b/src/app/contact/page.tsx
@@ -64,6 +64,7 @@ export default function ContactPage() {
imageAlt="A modern, inviting coffee shop interior"
mediaPosition="right"
useInvertedBackground={false}
+ mediaAnimation="slide-up"
className="py-16 md:py-24 lg:py-32"
formCardClassName="p-6 md:p-8 rounded-lg shadow-lg"
titleClassName="text-3xl font-semibold"
@@ -85,6 +86,7 @@ export default function ContactPage() {
textboxLayout="default"
useInvertedBackground={true}
faqsAnimation="slide-up"
+ mediaAnimation="slide-up"
className="py-16 md:py-24 lg:py-32"
containerClassName="max-w-7xl mx-auto"
/>
@@ -101,6 +103,7 @@ export default function ContactPage() {
imagePosition="right"
textboxLayout="default"
useInvertedBackground={false}
+ mediaAnimation="slide-up"
className="py-16 md:py-24 lg:py-32"
/>
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index ca31661..ad77734 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -3,36 +3,23 @@ import { Barlow } from "next/font/google";
import "./globals.css";
const barlow = Barlow({
- variable: "--font-barlow",
- subsets: ["latin"],
+ variable: "--font-barlow", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export const metadata: Metadata = {
- title: "Brew Haven - Your Daily Coffee Escape",
- description: "Experience the finest coffee, expertly crafted in a cozy and welcoming atmosphere. Brew Haven is your perfect spot for quality brews and relaxation.",
- robots: {
+ title: "Brew Haven - Your Daily Coffee Escape", description: "Experience the finest coffee, expertly crafted in a cozy and welcoming atmosphere. Brew Haven is your perfect spot for quality brews and relaxation.", robots: {
index: true,
follow: true,
},
openGraph: {
- title: "Brew Haven - Premium Coffee Shop",
- description: "Indulge in the best coffee experience at Brew Haven. Freshly brewed, ethically sourced, and passionately served.",
- url: "https://www.brewhaven.com",
- siteName: "Brew Haven",
- images: [
+ title: "Brew Haven - Premium Coffee Shop", description: "Indulge in the best coffee experience at Brew Haven. Freshly brewed, ethically sourced, and passionately served.", url: "https://www.brewhaven.com", siteName: "Brew Haven", images: [
{
- url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=9h4xtn",
- alt: "Freshly roasted coffee beans and a steaming cup of coffee",
- },
+ url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=9h4xtn", alt: "Freshly roasted coffee beans and a steaming cup of coffee"},
],
- type: "website",
- },
+ type: "website"},
twitter: {
- card: "summary_large_image",
- title: "Brew Haven - Your Daily Coffee Escape",
- description: "Experience the finest coffee, expertly crafted in a cozy and welcoming atmosphere.",
- images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=9h4xtn"],
+ card: "summary_large_image", title: "Brew Haven - Your Daily Coffee Escape", description: "Experience the finest coffee, expertly crafted in a cozy and welcoming atmosphere.", images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=9h4xtn"],
},
};
diff --git a/src/app/menu/page.tsx b/src/app/menu/page.tsx
index a5cd6fb..207dbaf 100644
--- a/src/app/menu/page.tsx
+++ b/src/app/menu/page.tsx
@@ -104,6 +104,7 @@ export default function MenuPage() {
textboxLayout="default"
useInvertedBackground={false}
faqsAnimation="slide-up"
+ mediaAnimation="slide-up"
className="py-16 md:py-24 lg:py-32"
containerClassName="max-w-7xl mx-auto"
/>
diff --git a/src/app/page.tsx b/src/app/page.tsx
index ba0ec08..0154ddd 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -83,6 +83,7 @@ export default function HomePage() {
imagePosition="right"
textboxLayout="default"
useInvertedBackground={true}
+ mediaAnimation="slide-up"
className="py-16 md:py-24 lg:py-32"
/>
@@ -154,6 +155,7 @@ export default function HomePage() {
textboxLayout="default"
useInvertedBackground={true}
faqsAnimation="slide-up"
+ mediaAnimation="slide-up"
className="py-16 md:py-24 lg:py-32"
containerClassName="max-w-7xl mx-auto"
contentClassName="grid grid-cols-1 md:grid-cols-2 gap-8 md:gap-12"
diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx
index a4f6e89..5506e8e 100644
--- a/src/app/shop/[id]/page.tsx
+++ b/src/app/shop/[id]/page.tsx
@@ -2,7 +2,7 @@
import { use, useCallback } from "react";
import { useRouter } from "next/navigation";
-import ReactLenis from "lenis/react";
+import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductDetailCard from "@/components/ecommerce/productDetail/ProductDetailCard";
@@ -15,6 +15,28 @@ interface ProductPageProps {
params: Promise<{ id: string }>;
}
+const navItems = [
+ { name: "Home", id: "/" },
+ { name: "About", id: "/about" },
+ { name: "Menu", id: "/menu" },
+ { name: "Contact", id: "/contact" },
+];
+
+const Footer = () => (
+
+);
+
export default function ProductPage({ params }: ProductPageProps) {
const { id } = use(params);
const router = useRouter();
@@ -79,22 +101,21 @@ export default function ProductPage({ params }: ProductPageProps) {
secondaryButtonStyle="solid"
headingFontWeight="semibold"
>
-
-
- setCartOpen(true) }}
- buttonClassName="shadow-md"
- logoHref="#"
- />
-
-
-
- Loading product...
-
-
-
+
+ setCartOpen(true) }}
+ buttonClassName="shadow-md"
+ logoHref="/"
+ />
+
+
+
+ Loading product...
+
+
+
);
}
@@ -113,30 +134,29 @@ export default function ProductPage({ params }: ProductPageProps) {
secondaryButtonStyle="solid"
headingFontWeight="semibold"
>
-
-
- setCartOpen(true) }}
- buttonClassName="shadow-md"
- logoHref="#"
- />
-
-
-
-
-
Product not found
-
-
-
-
-
+
+ setCartOpen(true) }}
+ buttonClassName="shadow-md"
+ logoHref="/"
+ />
+
+
+
+
+
Product not found
+
+
+
+
+
);
}
@@ -154,53 +174,52 @@ export default function ProductPage({ params }: ProductPageProps) {
secondaryButtonStyle="solid"
headingFontWeight="semibold"
>
-
-
- setCartOpen(true) }}
- buttonClassName="shadow-md"
- logoHref="#"
- />
-
-
-
0 ? variants : undefined}
- quantity={quantityVariant}
- ribbon={meta.ribbon}
- inventoryStatus={meta.inventoryStatus}
- inventoryQuantity={meta.inventoryQuantity}
- sku={meta.sku}
- buttons={[
- { text: "Add To Cart", onClick: handleAddToCart },
- { text: "Buy Now", onClick: handleBuyNow },
- ]}
- />
-
-
-
setCartOpen(false)}
- items={cartItems}
- onQuantityChange={updateQuantity}
- onRemove={removeItem}
- total={`$${cartTotal}`}
- buttons={[
- {
- text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout,
- },
- ]}
- />
-
-
+
+ setCartOpen(true) }}
+ buttonClassName="shadow-md"
+ logoHref="/"
+ />
+
+
+
0 ? variants : undefined}
+ quantity={quantityVariant}
+ ribbon={meta.ribbon}
+ inventoryStatus={meta.inventoryStatus}
+ inventoryQuantity={meta.inventoryQuantity}
+ sku={meta.sku}
+ buttons={[
+ { text: "Add To Cart", onClick: handleAddToCart },
+ { text: "Buy Now", onClick: handleBuyNow },
+ ]}
+ />
+
+
+
setCartOpen(false)}
+ items={cartItems}
+ onQuantityChange={updateQuantity}
+ onRemove={removeItem}
+ total={`$${cartTotal}`}
+ buttons={[
+ {
+ text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout,
+ },
+ ]}
+ />
+
+
);
}
diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx
index 0390ad2..b66b879 100644
--- a/src/app/shop/page.tsx
+++ b/src/app/shop/page.tsx
@@ -1,11 +1,33 @@
"use client";
-import ReactLenis from "lenis/react";
+import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCatalog from "@/components/ecommerce/productCatalog/ProductCatalog";
import { useProductCatalog } from "@/hooks/useProductCatalog";
+const navItems = [
+ { name: "Home", id: "/" },
+ { name: "About", id: "/about" },
+ { name: "Menu", id: "/menu" },
+ { name: "Contact", id: "/contact" },
+];
+
+const Footer = () => (
+
+);
+
export default function ShopPage() {
const {
products,
@@ -29,22 +51,21 @@ export default function ShopPage() {
secondaryButtonStyle="solid"
headingFontWeight="semibold"
>
-
-
- {} }}
- buttonClassName="shadow-md"
- logoHref="#"
- />
-
-
-
- Loading products...
-
-
-
+
+ {} }}
+ buttonClassName="shadow-md"
+ logoHref="/"
+ />
+
+
+
+ Loading products...
+
+
+
);
}
@@ -62,28 +83,27 @@ export default function ShopPage() {
secondaryButtonStyle="solid"
headingFontWeight="semibold"
>
-
-
- {} }}
- buttonClassName="shadow-md"
- logoHref="#"
- />
-
-
-
+
+ {} }}
+ buttonClassName="shadow-md"
+ logoHref="/"
+ />
+
+
+
);
}