From fc9fcf6a9a26473b8b46b6c19f90e5b2ec4e7af3 Mon Sep 17 00:00:00 2001 From: parsa aghaei
- {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}
{/*- {dict.footer.Year} + {dict.website.footer.Year}
- {dict.footer.CopyRight} + {dict.website.footer.CopyRight}
- {dict.footer.Name} + {dict.website.footer.Name}- {dict.header.Name} + {dict.website.header.Name}
- {dict.header.Name} + {dict.website.header.Name}
{selectedLocale === "fa" ? ( diff --git a/src/app/(routes)/(website)/components/projects/projects.tsx b/src/app/(routes)/(website)/components/projects/projects.tsx index d105dbb..b31bac0 100644 --- a/src/app/(routes)/(website)/components/projects/projects.tsx +++ b/src/app/(routes)/(website)/components/projects/projects.tsx @@ -7,10 +7,12 @@ import "react-loading-skeleton/dist/skeleton.css"; interface MyProjectsProps { dict: { - homePage: { - projects: { - title: string; - description: string; + website: { + homePage: { + projects: { + title: string; + description: string; + }; }; }; }; @@ -66,7 +68,10 @@ export default function Projects({ dict }: MyProjectsProps) { }, {}); }; - const groupedProjects = useMemo(() => groupProjectsByCategory(projects), [projects]); + const groupedProjects = useMemo( + () => groupProjectsByCategory(projects), + [projects], + ); // Filter projects by selected category const filteredProjects: Project[] = useMemo(() => { @@ -88,47 +93,60 @@ export default function Projects({ dict }: MyProjectsProps) { ); return ( -{dict.homePage.projects.description}
++ {dict.website.homePage.projects.description} +
{project.title}
-+ {project.title} +
+- {dict.homePage.services.description} + {dict.website.homePage.services.description}
- {dict.homePage.testimonials.description} + {dict.website.homePage.testimonials.description}