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:
@@ -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