feat:关于区加上 GitHub 仓库链接
This commit is contained in:
@@ -76,6 +76,31 @@ function auClavier(event: KeyboardEvent, index: number) {
|
||||
>
|
||||
<span class="flex-1">{{ t('settings.showcase') }}</span>
|
||||
</a>
|
||||
<a
|
||||
class="mt-1.5 flex items-center gap-2 rounded-xl border border-[var(--line)] px-3 py-2 text-sm transition hover:border-[var(--muted)]"
|
||||
href="https://github.com/blessonism/grok-icon-study"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
:aria-label="t('settings.githubAria')"
|
||||
>
|
||||
<span class="flex-1">{{ t('settings.github') }}</span>
|
||||
<svg
|
||||
width="12"
|
||||
height="12"
|
||||
viewBox="0 0 12 12"
|
||||
aria-hidden="true"
|
||||
class="shrink-0 text-[var(--muted)]"
|
||||
>
|
||||
<path
|
||||
d="M3 9 9 3M9 3H4.5M9 3v4.5"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="1.4"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
</a>
|
||||
<p class="mt-4 text-xs text-[var(--muted)]">{{ t('settings.credits') }}</p>
|
||||
<p v-if="!ready" class="mt-2 text-xs text-[var(--muted)]">{{ t('settings.missing') }}</p>
|
||||
</div>
|
||||
|
||||
@@ -182,6 +182,8 @@ const en: typeof zh = {
|
||||
labAria: 'Open the original playground',
|
||||
showcase: 'Showcase',
|
||||
showcaseAria: 'Open the recording showcase',
|
||||
github: 'GitHub repository',
|
||||
githubAria: 'Open this repository on GitHub',
|
||||
credits: 'Unofficial study. Motion from the replica engine; layout after bloub. Not affiliated with xAI.',
|
||||
missing: 'No geometry-data.js — stock chrome, no character.'
|
||||
},
|
||||
|
||||
@@ -178,6 +178,8 @@ const zh = {
|
||||
labAria: '打开原来的 playground',
|
||||
showcase: '展示页',
|
||||
showcaseAria: '打开录屏展示',
|
||||
github: 'GitHub 仓库',
|
||||
githubAria: '在 GitHub 打开本仓库',
|
||||
credits: '非官方学习稿。动效是 replica 机芯,版式参考 bloub。与 xAI 无关。',
|
||||
missing: '没有 geometry-data.js — 只有壳,没有角色。'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user