Add GitHub source link

This commit is contained in:
dave
2026-05-09 17:29:15 +08:00
parent 6bb2382182
commit f939aaeaa3
+30
View File
@@ -110,6 +110,24 @@
white-space: nowrap;
}
.github-link {
gap: 7px;
color: var(--text);
text-decoration: none;
}
.github-link:hover {
border-color: var(--line-strong);
background: var(--surface-soft);
}
.github-link svg {
width: 18px;
height: 18px;
flex: 0 0 auto;
fill: currentColor;
}
.toolbar {
display: grid;
grid-template-columns: 1fr auto;
@@ -544,6 +562,18 @@
<span class="meta-chip">浏览器本地解析</span>
<span class="meta-chip">不上传 token</span>
<span class="meta-chip">不写入存储</span>
<a
class="meta-chip github-link"
href="https://github.com/gtxx3600/GPTSession2CPAandSub2API"
target="_blank"
rel="noreferrer"
aria-label="本页面代码开源"
>
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M12 0C5.37 0 0 5.37 0 12c0 5.3 3.44 9.8 8.21 11.39.6.11.82-.26.82-.58v-2.24c-3.34.73-4.04-1.42-4.04-1.42-.55-1.39-1.34-1.76-1.34-1.76-1.09-.75.08-.73.08-.73 1.21.08 1.85 1.24 1.85 1.24 1.07 1.84 2.81 1.31 3.5 1 .11-.78.42-1.31.76-1.61-2.66-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.12-.3-.54-1.52.12-3.18 0 0 1.01-.32 3.3 1.23A11.5 11.5 0 0 1 12 5.78c1.02 0 2.05.14 3.01.41 2.29-1.55 3.3-1.23 3.3-1.23.66 1.66.24 2.88.12 3.18.77.84 1.24 1.91 1.24 3.22 0 4.61-2.81 5.63-5.49 5.93.43.37.82 1.1.82 2.22v3.3c0 .32.22.7.83.58A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12Z" />
</svg>
<span>本页面代码开源</span>
</a>
</div>
</header>