feat: show full supported-platforms block on each downloader page
Replace the plain "looking for another platform?" text link at the bottom of each per-platform page with the same SupportedPlatformsSection used on the homepage, giving stronger internal linking between all platform pages. Drop the now-unused otherPlatforms/browseAll strings. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+1
-3
@@ -96,9 +96,7 @@
|
|||||||
"heading": "{platform} Downloader",
|
"heading": "{platform} Downloader",
|
||||||
"subheading": "Paste a {platform} link below and get your file in seconds — free, no account required.",
|
"subheading": "Paste a {platform} link below and get your file in seconds — free, no account required.",
|
||||||
"aboutHeading": "About downloading from {platform}",
|
"aboutHeading": "About downloading from {platform}",
|
||||||
"faqHeading": "{platform} downloader FAQ",
|
"faqHeading": "{platform} downloader FAQ"
|
||||||
"otherPlatforms": "Looking for another platform?",
|
|
||||||
"browseAll": "Browse all supported sites"
|
|
||||||
},
|
},
|
||||||
"downloaderPages": {
|
"downloaderPages": {
|
||||||
"youtube": {
|
"youtube": {
|
||||||
|
|||||||
+1
-3
@@ -96,9 +96,7 @@
|
|||||||
"heading": "Descargador de {platform}",
|
"heading": "Descargador de {platform}",
|
||||||
"subheading": "Pega un enlace de {platform} abajo y obtén tu archivo en segundos — gratis, sin cuenta.",
|
"subheading": "Pega un enlace de {platform} abajo y obtén tu archivo en segundos — gratis, sin cuenta.",
|
||||||
"aboutHeading": "Sobre la descarga desde {platform}",
|
"aboutHeading": "Sobre la descarga desde {platform}",
|
||||||
"faqHeading": "FAQ del descargador de {platform}",
|
"faqHeading": "FAQ del descargador de {platform}"
|
||||||
"otherPlatforms": "¿Buscas otra plataforma?",
|
|
||||||
"browseAll": "Explorar todos los sitios compatibles"
|
|
||||||
},
|
},
|
||||||
"downloaderPages": {
|
"downloaderPages": {
|
||||||
"youtube": {
|
"youtube": {
|
||||||
|
|||||||
+1
-3
@@ -96,9 +96,7 @@
|
|||||||
"heading": "Téléchargeur {platform}",
|
"heading": "Téléchargeur {platform}",
|
||||||
"subheading": "Collez un lien {platform} ci-dessous et récupérez votre fichier en quelques secondes — gratuit, sans compte.",
|
"subheading": "Collez un lien {platform} ci-dessous et récupérez votre fichier en quelques secondes — gratuit, sans compte.",
|
||||||
"aboutHeading": "À propos du téléchargement depuis {platform}",
|
"aboutHeading": "À propos du téléchargement depuis {platform}",
|
||||||
"faqHeading": "FAQ téléchargeur {platform}",
|
"faqHeading": "FAQ téléchargeur {platform}"
|
||||||
"otherPlatforms": "Vous cherchez une autre plateforme ?",
|
|
||||||
"browseAll": "Parcourir tous les sites pris en charge"
|
|
||||||
},
|
},
|
||||||
"downloaderPages": {
|
"downloaderPages": {
|
||||||
"youtube": {
|
"youtube": {
|
||||||
|
|||||||
+1
-3
@@ -96,9 +96,7 @@
|
|||||||
"heading": "Downloader {platform}",
|
"heading": "Downloader {platform}",
|
||||||
"subheading": "Incolla un link {platform} qui sotto e ottieni il tuo file in pochi secondi — gratis, senza account.",
|
"subheading": "Incolla un link {platform} qui sotto e ottieni il tuo file in pochi secondi — gratis, senza account.",
|
||||||
"aboutHeading": "Informazioni sullo scaricamento da {platform}",
|
"aboutHeading": "Informazioni sullo scaricamento da {platform}",
|
||||||
"faqHeading": "FAQ downloader {platform}",
|
"faqHeading": "FAQ downloader {platform}"
|
||||||
"otherPlatforms": "Cerchi un'altra piattaforma?",
|
|
||||||
"browseAll": "Sfoglia tutti i siti supportati"
|
|
||||||
},
|
},
|
||||||
"downloaderPages": {
|
"downloaderPages": {
|
||||||
"youtube": {
|
"youtube": {
|
||||||
|
|||||||
@@ -2,11 +2,11 @@ import type { Metadata } from 'next'
|
|||||||
import { notFound } from 'next/navigation'
|
import { notFound } from 'next/navigation'
|
||||||
import { getTranslations } from 'next-intl/server'
|
import { getTranslations } from 'next-intl/server'
|
||||||
import { routing } from '@/i18n/routing'
|
import { routing } from '@/i18n/routing'
|
||||||
import { Link } from '@/navigation'
|
|
||||||
import { getDownloaderPlatformBySlug } from '@/lib/downloader-platforms'
|
import { getDownloaderPlatformBySlug } from '@/lib/downloader-platforms'
|
||||||
import { SubmitForm } from '@/components/SubmitForm'
|
import { SubmitForm } from '@/components/SubmitForm'
|
||||||
import { ReassuranceSection } from '@/components/ReassuranceSection'
|
import { ReassuranceSection } from '@/components/ReassuranceSection'
|
||||||
import { HowItWorksSection } from '@/components/HowItWorksSection'
|
import { HowItWorksSection } from '@/components/HowItWorksSection'
|
||||||
|
import { SupportedPlatformsSection } from '@/components/SupportedPlatformsSection'
|
||||||
import { FaqAccordion } from '@/components/FaqAccordion'
|
import { FaqAccordion } from '@/components/FaqAccordion'
|
||||||
|
|
||||||
export async function generateMetadata({
|
export async function generateMetadata({
|
||||||
@@ -108,14 +108,7 @@ export default async function DownloaderPage({
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section className="pb-16 px-6 text-center">
|
<SupportedPlatformsSection locale={locale} />
|
||||||
<p className="text-sm text-gray-500 dark:text-gray-400">
|
|
||||||
{t('otherPlatforms')}{' '}
|
|
||||||
<Link href="/supported-sites" className="text-violet-600 dark:text-violet-400 hover:underline">
|
|
||||||
{t('browseAll')}
|
|
||||||
</Link>
|
|
||||||
</p>
|
|
||||||
</section>
|
|
||||||
</main>
|
</main>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user