"use client" import * as React from "react" import { Button } from "@/examples/base/ui-rtl/button" import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, } from "@/examples/base/ui-rtl/empty" import { IconFolderCode } from "@tabler/icons-react" import { ArrowUpRightIcon } from "lucide-react" import { useTranslation, type Translations, } from "@/components/language-selector" const translations: Translations = { en: { dir: "ltr", values: { title: "No Projects Yet", description: "You haven't created any projects yet. Get started by creating your first project.", createProject: "Create Project", importProject: "Import Project", learnMore: "Learn More", }, }, ar: { dir: "rtl", values: { title: "لا توجد مشاريع بعد", description: "لم تقم بإنشاء أي مشاريع بعد. ابدأ بإنشاء مشروعك الأول.", createProject: "إنشاء مشروع", importProject: "استيراد مشروع", learnMore: "تعرف على المزيد", }, }, he: { dir: "rtl", values: { title: "אין פרויקטים עדיין", description: "עדיין לא יצרת פרויקטים. התחל על ידי יצירת הפרויקט הראשון שלך.", createProject: "צור פרויקט", importProject: "ייבא פרויקט", learnMore: "למד עוד", }, }, } export function EmptyRtl() { const { dir, t } = useTranslation(translations, "ar") return ( {t.title} {t.description} ) }