aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Footer.astro
blob: 7ff1e5082d32af7fc74e3803520c56fe7475c579 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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>