--- import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "../components/ui/card"; import { Separator } from "../components/ui/separator"; import { getLangFromUrl, useTranslations } from "../i18n/utils"; const t = useTranslations(getLangFromUrl(Astro.url)); const { song } = Astro.props; --- {song.data.image.alt} {song.data.name[getLangFromUrl(Astro.url)]}
{song.data.comment[Astro.currentLocale]}
{t("music")["downloadPDF"]} {t("music")["downloadMP3"]} {t("music")["downloadFLAC"]}