diff --git a/src/components/search/AlbumSearch.astro b/src/components/search/AlbumSearch.astro
index c2dc899..1fc3f11 100644
--- a/src/components/search/AlbumSearch.astro
+++ b/src/components/search/AlbumSearch.astro
@@ -4,6 +4,7 @@ import type { DefaultArgs } from '@prisma/client/runtime/library'
import { Image } from 'astro:assets'
import prismaClient from 'utils/prisma-client'
+import SearchNav from './SearchNav.astro'
interface Props {
query: string
@@ -40,24 +41,18 @@ const [count, search] = await Promise.all([
])
---
-
-
- Albums ({count}) {
- count > take ? (
-
- {' '}
- / Showing {page === 1 ? `first ${take}` : `${(page - 1) * take}-${Math.min(page * take, count)}`} results
-
- ) : null
- }
-
-
- {
- Array.from({ length: Math.ceil(count / take) }, (_, i) =>
- page === i + 1 ?
{i + 1} :
{i + 1}
- )
- }
-
+
+ Albums ({count}) {
+ count > take ? (
+
+ {' '}
+ / Showing {page === 1 ? `first ${take}` : `${(page - 1) * take}-${Math.min(page * take, count)}`} results
+
+ ) : null
+ }
+
+
+
{
@@ -75,9 +70,14 @@ const [count, search] = await Promise.all([
{album.title}
-
{album.releaseDate?.toISOString().split('T')[0]}
+
{album.releaseDate?.toISOString().split('T')[0]}
))
}
+