From ed656174336dbbdea790b10367738d1353cbad18 Mon Sep 17 00:00:00 2001 From: Parsa Aghayi Date: Mon, 2 Nov 2026 12:25:17 +0000 Subject: [PATCH] feat(ui,ux): enhance blog mobile dark theme, add mobile theme toggle, and polish site copy --- .../(website)/components/header/header.tsx | 5 +- .../components/mobile-menu/mobileMenu.tsx | 5 + .../components/burger-button/burgerButton.tsx | 14 +- .../blog/components/footer/footer.tsx | 48 ++--- .../blog/components/header/header.tsx | 11 +- .../components/home/Categories/Categories.tsx | 50 ++--- .../home/filtered-posts/filteredPosts.tsx | 140 +++++++----- .../(routes)/blog/components/home/new/new.tsx | 156 +++++++------- .../home/newsletter/newsletterCta.tsx | 15 +- .../blog/components/home/random/random.tsx | 85 ++++---- .../components/mobile-menu/mobileMenu.tsx | 202 +++++++++++------- .../components/subscribe/subscribeModal.tsx | 16 +- src/app/(routes)/blog/layout.tsx | 8 +- src/app/lib/dictionaries/en.json | 88 ++++---- src/app/lib/dictionaries/fa.json | 24 +-- tailwind.config.ts | 10 +- 16 files changed, 484 insertions(+), 393 deletions(-) diff --git a/src/app/(routes)/(website)/components/header/header.tsx b/src/app/(routes)/(website)/components/header/header.tsx index 081c103..5989c07 100644 --- a/src/app/(routes)/(website)/components/header/header.tsx +++ b/src/app/(routes)/(website)/components/header/header.tsx @@ -81,7 +81,7 @@ export default function Header() { -
+
{dict?.website.header.Button} +
+ +
{dict && }
diff --git a/src/app/(routes)/(website)/components/mobile-menu/mobileMenu.tsx b/src/app/(routes)/(website)/components/mobile-menu/mobileMenu.tsx index 2aee3cd..45ee2f2 100644 --- a/src/app/(routes)/(website)/components/mobile-menu/mobileMenu.tsx +++ b/src/app/(routes)/(website)/components/mobile-menu/mobileMenu.tsx @@ -6,6 +6,7 @@ import { setSelectedLocale, useSelectedLocale, } from "@/app/lib/hooks/use-selected-locale"; +import { ThemeToggle } from "../theme-toggle/theme-toggle"; type propsType = { clicked: boolean; @@ -90,6 +91,10 @@ export default function MobileMenu({ clicked, setClicked, dict }: propsType) { > {selectedLocale === "fa" ? "English" : "فارسی"} +
+ {selectedLocale === "fa" ? "تغییر تم (تیره / روشن)" : "Switch Theme"} + +
); diff --git a/src/app/(routes)/blog/components/burger-button/burgerButton.tsx b/src/app/(routes)/blog/components/burger-button/burgerButton.tsx index 0ce3834..1b562eb 100644 --- a/src/app/(routes)/blog/components/burger-button/burgerButton.tsx +++ b/src/app/(routes)/blog/components/burger-button/burgerButton.tsx @@ -1,6 +1,7 @@ "use client"; -import Image from "next/image"; + import React, { useState } from "react"; +import { Menu } from "lucide-react"; import MobileMenu from "../mobile-menu/mobileMenu"; export default function BurgerButton() { @@ -8,19 +9,12 @@ export default function BurgerButton() { return ( <> diff --git a/src/app/(routes)/blog/components/footer/footer.tsx b/src/app/(routes)/blog/components/footer/footer.tsx index cd0ab1e..152cee7 100644 --- a/src/app/(routes)/blog/components/footer/footer.tsx +++ b/src/app/(routes)/blog/components/footer/footer.tsx @@ -1,37 +1,33 @@ import { getDictionary } from "@/app/lib/functions/dictionaries"; import { getDefaultLocale } from "@/app/lib/functions/utils"; -import Link from "next/dist/client/link"; +import Link from "next/link"; import Image from "next/image"; import React from "react"; export default async function Footer() { const dict = await getDictionary(await getDefaultLocale()); return ( -
- parsaaghayi's blog logo - parsaaghayi's blog logo -
-

- {dict.website.footer.Year} -

-

- {dict.website.footer.CopyRight} -

- - {dict.website.footer.Name} - +
+
+
+ parsaaghayi blog logo +
+ +
+ {dict.website.footer.Year} + {dict.website.footer.CopyRight} + • + + {dict.website.footer.Name} + +
-
+ ); } diff --git a/src/app/(routes)/blog/components/header/header.tsx b/src/app/(routes)/blog/components/header/header.tsx index 5d0cb82..541958b 100644 --- a/src/app/(routes)/blog/components/header/header.tsx +++ b/src/app/(routes)/blog/components/header/header.tsx @@ -5,6 +5,7 @@ import Link from "next/link"; import BurgerButton from "../burger-button/burgerButton"; import SelectLanguage from "../selectLanguage/selectLanguage"; import SubscribeModal from "../subscribe/subscribeModal"; +import { ThemeToggle } from "@/app/(routes)/(website)/components/theme-toggle/theme-toggle"; import { cookies } from "next/headers"; import { getDictionary } from "@/app/lib/functions/dictionaries"; import { getDefaultLocale } from "@/app/lib/functions/utils"; @@ -38,14 +39,8 @@ export default async function Header() { defaultLocale={(await cookies()).get("defaultLocale")} />
-
- search icon +
+
diff --git a/src/app/(routes)/blog/components/home/Categories/Categories.tsx b/src/app/(routes)/blog/components/home/Categories/Categories.tsx index 9c6e710..ebd5f73 100644 --- a/src/app/(routes)/blog/components/home/Categories/Categories.tsx +++ b/src/app/(routes)/blog/components/home/Categories/Categories.tsx @@ -3,57 +3,59 @@ import { getDefaultLocale } from "@/app/lib/functions/utils"; import { CategoryType } from "@/app/types/types"; import Image from "next/image"; import Link from "next/link"; +import { ArrowLeft, ArrowRight } from "lucide-react"; interface CategoriesProps { data: CategoryType[]; } export default async function Categories({ data }: CategoriesProps) { - const dict = await getDictionary(await getDefaultLocale()); + const locale = await getDefaultLocale(); + const dict = await getDictionary(locale); + const isRTL = locale === "fa"; + + if (!data || data.length === 0) return null; + return ( -
-
-

+
+
+

{dict.blog.homePage.categories}

- {dict.blog.homePage.viewAll} + {dict.blog.homePage.viewAll} + {isRTL ? ( + + ) : ( + + )}
-
+
{data.map((category) => ( -
+
{`${category.name}
-

+

{category.name}

))} - - {/*
- right-arrow icon -
*/}
); diff --git a/src/app/(routes)/blog/components/home/filtered-posts/filteredPosts.tsx b/src/app/(routes)/blog/components/home/filtered-posts/filteredPosts.tsx index a574578..1836128 100644 --- a/src/app/(routes)/blog/components/home/filtered-posts/filteredPosts.tsx +++ b/src/app/(routes)/blog/components/home/filtered-posts/filteredPosts.tsx @@ -3,94 +3,118 @@ import { getDefaultLocale } from "@/app/lib/functions/utils"; import { PostType } from "@/app/types/types"; import Image from "next/image"; import Link from "next/link"; +import { ArrowLeft, ArrowRight } from "lucide-react"; interface FilteredPostsProps { data: PostType[]; } export default async function FilteredPosts({ data }: FilteredPostsProps) { - const dict = await getDictionary(await getDefaultLocale()); + const locale = await getDefaultLocale(); + const dict = await getDictionary(locale); + const isRTL = locale === "fa"; + + if (!data || data.length === 0) return null; + + const featured = data[0]; + const sidePosts = data.slice(1); + return ( -
-
-

+
+ {/* Section Header */} +
+

{dict.blog.homePage.popular}

- {dict.blog.homePage.viewAll} + {dict.blog.homePage.viewAll} + {isRTL ? ( + + ) : ( + + )}
-
-
- {data.slice(1).map((post) => ( +
+ {/* Side Posts Grid (Mobile: 1 col, Tablet+: 2 cols) */} +
+ {sidePosts.map((post) => (
- - {post.category.name} - - - {post.title} - +
+ + {post.category.name} + + + {post.title} + +
+ +
+ {post.author?.name} + + {isRTL ? "مطالعه مقاله ←" : "Read →"} + +
))}
-
+ {/* Large Featured Post */} +
{`${data[0].title} -
+
-
-
-
-

- {dict.blog.homePage.by} -

- - {data[0].author.name} - -
-
-

- {dict.blog.homePage.in} -

- - {data[0].category.name} - -
+
+
+ + {featured.category.name} + + + {dict.blog.homePage.by} {featured.author?.name} +
- {data[0].title} + {featured.title} -

- {data[0].excerpt} -

+ {featured.excerpt && ( +

+ {featured.excerpt} +

+ )} + +
+ + {dict.blog.homePage.readArticle} + {isRTL ? : } + +
diff --git a/src/app/(routes)/blog/components/home/new/new.tsx b/src/app/(routes)/blog/components/home/new/new.tsx index 305ed5e..f30b30c 100644 --- a/src/app/(routes)/blog/components/home/new/new.tsx +++ b/src/app/(routes)/blog/components/home/new/new.tsx @@ -4,6 +4,7 @@ import { formatDate } from "@/app/lib/functions/formatDate"; import { PostType } from "@/app/types/types"; import Image from "next/image"; import Link from "next/link"; +import { ArrowLeft, ArrowRight } from "lucide-react"; import { estimateReadingTime } from "../../../posts/[postSlug]/readingTime"; interface NewProps { @@ -13,114 +14,115 @@ interface NewProps { export default async function New({ data }: NewProps) { const locale = await getDefaultLocale(); const dict = await getDictionary(locale); + const isRTL = locale === "fa"; + + if (!data || data.length === 0) return null; + const featured = data[0]; const readingTime = estimateReadingTime(featured.body, locale); const featuredTags = Array.isArray(featured.tags) ? featured.tags.slice(0, 2) : []; + const sidePosts = data.slice(1); + return ( -
-
+
+ {/* Featured Big Banner */} +
{`${featured.title} -
+
-
-
-
-

- {dict.blog.homePage.by} -

- - {featured.author.name} - -
-
-

- {dict.blog.homePage.in} -

- - {featured.category.name} - -
+
+
+ + {featured.category.name} + + + {dict.blog.homePage.by} {featured.author?.name} +
{featured.title} -

- {featured.excerpt} -

- -
- {featuredTags.length > 0 ? ( -
- {featuredTags.map((tag) => ( - - #{tag.name} - - ))} -
- ) : null} -

- {readingTime} {dict.blog.homePage.readTime} + {featured.excerpt && ( +

+ {featured.excerpt}

-
+ )} - - {dict.blog.homePage.readArticle} - +
+
+ {featuredTags.map((tag) => ( + + #{tag.name} + + ))} + + {readingTime} {dict.blog.homePage.readTime} + +
+ + + {dict.blog.homePage.readArticle} + {isRTL ? : } + +
-
-
-

+ {/* Side Latest Articles Column */} +
+
+

{dict.blog.homePage.new}

- {dict.blog.homePage.viewAll} + {dict.blog.homePage.viewAll} + {isRTL ? : }
- {data.slice(1).map((post) => ( -
-

- {formatDate(post.created_at, locale)} -

- + {sidePosts.slice(0, 4).map((post) => ( +
- {post.title} - -
- ))} + + {formatDate(post.created_at, locale)} + + + {post.title} + +
+ ))} +

); diff --git a/src/app/(routes)/blog/components/home/newsletter/newsletterCta.tsx b/src/app/(routes)/blog/components/home/newsletter/newsletterCta.tsx index 4e30ca3..4147598 100644 --- a/src/app/(routes)/blog/components/home/newsletter/newsletterCta.tsx +++ b/src/app/(routes)/blog/components/home/newsletter/newsletterCta.tsx @@ -13,15 +13,20 @@ export default async function NewsletterCta() { return (
-

+
+
+ +

{dict.blog.homePage.newsletterTitle}

-

+

{dict.blog.homePage.newsletterText}

- +
+ +

); -} \ No newline at end of file +} diff --git a/src/app/(routes)/blog/components/home/random/random.tsx b/src/app/(routes)/blog/components/home/random/random.tsx index 83bbf6d..ff8c09e 100644 --- a/src/app/(routes)/blog/components/home/random/random.tsx +++ b/src/app/(routes)/blog/components/home/random/random.tsx @@ -9,61 +9,68 @@ interface RandomProps { } export default async function Random({ data }: RandomProps) { - const dict = await getDictionary(await getDefaultLocale()); + const locale = await getDefaultLocale(); + const dict = await getDictionary(locale); + + if (!data || data.length === 0) return null; + return ( -
-
-

+
+
+

{dict.blog.homePage.random}

-
+ +
{data.map((randomPost) => (
- {`${randomPost.title} -
-
-

- {dict.blog.homePage.by} -

- - {randomPost.author.name} - +
+
+ {`${randomPost.title}
-
-

- {dict.blog.homePage.in} -

+ +
{randomPost.category.name} + • + + {dict.blog.homePage.by} {randomPost.author.name} +
-
- - {randomPost.title} - -

- {randomPost.excerpt} -

+ + {randomPost.title} + + + {randomPost.excerpt && ( +

+ {randomPost.excerpt} +

+ )} +
+ +
+ + {locale === "fa" ? "مطالعه بیشتر ←" : "Read more →"} + +
))}
diff --git a/src/app/(routes)/blog/components/mobile-menu/mobileMenu.tsx b/src/app/(routes)/blog/components/mobile-menu/mobileMenu.tsx index 8925f65..0c46423 100644 --- a/src/app/(routes)/blog/components/mobile-menu/mobileMenu.tsx +++ b/src/app/(routes)/blog/components/mobile-menu/mobileMenu.tsx @@ -1,107 +1,165 @@ +"use client"; + import Image from "next/image"; import Link from "next/link"; import { usePathname, useRouter } from "next/navigation"; +import { X, Globe, ArrowLeft, ArrowRight, Home, Flame, Clock, Grid, BookOpen } from "lucide-react"; import { setSelectedLocale, useSelectedLocale, } from "@/app/lib/hooks/use-selected-locale"; +import { ThemeToggle } from "@/app/(routes)/(website)/components/theme-toggle/theme-toggle"; -type propsType = { +type PropsType = { clicked: boolean; setClicked: React.Dispatch>; }; -export default function MobileMenu({ clicked, setClicked }: propsType) { + +export default function MobileMenu({ clicked, setClicked }: PropsType) { const pathname = usePathname(); const router = useRouter(); const selectedLocale = useSelectedLocale(); + const isRTL = selectedLocale === "fa"; const handleLocaleChange = (locale: "fa" | "en") => { + try { + const url = new URL(window.location.href); + url.searchParams.set("lang", locale); + window.history.pushState({}, "", url.toString()); + } catch {} setSelectedLocale(locale); router.refresh(); setClicked(false); }; + const closeMenu = () => setClicked(false); + + const links = [ + { + href: "/blog", + label: isRTL ? "صفحه اصلی وبلاگ" : "Blog Home", + icon: Home, + exact: true, + }, + { + href: "/blog/filtered-posts/popular", + label: isRTL ? "محبوب‌ترین‌ها" : "Popular", + icon: Flame, + }, + { + href: "/blog/filtered-posts/new", + label: isRTL ? "تازه‌ترین مقالات" : "Latest Articles", + icon: Clock, + }, + { + href: "/blog/posts", + label: isRTL ? "همه مقالات" : "All Posts", + icon: BookOpen, + }, + { + href: "/blog/categories", + label: isRTL ? "دسته‌بندی‌ها" : "Categories", + icon: Grid, + }, + ]; + return ( -
+ <> + {/* Backdrop */}
setClicked(false)} - >
+ className={`fixed inset-0 z-[60] bg-black/70 backdrop-blur-sm transition-opacity duration-300 lg:hidden ${ + clicked ? "opacity-100 pointer-events-auto" : "opacity-0 pointer-events-none" + }`} + onClick={closeMenu} + aria-hidden="true" + /> + + {/* Drawer */}
-
-
- parsaaghayi's blog logo + {/* Header */} +
+
+ +
+ parsaaghayi blog +
+ +
-
-
-
+ + {/* Footer Area with Language Switcher and Portfolio Link */} +
{ - e.preventDefault(); - handleLocaleChange(selectedLocale === "fa" ? "en" : "fa"); - }} + href="/" + onClick={closeMenu} + className="flex items-center justify-between w-full rounded-xl bg-muted/50 hover:bg-muted px-4 py-3 text-xs font-semibold text-foreground transition-colors" > - {selectedLocale === "fa" ? "English" : "فارسی"} + {isRTL ? "بازگشت به سایت اصلی و رزومه" : "Back to Main Portfolio"} + {isRTL ? : } + +
+ {isRTL ? "حالت تم (تیره / روشن)" : "Theme Mode"} + +
+ +
-
+ ); } diff --git a/src/app/(routes)/blog/components/subscribe/subscribeModal.tsx b/src/app/(routes)/blog/components/subscribe/subscribeModal.tsx index 506c2e8..2a2f1ec 100644 --- a/src/app/(routes)/blog/components/subscribe/subscribeModal.tsx +++ b/src/app/(routes)/blog/components/subscribe/subscribeModal.tsx @@ -58,8 +58,8 @@ export default function SubscribeModal({ const triggerClassName = variant === "header" - ? "flex items-center justify-center rounded-[10px] bg-blog-purple px-[12px] py-[8px] text-[16px] font-[600] text-white shadow-md capitalize transition-all hover:scale-105 sm:px-[20px] sm:py-[12px]" - : "rounded-full bg-white px-8 py-3 text-[16px] font-[700] capitalize text-blog-purple transition-transform hover:scale-105"; + ? "flex items-center justify-center rounded-xl bg-primary px-3 py-2 text-xs sm:text-sm font-semibold text-primary-foreground shadow-md transition-all hover:bg-primary/90 hover:scale-105" + : "rounded-full bg-primary px-6 py-2.5 text-sm font-semibold text-primary-foreground shadow-md transition-transform hover:scale-105"; const submit = async (event: FormEvent) => { event.preventDefault(); @@ -136,13 +136,13 @@ export default function SubscribeModal({ className="absolute inset-0 bg-slate-950/70 backdrop-blur-sm" onClick={() => setOpen(false)} /> -
+
-

+

{labels.title}

-

+

{labels.text}

@@ -150,14 +150,14 @@ export default function SubscribeModal({ type="button" onClick={() => setOpen(false)} aria-label={labels.close} - className="flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-blog-background text-[18px] leading-none text-blog-text-passive transition-colors hover:bg-[#e4e0ee]" + className="flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-muted text-[18px] leading-none text-muted-foreground transition-colors hover:bg-muted-foreground/20 hover:text-foreground" > ×
{status.kind === "done" ? ( -

+

{status.message}

) : ( @@ -206,7 +206,7 @@ export default function SubscribeModal({ diff --git a/src/app/(routes)/blog/layout.tsx b/src/app/(routes)/blog/layout.tsx index 8c35bd2..29b8f12 100644 --- a/src/app/(routes)/blog/layout.tsx +++ b/src/app/(routes)/blog/layout.tsx @@ -59,7 +59,7 @@ export default function RootLayout({ children: React.ReactNode; }>) { return ( -
+
- -
+ +
{children} -
+
diff --git a/src/app/lib/dictionaries/en.json b/src/app/lib/dictionaries/en.json index 48d0bbb..80f77c9 100644 --- a/src/app/lib/dictionaries/en.json +++ b/src/app/lib/dictionaries/en.json @@ -4,31 +4,31 @@ "top": { "greeting": "Hi, I am", "name": "Parsa Aghayi", - "profession": "Senior Frontend Engineer & Web Architect", - "roll": "Turning complex engineering challenges into clean, maintainable code.", - "descriptionAboutMe": "Crafting high-performance web applications, scalable React/Next.js architectures, and seamless backend integrations. Turning complex engineering challenges into clean, maintainable code.", - "cta": "Let's Work Together" + "profession": "Senior Full-Stack Engineer & Web Architect", + "roll": "Architecting scalable web applications, high-concurrency platforms, and resilient software systems.", + "descriptionAboutMe": "Crafting high-performance web applications, scalable Next.js & React architectures, and robust backend integrations. Turning complex engineering challenges into clean, maintainable code.", + "cta": "Let's Connect & Collaborate" }, "nav": { - "home": "home", - "aboutMe": "about Me", - "services": "services", - "projects": "projects", - "testimonials": "testimonials", - "contact": "contact", - "blog": "blog" + "home": "Home", + "aboutMe": "About", + "services": "Services", + "projects": "Projects", + "testimonials": "Testimonials", + "contact": "Contact", + "blog": "Blog" }, "services": { - "title": "services", - "description": "In today's digital landscape, having a robust online presence is essential for businesses and individuals alike. Our services cater to a wide range of web development needs, ensuring that your project is functional, visually appealing, and user-friendly." + "title": "Technical Services & Expertise", + "description": "Architecting high-concurrency systems, enterprise frontend platforms, performance optimization, and scalable full-stack web applications built for reliability and speed." }, "projects": { - "title": "my projects", - "description": "Explore a selection of my web development projects that showcase my ability to deliver high-quality solutions and create engaging digital experiences. See how I can help bring your vision to life!" + "title": "Featured Projects & Architecture", + "description": "A showcase of high-concurrency banking platforms, enterprise automation suites, e-commerce ecosystems, and open-source packages engineered for scale and speed." }, "testimonials": { - "title": "testimonials", - "description": "The Testimonials section features feedback from clients and collaborators, highlighting the quality of my services and commitment to client satisfaction. These authentic reviews reflect my professionalism and the positive impact of my work, giving potential clients confidence in choosing me for their web development needs.", + "title": "Testimonials & Engineering Feedback", + "description": "Direct feedback from technical leaders, founders, and engineering collaborators on delivering mission-critical web applications under real-world constraints.", "data": [ { "name": "Sarah Johnson", @@ -69,8 +69,8 @@ ] }, "contact": { - "slogan": "Let's Design Together", - "description": "The Contact Me section offers a simple way to reach out for inquiries, project proposals, or collaboration opportunities. Fill out the contact form or use the provided information, and I'll respond promptly to discuss your ideas and how I can help.", + "slogan": "Let's Build Something Impactful", + "description": "Have a complex architectural challenge, high-scale web project, or technical consulting inquiry? Let's connect and discuss how we can engineer the right solution.", "button": "Contact Me", "placeholder": "Enter your Email address here...", "form": { @@ -91,38 +91,38 @@ } }, "header": { - "Name": "parsa aghayi", - "Home": "home", - "AboutMe": "about Me", - "Services": "services", - "Projects": "projects", - "Testimonials": "testimonials", - "Contact": "contact", - "Blog": "blog", + "Name": "Parsa Aghayi", + "Home": "Home", + "AboutMe": "About", + "Services": "Services", + "Projects": "Projects", + "Testimonials": "Testimonials", + "Contact": "Contact", + "Blog": "Blog", "Button": "Resume" }, "footer": { - "Name": "parsa aghayi", - "Home": "home", - "AboutMe": "about Me", - "Services": "services", - "Projects": "projects", - "Testimonials": "testimonials", - "Contact": "contact", - "Blog": "blog", + "Name": "Parsa Aghayi", + "Home": "Home", + "AboutMe": "About", + "Services": "Services", + "Projects": "Projects", + "Testimonials": "Testimonials", + "Contact": "Contact", + "Blog": "Blog", "Year": "© 2026", "CopyRight": "All Rights Reserved, Inc." } }, "blog": { "homePage": { - "viewAll": "viewAll", - "new": "new", - "categories": "categories", - "popular": "popular", - "random": "random", - "by": "BY", - "in": "IN", + "viewAll": "View all", + "new": "New", + "categories": "Categories", + "popular": "Popular", + "random": "Random", + "by": "By", + "in": "in", "readArticle": "Read article", "newsletterTitle": "Get fresh articles in your inbox", "newsletterText": "One useful engineering post per week. No spam, unsubscribe anytime.", @@ -130,8 +130,8 @@ "readTime": "min read" }, "filteredPostsPage": { - "newTitle": "new", - "popularTitle": "popular", + "newTitle": "New Articles", + "popularTitle": "Popular Articles", "newDescription": "Explore the latest posts on our blog. Stay updated with fresh content, insightful articles, and the most recent discussions in your areas of interest.", "popularDescription": "Discover the most popular posts with the highest views. These articles have resonated with our audience and are trending across various topics." }, diff --git a/src/app/lib/dictionaries/fa.json b/src/app/lib/dictionaries/fa.json index 01fecbe..880b338 100644 --- a/src/app/lib/dictionaries/fa.json +++ b/src/app/lib/dictionaries/fa.json @@ -4,10 +4,10 @@ "top": { "greeting": "سلام، من", "name": "پارسا آقایی", - "profession": "ارشد توسعه فرانت‌اند و معمار راهکارهای وب", - "roll": "تمرکز من بر خلق رابط‌های کاربری بسیار بهینه و توسعه کامپوننت‌های مقیاس‌پذیر است.", - "descriptionAboutMe": "با بیش از ۱۰ سال تجربه در دنیای توسعه وب، مسیر کاری من ترکیبی از مهندسی دقیق فرانت‌اند و درک عمیق از معماری بک‌اند است. تخصص اصلی من در بازطراحی و Refactor کدهای پیچیده، بهینه‌سازی Performance پروژه‌های بزرگ Next.js و پیاده‌سازی زیرساخت‌های پایدار وب است.", - "cta": "بیایید با هم کار کنیم" + "profession": "مهندس ارشد فول‌استک و معمار سیستم‌های وب", + "roll": "طراحی و توسعه سامانه‌های مقیاس‌پذیر، پلتفرم‌های پرترافیک و معماری مدرن نرم‌افزار.", + "descriptionAboutMe": "با بیش از ۱۰ سال تجربه تخصصی در اکوسیستم وب، تمرکز من بر توسعه فول‌استک، حل چالش‌های پیچیده پرفورمنس در لایه‌های Next.js و فرانت‌اند، طراحی معماری بک‌اند و میکروسرویس‌ها، و استقرار پایپ‌لاین‌های خودکار CI/CD در سیستم‌های پرترافیک سازمانی است.", + "cta": "شروع گفتگو و همکاری" }, "nav": { "home": "خانه", @@ -19,16 +19,16 @@ "blog": "وبلاگ" }, "services": { - "title": "خدمات", - "description": "در چشم‌انداز دیجیتال امروز، داشتن یک حضور آنلاین قدرتمند برای کسب‌وکارها و افراد ضروری است. خدمات ما طیف گسترده‌ای از نیازهای توسعه وب را پوشش می‌دهد تا اطمینان حاصل شود که پروژه شما کاربردی، از نظر بصری جذاب و کاربرپسند است." + "title": "حوزه‌های تخصصی و خدمات مهندسی", + "description": "تمرکز بر معماری سیستم‌های مقیاس‌پذیر، مهندسی عملکرد در ترافیک بالا، توسعه مدرن فول‌استک و راهکارهای نرم‌افزاری پایدار برای محصولات دیجیتال و سامانه‌های سازمانی." }, "projects": { - "title": "پروژه‌های من", - "description": "مجموعه‌ای از پروژه‌های توسعه وب من را بررسی کنید که توانایی من در ارائه راهکارهای با کیفیت بالا و ایجاد تجربه‌های دیجیتال جذاب را نشان می‌دهد. ببینید چگونه می‌توانم به شما در تحقق چشم‌اندازتان کمک کنم!" + "title": "پروژه‌ها و نمونه‌کارها", + "description": "مروری بر پروژه‌های کلان بانکی، سامانه‌های پرترافیک، پلتفرم‌های تجارت الکترونیک و ابزارهای متن‌باز که با رویکرد پرفورمنس، پایداری و استانداردهای تمیز مهندسی نرم‌افزار پیاده‌سازی شده‌اند." }, "testimonials": { - "title": "نظرات", - "description": "بخش نظرات شامل بازخوردهای مشتریان و همکاران است که کیفیت خدمات و تعهد من به رضایت مشتری را برجسته می‌کند. این بررسی‌های واقعی، حرفه‌ای‌گری و تأثیر مثبت کارهای من را نشان می‌دهد و به مشتریان احتمالی اطمینان می‌دهد.", + "title": "دیدگاه همکاران و کارفرمایان", + "description": "روایت تجربه همکاری مدیران فنی، هم‌بنیان‌گذاران و همکاران در تحویل موفق پروژه‌های پرترافیک، چالش‌های پیچیده نرم‌افزاری و توسعه سیستم‌های پایدار.", "data": [ { "name": "سارا جانسون", @@ -69,8 +69,8 @@ ] }, "contact": { - "slogan": "بیایید با هم طراحی کنیم", - "description": "بخش تماس با من راهی ساده برای ارتباط جهت استعلامات، پیشنهادهای پروژه یا فرصت‌های همکاری است. فرم تماس را پر کنید یا از اطلاعات ارائه شده استفاده کنید و من سریعاً برای بحث درباره ایده‌های شما و نحوه کمک من پاسخ خواهم داد.", + "slogan": "همکاری در پروژه‌های مقیاس‌پذیر", + "description": "برای مشاوره فنی، همکاری در معماری سیستم‌های وب، یا بررسی پروژه‌های نرم‌افزاری جدید، خوشحال می‌شوم با هم در ارتباط باشیم.", "button": "تماس با من", "placeholder": "آدرس ایمیل خود را اینجا وارد کنید...", "form": { diff --git a/tailwind.config.ts b/tailwind.config.ts index e92a920..72459a1 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -49,9 +49,9 @@ const config: Config = { foreground: 'hsl(var(--card-foreground))', }, blog: { - red: '#FF5480', - purple: '#9283E0', - orange: '#FFA599', + red: '#FD6F00', + purple: '#FD6F00', + orange: '#FF8833', yellow: '#FFD581', violet: '#FE90EC', blue: '#27AEFF', @@ -61,8 +61,8 @@ const config: Config = { text: { default: 'var(--blog-text-default, #000000)', passive: '#9B9B9B', - quote: '#9283E0', - hover: '#FF5480', + quote: '#FD6F00', + hover: '#FD6F00', }, }, },