-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
1,869 additions
and
1,959 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<template> | ||
<div text="gray4" m-5 flex="~ col" justify-center> | ||
<SimpleCopyright /> | ||
<div mt-1 text-sm> | ||
Powered by <a href="https://chat.deepseek.com/" style="color:rgb(10, 122, 255)" target="_blank">DeepSeek</a> | ||
</div> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<script lang="ts" setup> | ||
import pkg from '~/package.json' | ||
const commitSha = (import.meta.env.VITE_COMMIT_REF || '').slice(0, 7) | ||
const now = import.meta.env.VITE_APP_BUILD_TIME | ||
const buildDate = (new Date(Number.parseInt(now))).toLocaleDateString() | ||
</script> | ||
|
||
<template> | ||
<div v-if="commitSha && buildDate" mb-4 text-sm> | ||
<span> | ||
当前版本 v{{ pkg.version }}({{ buildDate }}): | ||
</span> | ||
<span> | ||
<a border="b-1 dashed" :href="`https://github.com/YunYouJun/ai-sfc/commit/${commitSha}`" target="_blank" alt="ai-sfc | GitHub Commit"> | ||
{{ commitSha }} | ||
</a> | ||
</span> | ||
</div> | ||
</template> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<script lang="ts" setup> | ||
defineProps<{ | ||
icon: string | ||
}>() | ||
</script> | ||
|
||
<template> | ||
<button flex items-center justify-center class="w-full btn" text="black"> | ||
<div :class="icon" mr-1 /> | ||
<slot /> | ||
</button> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<script lang="ts" setup> | ||
import pkg from '~/package.json' | ||
</script> | ||
|
||
<template> | ||
<div text="center sm" my-3> | ||
<CurrentVersion /> | ||
<div flex="~" items-center justify-center gap="2"> | ||
<a | ||
:href="pkg.repository.url" target="_blank" | ||
class="inline-flex items-center justify-center" | ||
> | ||
<div i-ri-github-line mr-1 /> | ||
<span>Code</span> | ||
</a> | ||
by | ||
<a | ||
href="https://space.bilibili.com/1579790" target="_blank" | ||
class="inline-flex items-center justify-center" | ||
> | ||
<div i-ri-bilibili-line mr-1 class="text-pink-400" /> | ||
<span>云游君</span> | ||
</a> | ||
</div> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
export const suggestedCoupletsFilename = 'AI 春联.png' | ||
export const config = { | ||
inputMaxLength: 200, | ||
} |
Oops, something went wrong.