diff options
Diffstat (limited to 'examples/blog-multiple-authors/src/components/Pagination.astro')
-rw-r--r-- | examples/blog-multiple-authors/src/components/Pagination.astro | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/examples/blog-multiple-authors/src/components/Pagination.astro b/examples/blog-multiple-authors/src/components/Pagination.astro deleted file mode 100644 index f31f00776..000000000 --- a/examples/blog-multiple-authors/src/components/Pagination.astro +++ /dev/null @@ -1,44 +0,0 @@ ---- -export interface Props { - prevUrl: string; - nextUrl: string; -} - -const { prevUrl, nextUrl } = Astro.props; ---- - -<div class="wrapper"> - <nav class="nav"> - <a class="prev" href={prevUrl || "#"} aria-label="Previous Page">Prev</a> - <a class="next" href={nextUrl || "#"} aria-label="Next Page">Next</a> - </nav> -</div> - -<style lang="scss"> - .nav { - display: flex; - margin-right: auto; - margin-left: auto; - padding-top: 4rem; - padding-bottom: 4rem; - } - - .prev, - .next { - display: block; - text-transform: uppercase; - font-size: 0.8em; - - &[href="#"] { - display: none; - } - } - - .prev { - margin-right: auto; - } - - .next { - margin-left: auto; - } -</style> |