From 3645d60730770edc7e2c7e64eea22d17c6747eb9 Mon Sep 17 00:00:00 2001 From: Amirhossein Khalili Date: Sat, 6 Jun 2026 23:43:22 +0330 Subject: [PATCH] refactor(landing): align public navigation --- src/locales/en.ts | 18 ++++++----- src/locales/fa.ts | 18 ++++++----- src/pages/Landing.tsx | 70 +++++++++++++++++++++++-------------------- 3 files changed, 59 insertions(+), 47 deletions(-) diff --git a/src/locales/en.ts b/src/locales/en.ts index 8016650..9d33180 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -300,8 +300,10 @@ export const en = { }, createdSuccess: "Workspace created successfully", updatedSuccess: "Workspace updated successfully", - fetchError: "Failed to load workspace data", - remove: "Remove", + fetchError: "Failed to load workspace data", + loadErrorDescription: "The backend service may be unavailable. Please try again in a moment.", + retry: "Try again", + remove: "Remove", noUsersFound: "No user found", selectRole: "Select Role", add: "Add", @@ -398,9 +400,10 @@ export const en = { brandLabel: "Operating system for time", eyebrow: "Built for high-discipline teams that need clean time intelligence", nav: { - demo: "Product demo", - features: "Core capabilities", - workflow: "How it works", + demo: "Product demo", + features: "Core capabilities", + workflow: "How it works", + about: "About us", }, actions: { switchToEnglish: "English", @@ -409,8 +412,9 @@ export const en = { openApp: "Open app", openWorkspace: "Open workspace", startNow: "Start tracking with control", - watchDemo: "See the product demo", - readTerms: "Read terms", + watchDemo: "See the product demo", + readTerms: "Read terms", + readAbout: "About Qlockify", }, hero: { titleTop: "Turn every working hour into a reliable operating signal.", diff --git a/src/locales/fa.ts b/src/locales/fa.ts index 22118b5..6213add 100644 --- a/src/locales/fa.ts +++ b/src/locales/fa.ts @@ -301,8 +301,10 @@ export const fa = { }, createdSuccess: "ورک‌اسپیس با موفقیت ایجاد شد", updatedSuccess: "ورک‌اسپیس با موفقیت ویرایش شد", - fetchError: "خطا در دریافت اطلاعات ورک‌اسپیس", - remove: "حذف", + fetchError: "خطا در دریافت اطلاعات ورک‌اسپیس", + loadErrorDescription: "ممکن است سرویس بک‌اند در دسترس نباشد. لطفاً چند لحظه بعد دوباره تلاش کنید.", + retry: "تلاش دوباره", + remove: "حذف", noUsersFound: "کاربری یافت نشد", selectRole: "انتخاب نقش", add: "افزودن", @@ -395,9 +397,10 @@ export const fa = { brandLabel: "زیرساخت عملیاتی زمان", eyebrow: "طراحی‌شده برای تیم‌های دقیق که به داده زمانی قابل اتکا نیاز دارند", nav: { - demo: "دموی محصول", - features: "قابلیت‌ها", - workflow: "فرآیند کار", + demo: "دموی محصول", + features: "قابلیت‌ها", + workflow: "فرآیند کار", + about: "درباره ما", }, actions: { switchToEnglish: "English", @@ -406,8 +409,9 @@ export const fa = { openApp: "ورود به اپ", openWorkspace: "باز کردن ورک‌اسپیس", startNow: "شروع با کنترل کامل", - watchDemo: "مشاهده دموی محصول", - readTerms: "مطالعه قوانین", + watchDemo: "مشاهده دموی محصول", + readTerms: "مطالعه قوانین", + readAbout: "درباره Qlockify", }, hero: { titleTop: "هر ساعت کاری را به یک سیگنال عملیاتی قابل اعتماد تبدیل کنید.", diff --git a/src/pages/Landing.tsx b/src/pages/Landing.tsx index c4610a6..12bb9c7 100644 --- a/src/pages/Landing.tsx +++ b/src/pages/Landing.tsx @@ -110,15 +110,12 @@ export default function Landing() {
- - {t.landing.nav.demo} - - - {t.landing.nav.features} - - - {t.landing.nav.workflow} - + + {lang === "fa" ? "خانه" : "Home"} + + + {t.landing.nav.about} +
@@ -385,31 +382,38 @@ export default function Landing() {
-
-
-
-
{t.landing.finalCtaTag}
-

- {t.landing.finalCtaTitle} -

-

{t.landing.finalCtaDescription}

+
+
+
+
{t.landing.finalCtaTag}
+

+ {t.landing.finalCtaTitle} +

+

{t.landing.finalCtaDescription}

+
+
+ + + +
-
- - -
-