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",
|
||||
"subheading": "Paste a {platform} link below and get your file in seconds — free, no account required.",
|
||||
"aboutHeading": "About downloading from {platform}",
|
||||
"faqHeading": "{platform} downloader FAQ",
|
||||
"otherPlatforms": "Looking for another platform?",
|
||||
"browseAll": "Browse all supported sites"
|
||||
"faqHeading": "{platform} downloader FAQ"
|
||||
},
|
||||
"downloaderPages": {
|
||||
"youtube": {
|
||||
|
||||
+1
-3
@@ -96,9 +96,7 @@
|
||||
"heading": "Descargador de {platform}",
|
||||
"subheading": "Pega un enlace de {platform} abajo y obtén tu archivo en segundos — gratis, sin cuenta.",
|
||||
"aboutHeading": "Sobre la descarga desde {platform}",
|
||||
"faqHeading": "FAQ del descargador de {platform}",
|
||||
"otherPlatforms": "¿Buscas otra plataforma?",
|
||||
"browseAll": "Explorar todos los sitios compatibles"
|
||||
"faqHeading": "FAQ del descargador de {platform}"
|
||||
},
|
||||
"downloaderPages": {
|
||||
"youtube": {
|
||||
|
||||
+1
-3
@@ -96,9 +96,7 @@
|
||||
"heading": "Téléchargeur {platform}",
|
||||
"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}",
|
||||
"faqHeading": "FAQ téléchargeur {platform}",
|
||||
"otherPlatforms": "Vous cherchez une autre plateforme ?",
|
||||
"browseAll": "Parcourir tous les sites pris en charge"
|
||||
"faqHeading": "FAQ téléchargeur {platform}"
|
||||
},
|
||||
"downloaderPages": {
|
||||
"youtube": {
|
||||
|
||||
+1
-3
@@ -96,9 +96,7 @@
|
||||
"heading": "Downloader {platform}",
|
||||
"subheading": "Incolla un link {platform} qui sotto e ottieni il tuo file in pochi secondi — gratis, senza account.",
|
||||
"aboutHeading": "Informazioni sullo scaricamento da {platform}",
|
||||
"faqHeading": "FAQ downloader {platform}",
|
||||
"otherPlatforms": "Cerchi un'altra piattaforma?",
|
||||
"browseAll": "Sfoglia tutti i siti supportati"
|
||||
"faqHeading": "FAQ downloader {platform}"
|
||||
},
|
||||
"downloaderPages": {
|
||||
"youtube": {
|
||||
|
||||
@@ -2,11 +2,11 @@ import type { Metadata } from 'next'
|
||||
import { notFound } from 'next/navigation'
|
||||
import { getTranslations } from 'next-intl/server'
|
||||
import { routing } from '@/i18n/routing'
|
||||
import { Link } from '@/navigation'
|
||||
import { getDownloaderPlatformBySlug } from '@/lib/downloader-platforms'
|
||||
import { SubmitForm } from '@/components/SubmitForm'
|
||||
import { ReassuranceSection } from '@/components/ReassuranceSection'
|
||||
import { HowItWorksSection } from '@/components/HowItWorksSection'
|
||||
import { SupportedPlatformsSection } from '@/components/SupportedPlatformsSection'
|
||||
import { FaqAccordion } from '@/components/FaqAccordion'
|
||||
|
||||
export async function generateMetadata({
|
||||
@@ -108,14 +108,7 @@ export default async function DownloaderPage({
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="pb-16 px-6 text-center">
|
||||
<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>
|
||||
<SupportedPlatformsSection locale={locale} />
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user