feat(seo): slugged show urls, sr-only homepage intro, ISR detail pages
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ce630cd029
commit
735c63471a
11 files changed
+103
-28
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import { dehydrate, HydrationBoundary } from '@tanstack/react-query';
|
||||
import { Metadata } from 'next';
|
||||
import Link from 'next/link';
|
||||
|
||||
import JsonLd from '@/components/JsonLd';
|
||||
import randomQuery, { generatePage } from '@/data/queries/random';
|
||||
@@ -24,6 +25,22 @@ const Random = async () => {
|
||||
<JsonLd data={{ '@context': 'https://schema.org', '@type': 'WebSite', name: TITLE, url: SITE_URL }} />
|
||||
<h1 className='sr-only'>{TITLE} — Discover Your Next Favorite Movie</h1>
|
||||
<Container page={page} />
|
||||
<section className='sr-only'>
|
||||
<h2>Discover your next favorite movie</h2>
|
||||
<p>
|
||||
{TITLE} helps you decide what to watch: spin through random movie recommendations right on this page, browse
|
||||
the{' '}
|
||||
<Link className='underline underline-offset-2' href='/popular'>
|
||||
most popular movies
|
||||
</Link>{' '}
|
||||
everyone is talking about, or dive into the{' '}
|
||||
<Link className='underline underline-offset-2' href='/top'>
|
||||
top-rated films
|
||||
</Link>{' '}
|
||||
of all time. Open any title to see its rating, overview, cast, and similar shows — and keep favorites and a
|
||||
watchlist so you never lose track of what to watch next.
|
||||
</p>
|
||||
</section>
|
||||
</HydrationBoundary>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user