summaryrefslogtreecommitdiff
path: root/src/components/Footer.astro
blob: 0a244c0d68e9e9cf19255806a82dbb199ea0df9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
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>