From f1a263986675ca48013abd07e2864f25f6d3ea3e Mon Sep 17 00:00:00 2001 From: Anthony GAEREMYNCK <1@anthony.sh> Date: Tue, 11 Aug 2026 11:55:48 +0200 Subject: [PATCH] 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 --- messages/en.json | 4 +--- messages/es.json | 4 +--- messages/fr.json | 4 +--- messages/it.json | 4 +--- src/app/[locale]/[slug]/page.tsx | 11 ++--------- 5 files changed, 6 insertions(+), 21 deletions(-) diff --git a/messages/en.json b/messages/en.json index 071581c..dd2cb74 100644 --- a/messages/en.json +++ b/messages/en.json @@ -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": { diff --git a/messages/es.json b/messages/es.json index 03bf80c..c97e60f 100644 --- a/messages/es.json +++ b/messages/es.json @@ -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": { diff --git a/messages/fr.json b/messages/fr.json index 0d327ea..2d50890 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -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": { diff --git a/messages/it.json b/messages/it.json index 439e2ff..5c05008 100644 --- a/messages/it.json +++ b/messages/it.json @@ -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": { diff --git a/src/app/[locale]/[slug]/page.tsx b/src/app/[locale]/[slug]/page.tsx index bc5d1f1..292b3d6 100644 --- a/src/app/[locale]/[slug]/page.tsx +++ b/src/app/[locale]/[slug]/page.tsx @@ -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({ -
-

- {t('otherPlatforms')}{' '} - - {t('browseAll')} - -

-
+ ) }