From fc9fcf6a9a26473b8b46b6c19f90e5b2ec4e7af3 Mon Sep 17 00:00:00 2001 From: parsa aghaei Date: Mon, 21 Oct 2024 10:44:38 +0330 Subject: [PATCH] dictionory Updated --- src/app/(routes)/(website)/(home)/page.tsx | 10 +- .../(website)/components/contact/contact.tsx | 22 ++-- .../(website)/components/footer/footer.tsx | 20 ++-- .../(website)/components/header/header.tsx | 18 +-- .../components/mobile-menu/mobileMenu.tsx | 16 +-- .../components/projects/projects.tsx | 104 ++++++++++-------- .../components/services/services.tsx | 14 ++- .../components/testimonials/testimonials.tsx | 14 ++- src/app/lib/dictionaries/en.json | 94 ++++++++-------- src/app/lib/dictionaries/fa.json | 94 ++++++++-------- src/app/types/types.ts | 96 ++++++++-------- 11 files changed, 266 insertions(+), 236 deletions(-) diff --git a/src/app/(routes)/(website)/(home)/page.tsx b/src/app/(routes)/(website)/(home)/page.tsx index d7b290a..43edcbe 100644 --- a/src/app/(routes)/(website)/(home)/page.tsx +++ b/src/app/(routes)/(website)/(home)/page.tsx @@ -67,19 +67,19 @@ export default async function Home() { {/* end */}

- {dict.homePage.top.greeting} + {dict.website.homePage.top.greeting}

- {dict.homePage.top.name} + {dict.website.homePage.top.name}

- {dict.homePage.top.profession} + {dict.website.homePage.top.profession}

- {dict.homePage.top.roll} + {dict.website.homePage.top.roll}

- {dict.homePage.top.descriptionAboutMe} + {dict.website.homePage.top.descriptionAboutMe}

{/*
diff --git a/src/app/(routes)/(website)/components/footer/footer.tsx b/src/app/(routes)/(website)/components/footer/footer.tsx index c6f53eb..931a8f1 100644 --- a/src/app/(routes)/(website)/components/footer/footer.tsx +++ b/src/app/(routes)/(website)/components/footer/footer.tsx @@ -20,43 +20,43 @@ export default async function Footer() { className="whitespace-nowrap px-[14px] py-[10px] text-[18px] font-[500] hover:text-[#fd6f00]" href="/#home" > - {dict.footer.Home} + {dict.website.footer.Home} - {dict.footer.AboutMe} + {dict.website.footer.AboutMe} - {dict.footer.Services} + {dict.website.footer.Services} - {dict.footer.Projects} + {dict.website.footer.Projects} - {dict.footer.Testimonials} + {dict.website.footer.Testimonials} - {dict.footer.Contact} + {dict.website.footer.Contact} - {dict.footer.Blog} + {dict.website.footer.Blog} {/* socials */} @@ -95,13 +95,13 @@ export default async function Footer() {

- {dict.footer.Year} + {dict.website.footer.Year}

- {dict.footer.CopyRight} + {dict.website.footer.CopyRight}

- {dict.footer.Name} + {dict.website.footer.Name}
diff --git a/src/app/(routes)/(website)/components/header/header.tsx b/src/app/(routes)/(website)/components/header/header.tsx index 819992f..216fb19 100644 --- a/src/app/(routes)/(website)/components/header/header.tsx +++ b/src/app/(routes)/(website)/components/header/header.tsx @@ -19,7 +19,7 @@ export default async function Header() { logo

- {dict.header.Name} + {dict.website.header.Name}