Finishig touches & translations
- Added Czech translation of the first blog post - Finishing touches and details - Translaitions of composition names - Changing naming scheme in content/music/
This commit is contained in:
@ -7,7 +7,6 @@ import {
|
||||
CardTitle,
|
||||
} from "../components/ui/card";
|
||||
import { Separator } from "../components/ui/separator";
|
||||
import { Image } from "astro:assets";
|
||||
|
||||
import { getLangFromUrl, useTranslations } from "../i18n/utils";
|
||||
const t = useTranslations(getLangFromUrl(Astro.url));
|
||||
@ -20,10 +19,9 @@ const { song } = Astro.props;
|
||||
src={song.data.image.url}
|
||||
alt={song.data.image.alt}
|
||||
class="rounded-md"
|
||||
inferSize
|
||||
/>
|
||||
<span class="py-2"></span>
|
||||
<CardTitle>{song.data.name}</CardTitle>
|
||||
<CardTitle>{song.data.name[getLangFromUrl(Astro.url)]}</CardTitle>
|
||||
<CardDescription>
|
||||
<br />
|
||||
{song.data.comment[Astro.currentLocale]}
|
||||
|
Reference in New Issue
Block a user