Skip to content

Commit

Permalink
chore: add commit sha
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Feb 9, 2024
1 parent 1426887 commit 4acdd0d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 11 deletions.
25 changes: 25 additions & 0 deletions components/Footer.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<script setup lang="ts">
// See https://github.com/yjl9903/unplugin-info?tab=readme-ov-file#usage
import buildTime from '~build/time';
import { sha } from '~build/git';
import { version } from '~build/package';
</script>

<template>
<footer class="space-y-2">
<div class="text-sm text-base-600 text-center">
<span>Git Commit: {{ sha.slice(0, 6) }}</span>
</div>
<div class="flex justify-center text-sm">
「百合花船·特典搜索」项目是
<a
href="https://yurier.net/projects#%E6%9C%8D%E5%8A%A1-%E3%80%8C%E7%99%BE%E5%90%88%E8%8A%B1%E8%88%B9%E3%80%8D%E4%BC%81%E5%88%92"
target="_blank"
color="#45c2ff"
>
「百合花船」企划
</a>
的一部分。
</div>
</footer>
</template>
12 changes: 1 addition & 11 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -259,17 +259,7 @@ const colorMode = useColorMode();
<UsageHelp></UsageHelp>
</div>
</div>
<footer class="flex justify-center text-sm">
「百合花船·特典搜索」项目是
<a
href="https://yurier.net/projects#%E6%9C%8D%E5%8A%A1-%E3%80%8C%E7%99%BE%E5%90%88%E8%8A%B1%E8%88%B9%E3%80%8D%E4%BC%81%E5%88%92"
target="_blank"
color="#45c2ff"
>
「百合花船」企划
</a>
的一部分。
</footer>
<Footer></Footer>
</div>
</template>
Expand Down

0 comments on commit 4acdd0d

Please sign in to comment.