aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Footer.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Footer.astro')
-rw-r--r--src/components/Footer.astro26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/components/Footer.astro b/src/components/Footer.astro
new file mode 100644
index 0000000..7ff1e50
--- /dev/null
+++ b/src/components/Footer.astro
@@ -0,0 +1,26 @@
+---
+import { Separator } from '@/components/ui/separator'
+import { SOCIAL_LINKS } from '@/consts'
+import Link from './Link.astro'
+import SocialIcons from './SocialIcons.astro'
+---
+
+<footer
+ class="mx-auto mb-8 flex w-full max-w-3xl flex-col items-center justify-center gap-y-2 px-4 sm:mb-4 sm:flex-row sm:justify-between"
+>
+ <div class="flex flex-wrap items-center justify-center gap-x-2 text-center">
+ <span class="text-muted-foreground text-sm">
+ &copy; {new Date().getFullYear()} All rights reserved.
+ </span>
+ <Separator orientation="vertical" className="hidden h-4! sm:block" />
+ <p class="text-muted-foreground text-sm">
+ Made with 🤍 by <Link
+ href="https://github.com/jktrn"
+ class="text-foreground"
+ external
+ underline>enscribe</Link
+ >!
+ </p>
+ </div>
+ <SocialIcons links={SOCIAL_LINKS} />
+</footer>