diff --git a/components/ArticleContent/index.jsx b/components/ArticleContent/index.jsx index a30cee7..f1a2360 100644 --- a/components/ArticleContent/index.jsx +++ b/components/ArticleContent/index.jsx @@ -7,7 +7,7 @@ export default function ArticleContent({ htmlContent, type }) { : "xs:w-full lg:w-9/12 py-8 px-10 min-h-screen" } mx-auto `} > -
+
diff --git a/components/Blog/BlogData/page.jsx b/components/Blog/BlogData/page.jsx index f133dfd..9f24d94 100644 --- a/components/Blog/BlogData/page.jsx +++ b/components/Blog/BlogData/page.jsx @@ -118,7 +118,7 @@ const BlogData = ({ params, data }) => { height={500} className="mb-3 xs:w-full h-[400px] rounded-3xl object-cover" /> -

+

{data.title}

diff --git a/components/LandingPage/CategoriesHero/page.jsx b/components/LandingPage/CategoriesHero/page.jsx index e7e8eba..5fed26e 100644 --- a/components/LandingPage/CategoriesHero/page.jsx +++ b/components/LandingPage/CategoriesHero/page.jsx @@ -1,11 +1,6 @@ import Image from "next/image"; import Link from "next/link"; -import yek from "../../../public/images/1.png"; -import doo from "../../../public/images/2.png"; -import see from "../../../public/images/3.png"; -import chr from "../../../public/images/4.png"; -import png from "../../../public/images/5.png"; -import shs from "../../../public/images/6.png"; + import back1 from "../../../public/images/back1.jpg"; import back2 from "../../../public/images/back2.jpg"; import back3 from "../../../public/images/back3.jpg"; @@ -17,16 +12,16 @@ import PersianNumber from "plugins/PersianNumber"; const CategoriesHero = () => { const categories = [ { - name: "مراقبت پوست", - url: "/categories/62b94d76-a025-4d08-a663-6cf8685d24c5/مراقبت%20پوست", + name: "آرایش و مراقبت مو", + url: "categories/3df995d4-6a36-4de2-9557-a5c3304529fe/آرایش-و-مراقبت-مو", products: 300, brands: 20, image: back1, }, { - name: "آرایش لب", - url: "/categories/991c9adb-934d-43d6-9dab-e0ebde035d8e/آرایش%20لب", - products: 30, + name: "حالت دهنده و ژل مو", + url: "categories/9e1289e7-6c8e-4634-b57b-448268c7492e/حالت-دهنده-و-ژل-مو", + products: 20, brands: 5, image: back2, }, @@ -38,17 +33,17 @@ const CategoriesHero = () => { image: back3, }, { - name: "کرم پودر", - url: "/categories/7e92af7d-0370-451f-9770-5e26b5c8dc63/کرم%20پودر", - products: 250, + name: "بهداشت دهان و دندان", + url: "categories/b7549222-87f7-4b0b-8938-210539b3a395/بهداشت-دهان-و-دندان", + products: 50, brands: 10, image: back5, }, { - name: "آرایش ناخن", - url: "/categories/9c95ca17-c041-497b-a7bf-b58b716e2155/آرایش%20ناخن", - products: 10, - brands: 2, + name: "لوازم اصلاح", + url: "/categories/70cffd9e-f475-4245-87bb-5f175d286901/لوازم-اصلاح", + products: 30, + brands: 10, image: back4, }, ]; @@ -79,14 +74,20 @@ const CategoriesHero = () => { {/* Text overlay */}
-

+

{category.name}

-

+

+ - + محصول | - + برند

diff --git a/components/Navbar/page.jsx b/components/Navbar/page.jsx index 4bcfa41..2f24cc3 100644 --- a/components/Navbar/page.jsx +++ b/components/Navbar/page.jsx @@ -1,7 +1,7 @@ "use client"; import Image from "next/image"; import { useContext, useEffect, useState } from "react"; -import cover from "../../public/images/navbar/n1.jpg"; + import divider from "../../public/images/divider.png"; import logoWhite from "../../public/images/logo-white.png"; import logoBlack from "../../public/images/logo.png"; diff --git a/public/images/1.png b/public/images/1.png deleted file mode 100644 index 93f39ef..0000000 Binary files a/public/images/1.png and /dev/null differ diff --git a/public/images/10.png b/public/images/10.png deleted file mode 100644 index b1b975f..0000000 Binary files a/public/images/10.png and /dev/null differ diff --git a/public/images/2.png b/public/images/2.png deleted file mode 100644 index 27286fe..0000000 Binary files a/public/images/2.png and /dev/null differ diff --git a/public/images/3.png b/public/images/3.png deleted file mode 100644 index 05bc27e..0000000 Binary files a/public/images/3.png and /dev/null differ diff --git a/public/images/4.png b/public/images/4.png deleted file mode 100644 index df2e0f3..0000000 Binary files a/public/images/4.png and /dev/null differ diff --git a/public/images/5.png b/public/images/5.png deleted file mode 100644 index 0a02409..0000000 Binary files a/public/images/5.png and /dev/null differ diff --git a/public/images/6.png b/public/images/6.png deleted file mode 100644 index 77bee49..0000000 Binary files a/public/images/6.png and /dev/null differ diff --git a/public/images/7.png b/public/images/7.png deleted file mode 100644 index ccba3d9..0000000 Binary files a/public/images/7.png and /dev/null differ diff --git a/public/images/8.png b/public/images/8.png deleted file mode 100644 index ecd9b37..0000000 Binary files a/public/images/8.png and /dev/null differ diff --git a/public/images/9.png b/public/images/9.png deleted file mode 100644 index ecd699f..0000000 Binary files a/public/images/9.png and /dev/null differ diff --git a/public/images/back1.jpg b/public/images/back1.jpg index aa66342..9318d73 100644 Binary files a/public/images/back1.jpg and b/public/images/back1.jpg differ diff --git a/public/images/back2.jpg b/public/images/back2.jpg index 497fec8..68ec62b 100644 Binary files a/public/images/back2.jpg and b/public/images/back2.jpg differ diff --git a/public/images/back3.jpg b/public/images/back3.jpg index a1b9522..5cc95f7 100644 Binary files a/public/images/back3.jpg and b/public/images/back3.jpg differ diff --git a/public/images/back4.jpg b/public/images/back4.jpg index 714ec59..f641748 100644 Binary files a/public/images/back4.jpg and b/public/images/back4.jpg differ diff --git a/public/images/back5.jpg b/public/images/back5.jpg index 63ab40a..14f3047 100644 Binary files a/public/images/back5.jpg and b/public/images/back5.jpg differ diff --git a/public/images/bg-header.jpg b/public/images/bg-header.jpg deleted file mode 100644 index 9630831..0000000 Binary files a/public/images/bg-header.jpg and /dev/null differ diff --git a/public/images/cover.png b/public/images/cover.png deleted file mode 100644 index 4d1d7cd..0000000 Binary files a/public/images/cover.png and /dev/null differ diff --git a/public/images/must delete/digi1.webp b/public/images/must delete/digi1.webp deleted file mode 100644 index 0512c9c..0000000 Binary files a/public/images/must delete/digi1.webp and /dev/null differ diff --git a/public/images/must delete/digi10.jpg b/public/images/must delete/digi10.jpg deleted file mode 100644 index 65e1e6a..0000000 Binary files a/public/images/must delete/digi10.jpg and /dev/null differ diff --git a/public/images/must delete/digi11.jpg b/public/images/must delete/digi11.jpg deleted file mode 100644 index b3530d4..0000000 Binary files a/public/images/must delete/digi11.jpg and /dev/null differ diff --git a/public/images/must delete/digi12.jpg b/public/images/must delete/digi12.jpg deleted file mode 100644 index b8e4331..0000000 Binary files a/public/images/must delete/digi12.jpg and /dev/null differ diff --git a/public/images/must delete/digi13.jpg b/public/images/must delete/digi13.jpg deleted file mode 100644 index f14467a..0000000 Binary files a/public/images/must delete/digi13.jpg and /dev/null differ diff --git a/public/images/must delete/digi2.webp b/public/images/must delete/digi2.webp deleted file mode 100644 index 5edd90c..0000000 Binary files a/public/images/must delete/digi2.webp and /dev/null differ diff --git a/public/images/must delete/digi3.webp b/public/images/must delete/digi3.webp deleted file mode 100644 index 3fb3db5..0000000 Binary files a/public/images/must delete/digi3.webp and /dev/null differ diff --git a/public/images/must delete/digi4.webp b/public/images/must delete/digi4.webp deleted file mode 100644 index 4dbc16b..0000000 Binary files a/public/images/must delete/digi4.webp and /dev/null differ diff --git a/public/images/must delete/digi5.webp b/public/images/must delete/digi5.webp deleted file mode 100644 index 93f7e85..0000000 Binary files a/public/images/must delete/digi5.webp and /dev/null differ diff --git a/public/images/must delete/digi6.webp b/public/images/must delete/digi6.webp deleted file mode 100644 index 9a056e9..0000000 Binary files a/public/images/must delete/digi6.webp and /dev/null differ diff --git a/public/images/must delete/digi7.webp b/public/images/must delete/digi7.webp deleted file mode 100644 index b92e362..0000000 Binary files a/public/images/must delete/digi7.webp and /dev/null differ diff --git a/public/images/must delete/digi8.jpg b/public/images/must delete/digi8.jpg deleted file mode 100644 index be94d50..0000000 Binary files a/public/images/must delete/digi8.jpg and /dev/null differ diff --git a/public/images/must delete/digi9.jpg b/public/images/must delete/digi9.jpg deleted file mode 100644 index ecfb5a8..0000000 Binary files a/public/images/must delete/digi9.jpg and /dev/null differ diff --git a/public/images/navbar/n1.jpg b/public/images/navbar/n1.jpg deleted file mode 100644 index 0a8f797..0000000 Binary files a/public/images/navbar/n1.jpg and /dev/null differ diff --git a/public/images/navbar/n2.jpg b/public/images/navbar/n2.jpg deleted file mode 100644 index ef7c520..0000000 Binary files a/public/images/navbar/n2.jpg and /dev/null differ diff --git a/public/images/navbar/n3.jpg b/public/images/navbar/n3.jpg deleted file mode 100644 index d3c3968..0000000 Binary files a/public/images/navbar/n3.jpg and /dev/null differ diff --git a/public/images/navbar/n4.jpg b/public/images/navbar/n4.jpg deleted file mode 100644 index f62e8cf..0000000 Binary files a/public/images/navbar/n4.jpg and /dev/null differ diff --git a/public/images/navbar/n5.jpg b/public/images/navbar/n5.jpg deleted file mode 100644 index a0634f8..0000000 Binary files a/public/images/navbar/n5.jpg and /dev/null differ diff --git a/public/images/navbar/n6.jpg b/public/images/navbar/n6.jpg deleted file mode 100644 index 416514e..0000000 Binary files a/public/images/navbar/n6.jpg and /dev/null differ diff --git a/public/images/navbar/n7.jpg b/public/images/navbar/n7.jpg deleted file mode 100644 index 4643e66..0000000 Binary files a/public/images/navbar/n7.jpg and /dev/null differ diff --git a/public/images/product/1.png b/public/images/product/1.png deleted file mode 100644 index 7724c40..0000000 Binary files a/public/images/product/1.png and /dev/null differ diff --git a/public/images/product/2.png b/public/images/product/2.png deleted file mode 100644 index 68c0099..0000000 Binary files a/public/images/product/2.png and /dev/null differ diff --git a/public/images/product/3.png b/public/images/product/3.png deleted file mode 100644 index bae2834..0000000 Binary files a/public/images/product/3.png and /dev/null differ diff --git a/public/images/product/4.png b/public/images/product/4.png deleted file mode 100644 index a4df897..0000000 Binary files a/public/images/product/4.png and /dev/null differ diff --git a/src/app/component-test/page.jsx b/src/app/component-test/page.jsx deleted file mode 100644 index 8337a38..0000000 --- a/src/app/component-test/page.jsx +++ /dev/null @@ -1,400 +0,0 @@ -import React from "react"; -import digi1 from "../../../public/images/must delete/digi1.webp"; -import digi2 from "../../../public/images/must delete/digi2.webp"; -import digi3 from "../../../public/images/must delete/digi3.webp"; -import digi4 from "../../../public/images/must delete/digi4.webp"; -import digi5 from "../../../public/images/must delete/digi5.webp"; -import digi6 from "../../../public/images/must delete/digi6.webp"; -import digi7 from "../../../public/images/must delete/digi7.webp"; -import digi8 from "../../../public/images/must delete/digi8.jpg"; -import digi9 from "../../../public/images/must delete/digi9.jpg"; -import digi10 from "../../../public/images/must delete/digi10.jpg"; -import digi11 from "../../../public/images/must delete/digi11.jpg"; -import digi12 from "../../../public/images/must delete/digi12.jpg"; -import digi13 from "../../../public/images/must delete/digi13.jpg"; -import Image from "next/image"; -import Link from "next/link"; - -const componentName = (props) => { - return ( -
-
-

- کامپوننت های آماده وسمه -

-

جهت ساخته صفحه های داینامیک

-
- -
-
-

دسته بندی چهارتایی

{" "} -

- کد کامپوننت 1 -

-
-
-
-
- -
-
- -
- -
- -
-
- -
-
-
- -
- -
- نکته مهم : -
- اندازه عکس های سایز بزرگ - 1920 * 1080 -
- اندازه عکس های سایز گوشی - 1000 * 600 -
-
- -
-
-

دسته بندی دوتایی

{" "} -

- کد کامپوننت 2 -

-
-
-
-
- -
-
- -
-
-
-
- -
- نکته مهم : -
- اندازه عکس های سایز بزرگ - 1920 * 1080 -
- اندازه عکس های سایز گوشی - 1000 * 600 -
-
- -
-
-

دسته بندی دایره ای

{" "} -

- کد کامپوننت 3 -

-
-
-
-
-
-
-
- -
-

- ارتوپدی و کمک -

-
-
-
-
-
- -
-

- ویلچر{" "} -

-
-
- -
-
-
- -
-

- کمک پوستی{" "} -

-
-
- -
-
-
- -
-

- ارتوپدی و کمک -

-
-
-
-
-
- -
-

- ویلچر{" "} -

-
-
- -
-
-
- -
-

- کمک پوستی{" "} -

-
-
-
-
-
-
- -
- نکته مهم : -
- اندازه عکس های سایز بزرگ - 1080 * 1080 -
- اندازه عکس های سایز گوشی - 800 * 800 -
-
- -
-
-

- دسته بندی چهارتایی کنار هم{" "} -

{" "} -

- کد کامپوننت 4 -

-
-
-
-
- -
-
- -
- -
- -
-
- -
-
-
- -
- -
- نکته مهم : -
- اندازه عکس های سایز بزرگ - 1920 * 1080 -
- اندازه عکس های سایز گوشی - 1000 * 600 -
-
- -
-
-

- دسته بندی پرفروش‌ترین کالاها{" "} -

{" "} -

- کد کامپوننت 5 -

-
-
-
-
-
-
-

گوشی موبایل

-

- بر اساس سلیقه شما -

-
- -
-
- -
-
- {" "} - -
-
- {" "} - -
-
- {" "} - -
-
- -
- - مشاهده بیشتر - -
-
-
-
-

هدفون، هدست و هندزفری

-

- بر اساس سلیقه شما -

-
- -
-
- -
-
- {" "} - -
-
- {" "} - -
-
- {" "} - -
-
- -
- - مشاهده بیشتر - -
-
-
-
-

هدفون، هدست و هندزفری

-

- بر اساس سلیقه شما -

-
- -
-
- -
-
- {" "} - -
-
- {" "} - -
-
- {" "} - -
-
- -
- - مشاهده بیشتر - -
-
-
-
-

گوشی موبایل

-

- بر اساس سلیقه شما -

-
- -
-
- -
-
- {" "} - -
-
- {" "} - -
-
- {" "} - -
-
- -
- - مشاهده بیشتر - -
-
-
-
-
- -
- -
- نکته مهم : -
- اندازه عکس های سایز بزرگ - 1920 * 1080 -
- اندازه عکس های سایز گوشی - 1000 * 600 -
-
-
- ); -}; - -export default componentName; diff --git a/style/globals.css b/style/globals.css index d779746..a9afeb8 100644 --- a/style/globals.css +++ b/style/globals.css @@ -86,14 +86,6 @@ body { pointer-events: none; } -.bg-header { - background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), - url(../public/images/bg-header.jpg); - height: 100vh; - background-position: center; - background-size: cover; -} - .bg-contact-us { background: hsla(201, 100%, 43%, 1); diff --git a/tailwind.config.js b/tailwind.config.js index a9a0198..d81e93e 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -61,37 +61,37 @@ module.exports = { h1: { color: theme("colors.gray.900"), fontWeight: "700", - fontSize: "1rem", + fontSize: "1.7rem", marginBottom: "1rem", }, h2: { color: theme("colors.gray.800"), fontWeight: "600", - fontSize: "1rem", + fontSize: "1.4rem", marginBottom: "1rem", }, h3: { color: theme("colors.gray.700"), fontWeight: "600", - fontSize: "1.75rem", + fontSize: "1.2rem", marginBottom: "0.75rem", }, h4: { color: theme("colors.gray.600"), fontWeight: "500", - fontSize: "1.5rem", + fontSize: ".9rem", marginBottom: "0.5rem", }, h5: { color: theme("colors.gray.600"), fontWeight: "500", - fontSize: "1.25rem", + fontSize: ".9rem", marginBottom: "0.5rem", }, h6: { color: theme("colors.gray.600"), fontWeight: "500", - fontSize: "1rem", + fontSize: ".9rem", marginBottom: "0.5rem", }, p: {