From 6a47cb4165e317721d0ebb7ff8bc33c53fa265dd Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 10 Jun 2025 14:01:27 +0000 Subject: refactor: remove Pagination component and restructure blog page - Deleted the Pagination component as it is no longer needed. - Refactored the blog page to directly display posts without pagination. - Introduced a new index page to list all blog posts in a single view. --- src/components/Pagination.astro | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 src/components/Pagination.astro (limited to 'src/components/Pagination.astro') diff --git a/src/components/Pagination.astro b/src/components/Pagination.astro deleted file mode 100644 index 0d656df..0000000 --- a/src/components/Pagination.astro +++ /dev/null @@ -1,35 +0,0 @@ ---- -type Props = { - readonly nextUrl?: string; - readonly prevUrl?: string; -}; - -const { nextUrl, prevUrl } = Astro.props; ---- - - - -
- { - prevUrl && ( - - < Prev - - ) - } - { - nextUrl && ( - - Next > - - ) - } -
-- cgit v1.2.3