diff --git a/src/pages/auth/AuthSideVisual.tsx b/src/pages/auth/AuthSideVisual.tsx new file mode 100644 index 0000000..e59bdde --- /dev/null +++ b/src/pages/auth/AuthSideVisual.tsx @@ -0,0 +1,128 @@ +import { BarChart3, BriefcaseBusiness, Clock3, FileText, Tags, TimerReset } from "lucide-react" +import type { ReactNode } from "react" + +import { useTranslation } from "../../hooks/useTranslation" + +const content = { + en: { + eyebrow: "Workspace time engine", + title: "Track time with context, not clutter.", + description: "Connect every timer to a client, project, tag, and reportable result.", + timer: "02:34:18", + billable: "Billable", + project: "Project", + projectName: "Mobile app", + report: "PDF export", + insight: "Weekly report", + tags: "Design, QA", + points: ["Accurate timers", "Project clarity", "Fast reports"], + }, + fa: { + eyebrow: "موتور زمان ورکاسپیس", + title: "زمان را با زمینهی کاری ثبت کنید، نه با شلوغی.", + description: "هر تایمر را به مشتری، پروژه، تگ و خروجی قابل گزارش وصل کنید.", + timer: "۰۲:۳۴:۱۸", + billable: "قابل محاسبه", + project: "پروژه", + projectName: "اپلیکیشن موبایل", + report: "خروجی PDF", + insight: "گزارش هفتگی", + tags: "طراحی، تست", + points: ["تایمر دقیق", "شفافیت پروژه", "گزارش سریع"], + }, +} + +export function AuthSideVisual() { + const { lang } = useTranslation() + const copy = lang === "fa" ? content.fa : content.en + + return ( +
+ {copy.eyebrow} +
++ {copy.description} +
+{label}
+{value}
+