From fff96e33d2d011e3b30803261d6acd83c5e249f0 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Fri, 28 Mar 2025 18:19:02 +0330 Subject: [PATCH] footer --- src/app/home/Blog.tsx | 4 +- src/app/home/Collaboration.tsx | 14 +-- src/app/home/DanakServices.tsx | 33 ++++--- src/app/home/DanakSuggestedService.tsx | 6 +- src/app/home/HeroSection.tsx | 8 +- src/app/home/WhyDanak.tsx | 14 +-- src/app/layout.tsx | 2 +- src/components/BlogItem.tsx | 2 +- src/components/InfoBox.tsx | 2 +- src/components/SectionHeader.tsx | 2 +- src/components/ServiceItem.tsx | 6 +- src/shared/Footer.tsx | 118 ++++++++++++------------ src/shared/Header.tsx | 123 +++++++++++++++---------- 13 files changed, 186 insertions(+), 148 deletions(-) diff --git a/src/app/home/Blog.tsx b/src/app/home/Blog.tsx index 6d726d6..95e8652 100644 --- a/src/app/home/Blog.tsx +++ b/src/app/home/Blog.tsx @@ -4,12 +4,12 @@ import { FC } from 'react' const Blog: FC = () => { return ( -
+
-
+
diff --git a/src/app/home/Collaboration.tsx b/src/app/home/Collaboration.tsx index b1773f5..728397f 100644 --- a/src/app/home/Collaboration.tsx +++ b/src/app/home/Collaboration.tsx @@ -5,18 +5,18 @@ import { FC } from 'react' const Collaboration: FC = () => { return ( -
-
-
-

+
+
+
+

همکاری با داناک

-

+

با پیوستن به داناک، فرصت‌های جدیدی برای رشد و کسب درآمد خواهید داشت. چه به‌عنوان نماینده فروش و چه به‌عنوان توسعه‌دهنده، ما بستر مناسبی برای موفقیت شما فراهم کرده‌ایم.

-
+
-
+
{ const [categoryId, setCategoryId] = useState('') return ( -
+
@@ -48,16 +48,27 @@ const DanakServices: FC = () => {
-
- - - +
+
+ +
+
+ +
+
+ +
+
+ +
) diff --git a/src/app/home/DanakSuggestedService.tsx b/src/app/home/DanakSuggestedService.tsx index d9e1730..af44c6b 100644 --- a/src/app/home/DanakSuggestedService.tsx +++ b/src/app/home/DanakSuggestedService.tsx @@ -3,12 +3,12 @@ import ServiceItem from '@/components/ServiceItem' const DanakSuggestedService: FC = () => { return ( -
-

+
+

سرویس های پیشنهادی داناک

-
+
diff --git a/src/app/home/HeroSection.tsx b/src/app/home/HeroSection.tsx index f06f7dd..d0a900f 100644 --- a/src/app/home/HeroSection.tsx +++ b/src/app/home/HeroSection.tsx @@ -10,16 +10,16 @@ const HeroSection: FC = () => { alt='banner' width={1920} height={1080} - className='w-full rounded-4xl object-cover mt-14' + className='w-full rounded-4xl object-cover xl:mt-14 mt-8 min-h-[210px]' />
-
+

داناک،

-

تلفیق هنر و تکنولوژی

+

تلفیق هنر و تکنولوژی

diff --git a/src/app/home/WhyDanak.tsx b/src/app/home/WhyDanak.tsx index 1b0bb51..22df379 100644 --- a/src/app/home/WhyDanak.tsx +++ b/src/app/home/WhyDanak.tsx @@ -5,24 +5,24 @@ import { FC } from 'react' const WhyDanak: FC = () => { return ( -
-
-
-

+
+
+
+

چرا داناک؟

-

+

ما در داناک با ترکیب خلاقیت، تخصص و تکنولوژی‌های روز، راهکارهای نرم‌افزاری منحصربه‌فردی ارائه می‌دهیم که کسب‌وکار شما را به سطحی بالاتر می‌برد.

-
+
-
+
{children}
diff --git a/src/components/BlogItem.tsx b/src/components/BlogItem.tsx index 5b599cc..c144515 100644 --- a/src/components/BlogItem.tsx +++ b/src/components/BlogItem.tsx @@ -3,7 +3,7 @@ import { FC } from 'react' const BlogItem: FC = () => { return ( -
+
= (props: Props) => {
-

+

{props.title}

diff --git a/src/components/SectionHeader.tsx b/src/components/SectionHeader.tsx index 58be4b5..6ca953c 100644 --- a/src/components/SectionHeader.tsx +++ b/src/components/SectionHeader.tsx @@ -8,7 +8,7 @@ type Props = { const SectionHeader: FC = (props) => { return (
-

+

{props.title}

diff --git a/src/components/ServiceItem.tsx b/src/components/ServiceItem.tsx index 5f8d6ce..9b166d1 100644 --- a/src/components/ServiceItem.tsx +++ b/src/components/ServiceItem.tsx @@ -7,15 +7,15 @@ type Props = { const ServiceItem: FC = (props) => { return ( -
+
-
+
دسته بندی
-

+

دی منو

diff --git a/src/shared/Footer.tsx b/src/shared/Footer.tsx index 1d98778..67f57a4 100644 --- a/src/shared/Footer.tsx +++ b/src/shared/Footer.tsx @@ -5,13 +5,13 @@ import { FC } from 'react' const Footer: FC = () => { return ( -
-
-
+
+
+
-
+
-
+
{ alt='لوگو داناک' /> -

+

ما در داناک هم تولیدکننده نرم‌افزارهای پیشرفته هستیم و هم بستری برای فروش محصولات نرم‌افزاری دیگران فراهم کرده‌ایم. با ما هوشمندانه بسازید و حرفه‌ای بفروشید.

-
-
- داناک -
-
    -
  • - محصولات -
  • -
  • - خدمات -
  • -
  • - مجله -
  • -
-
+
+
+
+ داناک +
+
    +
  • + محصولات +
  • +
  • + خدمات +
  • +
  • + مجله +
  • +
+
-
-
- سرویس ها محبوب -
-
    -
  • - دی منو -
  • -
  • - دی میل -
  • -
  • - دی پیج -
  • -
-
+
+
+ سرویس ها محبوب +
+
    +
  • + دی منو +
  • +
  • + دی میل +
  • +
  • + دی پیج +
  • +
+
-
-
- همکاری با داناک -
-
    -
  • - توسعه دهندگان -
  • -
  • - نمایندگان -
  • -
+
+
+ همکاری با داناک +
+
    +
  • + توسعه دهندگان +
  • +
  • + نمایندگان +
  • +
+
-
+
خبرنامه
@@ -89,7 +91,7 @@ const Footer: FC = () => {
-
+
{
-
-
    -
  • +
    +
      +
    • درباره ی ما
    • -
    • +
    • حریم خصوصی
    • -
    • +
    • قوانین و مقررات
    • @@ -136,7 +138,7 @@ const Footer: FC = () => {
    -
    +
    © 2025 Danak. All rights reserved.
    diff --git a/src/shared/Header.tsx b/src/shared/Header.tsx index 901dd09..2741df3 100644 --- a/src/shared/Header.tsx +++ b/src/shared/Header.tsx @@ -1,71 +1,96 @@ -import { FC } from 'react' +import { FC, Fragment } from 'react' import Image from 'next/image' import Link from 'next/link' -import { Profile, SearchNormal } from 'iconsax-react' +import { HambergerMenu, Profile, SearchNormal } from 'iconsax-react' import Button from '@/components/Button' const Header: FC = () => { return ( -
    -
    - logo + +
    +
    + logo -
      - -
    • - خانه -
    • - +
        + +
      • + خانه +
      • + - -
      • - محصولات -
      • - + +
      • + محصولات +
      • + - -
      • - خدمات -
      • - + +
      • + خدمات +
      • + - -
      • - درباره ی ما -
      • - + +
      • + درباره ی ما +
      • + - -
      • - مجله -
      • - -
      + +
    • + مجله +
    • + +
    -
    -
    - +
    + +
    + +
    + +
    ورود | ثبت نام
    +
    + +
    +
    -
    - -
    ورود | ثبت نام
    -
    +
    -
    - -
    + ) }