diff options
author | 2021-06-28 15:29:16 -0700 | |
---|---|---|
committer | 2021-06-28 15:29:16 -0700 | |
commit | 5591d4eb9fc70e781804f940fabd334b53ce7056 (patch) | |
tree | 9c4c4ebaf708e959a96b1fc9cede9c1fc9cc40b5 /examples/blog/src/components/Pagination.astro | |
parent | 7063c04dec48fcabcda104c42d61642a554f6044 (diff) | |
download | astro-5591d4eb9fc70e781804f940fabd334b53ce7056.tar.gz astro-5591d4eb9fc70e781804f940fabd334b53ce7056.tar.zst astro-5591d4eb9fc70e781804f940fabd334b53ce7056.zip |
update the blog example (#565)
Diffstat (limited to 'examples/blog/src/components/Pagination.astro')
-rw-r--r-- | examples/blog/src/components/Pagination.astro | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/examples/blog/src/components/Pagination.astro b/examples/blog/src/components/Pagination.astro deleted file mode 100644 index 401931c07..000000000 --- a/examples/blog/src/components/Pagination.astro +++ /dev/null @@ -1,44 +0,0 @@ ---- -export interface Props { - prevUrl: string; - nextUrl: string; -} - -const { prevUrl, nextUrl } = Astro.props; ---- - -<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> - -<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> |