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
@@ -3,6 +3,7 @@ import { VirtuosoGrid, VirtuosoGridProps } from 'react-virtuoso';
|
||||
|
||||
import Poster from '@/components/Poster';
|
||||
import { showPreviewModal } from '@/components/Preview';
|
||||
import { showPath } from '@/lib/utils';
|
||||
|
||||
interface Props {
|
||||
shows: Show[];
|
||||
@@ -18,7 +19,7 @@ const components: VirtuosoGridProps<Movie, { shows: Show[]; onClick: (show: Show
|
||||
|
||||
if (!show) return null;
|
||||
|
||||
return <Poster show={show} href={`/${show.type}/${show.id}`} onClick={() => onClick?.(show)} />;
|
||||
return <Poster show={show} href={showPath(show)} onClick={() => onClick?.(show)} />;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user