diff options
author | 2022-08-04 14:16:51 -0400 | |
---|---|---|
committer | 2022-08-04 14:16:51 -0400 | |
commit | f591150512903014461e4fa1be3bc53bd261af2f (patch) | |
tree | dfdad8d11b3379cc47618398281ebca6e1be91bc /examples/blog-multiple-authors/src/components/Pagination.astro | |
parent | 32580d4fdc6ba8bb9a7e39e0b2c001ab29b3b940 (diff) | |
download | astro-f591150512903014461e4fa1be3bc53bd261af2f.tar.gz astro-f591150512903014461e4fa1be3bc53bd261af2f.tar.zst astro-f591150512903014461e4fa1be3bc53bd261af2f.zip |
Audit examples templates (#3940)
* basics, framework-alpine, framework-solid, delete unused examples
* framework-multiple
* Remove non-standard file extensions, add missing .vscode folders
* Remove robots.txt
* Remove blog-multiple-authors
* Rewrite components comments to be consistent
* Update lockfile
* Remove unnecessary usage of SCSS in subpath example
* Fix props weirdness in portfolio example
* Remove Lit from `framework-multiple` for now
* Misc fixes
* Update lockfile
* I'm in lockfile hell, send help
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> |