mirror of
https://github.com/trafficlunar/website.git
synced 2026-08-12 12:29:49 +00:00
feat: website
This commit is contained in:
parent
fc22cf0330
commit
215e6944a8
45 changed files with 709 additions and 16 deletions
12
src/components/Footer.astro
Normal file
12
src/components/Footer.astro
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
import child_process from "child_process";
|
||||
|
||||
// Get commit hash
|
||||
const hash = child_process.execSync("git rev-parse --short HEAD").toString().trim();
|
||||
---
|
||||
|
||||
<footer class="flex justify-between gap-3 text-peach/50 *:hover:text-peach *:transition-colors text-sm mt-4">
|
||||
<a href="https://github.com/trafficlunar/website">Source code</a>
|
||||
<!-- <span>•</span> -->
|
||||
<a href=`https://github.com/trafficlunar/website/commit/${hash}` class="font-mono">{hash}</a>
|
||||
</footer>
|
||||
Loading…
Add table
Add a link
Reference in a new issue