--- import { useTranslations } from "@/i18n/utils"; import type { Lang } from "@/types/i18n"; import { defaultLang } from "@/i18n/ui"; import "../styles/global.css"; interface Props { title?: string; description?: string; } const lang = Astro.currentLocale as Lang || defaultLang; const { title = "Rishikesh S - Portfolio", description = "My Portfolio" } = Astro.props; const t = useTranslations(lang); ---