aboutsummaryrefslogtreecommitdiff
path: root/src/components/Pagination/Prev.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Pagination/Prev.astro')
-rw-r--r--src/components/Pagination/Prev.astro18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/Pagination/Prev.astro b/src/components/Pagination/Prev.astro
new file mode 100644
index 0000000..2454876
--- /dev/null
+++ b/src/components/Pagination/Prev.astro
@@ -0,0 +1,18 @@
+---
+type Props = {
+ readonly url: string;
+};
+
+const { url } = Astro.props;
+---
+
+<style lang="scss">
+ span {
+ float: left;
+ max-width: 40%;
+ }
+</style>
+
+<span>
+ <a href={url}>&lt; Prev</a>
+</span>