diff --git a/package.json b/package.json index d05b126..d63e516 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "cross-env NODE_OPTIONS='--inspect' next dev", + "dev": "next dev", "build": "next build", "start": "next start", "lint": "next lint", diff --git a/public/images/1.png b/public/images/1.png new file mode 100644 index 0000000..7764b9d Binary files /dev/null and b/public/images/1.png differ diff --git a/public/images/2.png b/public/images/2.png new file mode 100644 index 0000000..79c6478 Binary files /dev/null and b/public/images/2.png differ diff --git a/public/images/3.png b/public/images/3.png new file mode 100644 index 0000000..306eee8 Binary files /dev/null and b/public/images/3.png differ diff --git a/src/app/[locale]/layout.jsx b/src/app/[locale]/layout.jsx index 6707357..56edb99 100644 --- a/src/app/[locale]/layout.jsx +++ b/src/app/[locale]/layout.jsx @@ -91,7 +91,7 @@ export default async function LocaleLayout({ - + {children} diff --git a/src/app/[locale]/product/[slug]/page.jsx b/src/app/[locale]/product/[slug]/page.jsx index 44681da..8db6410 100644 --- a/src/app/[locale]/product/[slug]/page.jsx +++ b/src/app/[locale]/product/[slug]/page.jsx @@ -1,12 +1,7 @@ -import { Home } from "lucide-react"; -import { ChevronRight } from "lucide-react"; -import { Share2 } from "lucide-react"; -import { Share } from "lucide-react"; -import { ShoppingCart } from "lucide-react"; +import { ChevronRight, Home } from "lucide-react"; import { getLocale, getMessages } from "next-intl/server"; import Link from "next/link"; import { notFound } from "next/navigation"; -import BrandInfo from "src/components/Product/BrandInfo"; import ProductDescription from "src/components/Product/ProductDescription"; import ProductGallery from "src/components/Product/ProductGallery"; import ProductInfo from "src/components/Product/ProductInfo"; @@ -207,7 +202,7 @@ export default async function ProductPage({ params }) { const t = await getMessages({ locale }); console.log(t) return ( -
+
diff --git a/src/components/Carousel/ProductCarousel.jsx b/src/components/Carousel/ProductCarousel.jsx index a0fba7c..b11fd71 100644 --- a/src/components/Carousel/ProductCarousel.jsx +++ b/src/components/Carousel/ProductCarousel.jsx @@ -40,9 +40,12 @@ export default function ProductCarousel({ title, subtitle, products, showMoreLin

{subtitle}

}
- - {t("showMoreLink")} - + { + showMoreLink && + + {t("showMoreLink")} + + }
diff --git a/src/components/NavBar/index.jsx b/src/components/NavBar/index.jsx index a4e593d..85fcfb5 100644 --- a/src/components/NavBar/index.jsx +++ b/src/components/NavBar/index.jsx @@ -76,10 +76,10 @@ const Navbar = ({ items }) => {
*/}