--- export const prerender = true; import Layout from '~/layouts/PageLayout.astro'; import { getFocusedYouTubeTranslation, focusedYouTubeSupportedLanguages } from '~/i18n/translations.youtube'; export async function getStaticPaths() { return focusedYouTubeSupportedLanguages.map((lang) => ({ params: { lang }, })); } const { lang } = Astro.params; if (!focusedYouTubeSupportedLanguages.includes(lang)) { return Astro.redirect('/en/focusedyoutube'); } const t = getFocusedYouTubeTranslation(lang); const metadata = { title: t.title, description: t.summary, }; ---
🎬

{t.title}

{t.summary}

{t.summary}

{t.features.title}

{t.features.items.map((item, i) => (
{i === 0 ? '🚫' : i === 1 ? '🙈' : i === 2 ? '🔁' : i === 3 ? '⏩' : i === 4 ? '💬' : i === 5 ? '🎥' : i === 6 ? '🌐' : i === 7 ? '⚙️' : i === 8 ? '📱' : i === 9 ? '🔓' : '🔧'}

{item}

))}
📦

{t.howToInstall}

  1. 1

    {t.step1}

  2. 2

    {t.step2}

  3. 3

    {t.step3}

  4. 4

    {t.step4}

⚠️

{t.notes.title}

{t.notes.items.map((item, index) => (

{item}

))}
👥

Who Is This For?

{t.targetAudience}

📚

Learn More

{t.moreDetails}