--- import { ClientRouter } from "astro:transitions"; import BackToTop from "@/components/ui/back-to-top"; 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 = "Joey Zhao - Portfolio", description = "Engineering-focused personal website" } = Astro.props; const t = useTranslations(lang); ---