diff options
author | Valentin Popov <valentin@popov.link> | 2024-09-13 03:26:08 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-09-13 03:26:08 +0300 |
commit | 5217bcb24ceac2e7d441586edc56feba60b482a9 (patch) | |
tree | 9e8f10a6183fc19daa94dcc798567a23b7b641a1 /src/components/Pagination | |
parent | 4a821edd509151769ad0a67ac520653ae374f73c (diff) | |
download | popov.link-5217bcb24ceac2e7d441586edc56feba60b482a9.tar.xz popov.link-5217bcb24ceac2e7d441586edc56feba60b482a9.zip |
Refactor Pagination component to update page size in getStaticPaths
Diffstat (limited to 'src/components/Pagination')
-rw-r--r-- | src/components/Pagination/Next.astro | 18 | ||||
-rw-r--r-- | src/components/Pagination/Prev.astro | 18 |
2 files changed, 0 insertions, 36 deletions
diff --git a/src/components/Pagination/Next.astro b/src/components/Pagination/Next.astro deleted file mode 100644 index 1a95710..0000000 --- a/src/components/Pagination/Next.astro +++ /dev/null @@ -1,18 +0,0 @@ ---- -type Props = { - readonly url: string; -}; - -const { url } = Astro.props; ---- - -<style lang="scss"> - span { - float: right; - max-width: 40%; - } -</style> - -<span> - <a href={url}>Next ></a> -</span> diff --git a/src/components/Pagination/Prev.astro b/src/components/Pagination/Prev.astro deleted file mode 100644 index 2454876..0000000 --- a/src/components/Pagination/Prev.astro +++ /dev/null @@ -1,18 +0,0 @@ ---- -type Props = { - readonly url: string; -}; - -const { url } = Astro.props; ---- - -<style lang="scss"> - span { - float: left; - max-width: 40%; - } -</style> - -<span> - <a href={url}>< Prev</a> -</span> |