aboutsummaryrefslogtreecommitdiff
path: root/src/components/Pagination.astro
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2025-06-10 17:20:48 +0300
committerGitHub <noreply@github.com>2025-06-10 17:20:48 +0300
commitd74eec1c47a0d4da5c50b70da3fedbdef0cafcc6 (patch)
treeaffd620f3ea07a9054284b7baafbcd9bc33a1879 /src/components/Pagination.astro
parentd32248742050d59baf83c17a6c6566b3ecdf5614 (diff)
parent9ebcd40f60ffa393a56db850b6a6d0cf15ef4211 (diff)
downloadpopov.link-d74eec1c47a0d4da5c50b70da3fedbdef0cafcc6.tar.xz
popov.link-d74eec1c47a0d4da5c50b70da3fedbdef0cafcc6.zip
Merge pull request #48 from valentineus/header
New Header
Diffstat (limited to 'src/components/Pagination.astro')
-rw-r--r--src/components/Pagination.astro35
1 files changed, 0 insertions, 35 deletions
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;
----
-
-<style lang="scss">
- div {
- text-align: center;
- }
-
- span {
- margin: 0 2em;
- }
-</style>
-
-<div>
- {
- prevUrl && (
- <span>
- <a href={prevUrl}>&lt; Prev</a>
- </span>
- )
- }
- {
- nextUrl && (
- <span>
- <a href={nextUrl}>Next &gt;</a>
- </span>
- )
- }
-</div>