From aea8fb8b3d58f9648457a97f8b7d57512fdb72dd Mon Sep 17 00:00:00 2001 From: AminGhasempoor Date: Thu, 26 Feb 2026 10:42:38 +0330 Subject: [PATCH] build and format --- messages/fa.json | 20 ++-- .../Home/Desktop/Reservation/index.tsx | 103 ++++-------------- src/styles/globals.css | 4 +- 3 files changed, 31 insertions(+), 96 deletions(-) diff --git a/messages/fa.json b/messages/fa.json index f33daa6..a242b87 100644 --- a/messages/fa.json +++ b/messages/fa.json @@ -22,16 +22,16 @@ }, "Reservation": { "title": "رزرو خدمات زیبایی، ساده\u200Cتر از همیشه", - "stations" : "مراکز معتبر", - "online_reserve" : "رزرو انلاین سریع", - "start_reserve" : "شروع رزرو", - "customer" : "مشتریان", - "customer_number" : "+100K", - "clinic" : "کلینیک فعال", - "clinic_number" : "+336", - "salon" : "سالن زیبایی", - "salon_number" : "+345", - "score" : "امتیازدهی واقعی کاربران", + "stations": "مراکز معتبر", + "online_reserve": "رزرو انلاین سریع", + "start_reserve": "شروع رزرو", + "customer": "مشتریان", + "customer_number": "+100K", + "clinic": "کلینیک فعال", + "clinic_number": "+336", + "salon": "سالن زیبایی", + "salon_number": "+345", + "score": "امتیازدهی واقعی کاربران", "description": "ما این پلتفرم را ساختیم تا بتوانید بهترین سالن\u200Cهای زیبایی و کلینیک\u200Cهای معتبر را به راحتی پیدا کنید.\n مقایسه، رزرو آنلاین و تجربه\u200Cای بی\u200Cدردسر." }, "Application": { diff --git a/src/components/Home/Desktop/Reservation/index.tsx b/src/components/Home/Desktop/Reservation/index.tsx index 352af81..10b9af3 100644 --- a/src/components/Home/Desktop/Reservation/index.tsx +++ b/src/components/Home/Desktop/Reservation/index.tsx @@ -9,73 +9,42 @@ export default function Reservation() { const t = useTranslations("Reservation"); return ( -
+
- - {/* ================= TEXT CONTENT ================= */} -

- {t("title")} -

+

{t("title")}

-

- {t("description")} -

+

{t("description")}

{/* Features */}
- {[t("stations"), t("online_reserve"), t("score")].map( - (item, i) => ( -
- - {item} -
- ) - )} + {[t("stations"), t("online_reserve"), t("score")].map((item, i) => ( +
+ + {item} +
+ ))}
{/* Button */} {t("start_reserve")} @@ -88,23 +57,10 @@ export default function Reservation() { whileInView={{ opacity: 1, x: 0 }} viewport={{ once: true }} transition={{ delay: 0.4, duration: 0.9 }} - className="relative flex flex-col items-center order-2" + className="relative order-2 flex flex-col items-center" > - {/* Image */} -
+
reservation {[ { number: t("customer_number"), label: t("customer") }, { number: t("clinic_number"), label: t("clinic") }, { number: t("salon_number"), label: t("salon") }, ].map((item, i) => ( -
-

- {item.number} -

-

- {item.label} -

+
+

{item.number}

+

{item.label}

))} - -
); -} \ No newline at end of file +} diff --git a/src/styles/globals.css b/src/styles/globals.css index 02aa01c..2a5afc2 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -131,7 +131,7 @@ body { /* ===================== Primary (Purple) ====================== */ - --color-primary-50: #140B4E; + --color-primary-50: #140b4e; --color-primary-100: #7d34b9; --color-primary-200: #9a5cff; --color-primary-300: #b38bff; @@ -192,7 +192,7 @@ body { --color-text-muted: #9ca3af; --color-primary-100: #b38bff; - --color-primary-50: #140B4E; + --color-primary-50: #140b4e; --color-primary-200: #9a5cff; --color-primary-300: #7d34b9;