summaryrefslogtreecommitdiff
path: root/src/components/Footer.astro
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-18 08:54:09 -0400
committerseth <[email protected]>2023-05-18 08:58:52 -0400
commitca90f4810a173d476facb0064cd5b10c6570cb35 (patch)
treedd38159711511bbe00264ed4cfda612b4aeb49e3 /src/components/Footer.astro
parent025acf1b61b968c5e4d426949b192c3c0ab387a6 (diff)
chore: fix styling for footer + move to components/
Diffstat (limited to 'src/components/Footer.astro')
-rw-r--r--src/components/Footer.astro13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/components/Footer.astro b/src/components/Footer.astro
new file mode 100644
index 0000000..5940aee
--- /dev/null
+++ b/src/components/Footer.astro
@@ -0,0 +1,13 @@
+---
+import { execa } from "execa";
+import "@styles/global.sass";
+
+const { stdout: gitCommit } = await execa("git", ["rev-parse", "HEAD"]);
+---
+
+<div class="flex">
+<div class="flex flex-col items-center gap-1 p-3 mx-auto">
+ <a class="text-text text-xs" href="https://github.com/getchoo/getchoo.github.io">source</a>
+ <p class="text-text text-xs">commit: {gitCommit}</p>
+</div>
+</div>