Merge version_1 into main #1
@@ -28,16 +28,15 @@ export default function BlogPage() {
|
||||
brandName="Nano Mango"
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Products", id: "products" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Testimonials", id: "testimonials" },
|
||||
{ name: "FAQs", id: "faqs" },
|
||||
{ name: "Products", id: "/#products" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Testimonials", id: "/#testimonials" },
|
||||
{ name: "FAQs", id: "/#faqs" },
|
||||
]}
|
||||
button={{ text: "Shop Now", href: "#products" }}
|
||||
button={{ text: "Shop Now", href: "/#products" }}
|
||||
buttonClassName="shadow-lg"
|
||||
navItemClassName="text-foreground/80 hover:text-foreground"
|
||||
className="backdrop-blur-sm bg-card/70"
|
||||
navItemsAnimation="background-highlight"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ export default function SitePage() {
|
||||
<HeroSplitKpi
|
||||
title="Sip in Style with Nano Mango"
|
||||
description="Discover our unique collection of cups designed for every moment, blending aesthetics with sustainability."
|
||||
background={{ variant: "circleGradient" }}
|
||||
background={{ variant: "radial-gradient" }}
|
||||
kpis={[
|
||||
{ value: "100+", label: "Unique Designs" },
|
||||
{ value: "5,000+", label: "Happy Sippers" },
|
||||
@@ -60,7 +60,7 @@ export default function SitePage() {
|
||||
mediaAnimation="blur-reveal"
|
||||
tag="Tasteful & Sustainable"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="background-highlight"
|
||||
tagAnimation="slide-up"
|
||||
className="py-16 md:py-24 lg:py-32"
|
||||
titleClassName="font-light text-foreground"
|
||||
descriptionClassName="text-foreground/70"
|
||||
|
||||
@@ -10,7 +10,6 @@ import ProductCart from "@/components/ecommerce/cart/ProductCart";
|
||||
import { useProductDetail } from "@/hooks/useProductDetail";
|
||||
import { useCart } from "@/hooks/useCart";
|
||||
import { useCheckout } from "@/hooks/useCheckout";
|
||||
import Footer from "@/components/footer/Footer"; // Assuming a generic footer component
|
||||
|
||||
interface ProductPageProps {
|
||||
params: Promise<{ id: string }>;
|
||||
@@ -97,7 +96,6 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
buttonClassName="shadow-lg"
|
||||
navItemClassName="text-foreground/80 hover:text-foreground"
|
||||
className="backdrop-blur-sm bg-card/70"
|
||||
navItemsAnimation="background-highlight"
|
||||
/>
|
||||
</div>
|
||||
<div id="loading-section" data-section="loading-section">
|
||||
@@ -105,9 +103,6 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
<p className="text-foreground">Loading product...</p>
|
||||
</main>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<Footer />
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
@@ -136,7 +131,6 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
buttonClassName="shadow-lg"
|
||||
navItemClassName="text-foreground/80 hover:text-foreground"
|
||||
className="backdrop-blur-sm bg-card/70"
|
||||
navItemsAnimation="background-highlight"
|
||||
/>
|
||||
</div>
|
||||
<div id="not-found-section" data-section="not-found-section">
|
||||
@@ -152,9 +146,6 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<Footer />
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
@@ -182,7 +173,6 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
buttonClassName="shadow-lg"
|
||||
navItemClassName="text-foreground/80 hover:text-foreground"
|
||||
className="backdrop-blur-sm bg-card/70"
|
||||
navItemsAnimation="background-highlight"
|
||||
/>
|
||||
</div>
|
||||
<div id="product-detail-card" data-section="product-detail-card">
|
||||
@@ -221,9 +211,6 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<Footer />
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
|
||||
@@ -6,7 +6,6 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
||||
import ProductCatalog from "@/components/ecommerce/productCatalog/ProductCatalog";
|
||||
import { useProductCatalog } from "@/hooks/useProductCatalog";
|
||||
import Footer from "@/components/footer/Footer"; // Assuming a generic footer component
|
||||
|
||||
function ShopPageContent() {
|
||||
const {
|
||||
@@ -40,7 +39,6 @@ function ShopPageContent() {
|
||||
buttonClassName="shadow-lg"
|
||||
navItemClassName="text-foreground/80 hover:text-foreground"
|
||||
className="backdrop-blur-sm bg-card/70"
|
||||
navItemsAnimation="background-highlight"
|
||||
/>
|
||||
</div>
|
||||
<div id="loading-section" data-section="loading-section">
|
||||
@@ -48,9 +46,6 @@ function ShopPageContent() {
|
||||
<p className="text-foreground">Loading products...</p>
|
||||
</main>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<Footer />
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
@@ -78,7 +73,6 @@ function ShopPageContent() {
|
||||
buttonClassName="shadow-lg"
|
||||
navItemClassName="text-foreground/80 hover:text-foreground"
|
||||
className="backdrop-blur-sm bg-card/70"
|
||||
navItemsAnimation="background-highlight"
|
||||
/>
|
||||
</div>
|
||||
<div id="product-catalog" data-section="product-catalog">
|
||||
@@ -92,9 +86,6 @@ function ShopPageContent() {
|
||||
emptyMessage="No products found"
|
||||
/>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<Footer />
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user