From 8666d8067ab5dfd2cf02d7fffd00b1479e106ad8 Mon Sep 17 00:00:00 2001 From: parsa aghaei Date: Mon, 29 Jun 2026 10:53:26 +0330 Subject: [PATCH] fix: precise fixes - name spelling, nav i18n, header scroll logic, testimonials padding, Persian digits --- .../(website)/components/header/header.tsx | 22 +++++++++---------- .../components/mobile-menu/mobileMenu.tsx | 14 ++++++------ .../components/projects/projects.tsx | 7 +++++- .../components/testimonials/testimonials.tsx | 4 ++-- src/app/lib/dictionaries/en.json | 9 ++++++++ src/app/lib/dictionaries/fa.json | 17 ++++++++++---- src/app/types/types.ts | 9 ++++++++ 7 files changed, 57 insertions(+), 25 deletions(-) diff --git a/src/app/(routes)/(website)/components/header/header.tsx b/src/app/(routes)/(website)/components/header/header.tsx index 9759799..860754c 100644 --- a/src/app/(routes)/(website)/components/header/header.tsx +++ b/src/app/(routes)/(website)/components/header/header.tsx @@ -29,22 +29,22 @@ export default function Header() { const navLinks = dict ? [ - { href: "/#home", label: dict.website.header.Home }, - { href: "/#about-me", label: dict.website.header.AboutMe }, - { href: "/#services", label: dict.website.header.Services }, - { href: "/#projects", label: dict.website.header.Projects }, - { href: "/#testimonials", label: dict.website.header.Testimonials }, - { href: "/#contact", label: dict.website.header.Contact }, - { href: "/blog", label: dict.website.header.Blog }, + { href: "/#home", label: dict.website.homePage.nav.home }, + { href: "/#about-me", label: dict.website.homePage.nav.aboutMe }, + { href: "/#services", label: dict.website.homePage.nav.services }, + { href: "/#projects", label: dict.website.homePage.nav.projects }, + { href: "/#testimonials", label: dict.website.homePage.nav.testimonials }, + { href: "/#contact", label: dict.website.homePage.nav.contact }, + { href: "/blog", label: dict.website.homePage.nav.blog }, ] : []; return (