Skip to content

Commit d2cbf11

Browse files
feat(routes/shows): add the shows count to header
This patch updates the header on the shows page to include the number of shows in our database. This number should ideally continue going up as I add more import sources. Right now, it is around a modest 20K.
1 parent 3b71da5 commit d2cbf11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/routes/_header.shows._index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,9 @@ export default function ShowsPage() {
182182
className='fixed inset-x-0 top-10 bottom-0 overflow-auto'
183183
>
184184
<div className='p-6 mx-auto max-w-screen-xl'>
185-
<h1 className='text-6xl mb-6 lowercase tracking-tighter'>shows</h1>
185+
<h1 className='text-6xl mb-6 lowercase tracking-tighter'>
186+
{count.toLocaleString()} shows
187+
</h1>
186188
{shows.length > 0 ? (
187189
<ol
188190
className='-m-1'

0 commit comments

Comments
 (0)