Add gitea link

This commit is contained in:
Schluffe committed 2026-10-19 23:15:19 +02:00
1 parent 019267cc34
commit 4323a8b774
4 files changed
+41 -1

No files matched your search

+5
View File
@@ -12,6 +12,7 @@ import { asError } from './lib/validation.ts';
const props = defineProps<{ initialCode?: string }>();
const logoUrl = `${import.meta.env.BASE_URL}HellNet_alt.png`;
const giteaIconUrl = `${import.meta.env.BASE_URL}gitea.svg`;
const connections = ref<SavedConnection[]>([]), selected = ref('');
const states = ref<Record<string, 'ready' | 'connecting' | 'connected'>>({});
const current = computed(() => connections.value.find(item => item.id === selected.value));
@@ -157,6 +158,10 @@ async function remove() {
<p>Trust your browser and the app’s host: its code can read selected files and use your device identity. HTTPS protects delivery. A TURN relay is used only after opt-in.</p>
<p>Clearing site data removes saved connections, identities, and history.</p>
</details>
<a class="source-link" href="https://gitea.pagequit.net/Schluffe/HellCon" target="_blank" rel="noopener noreferrer" aria-label="View HellCon source code on Gitea">
<img :src="giteaIconUrl" width="20" height="20" alt="" />
<span>Source code</span>
</a>
</footer>
</aside>
<main id="main-content" class="main-pane" tabindex="-1">
+4
View File
@@ -297,6 +297,10 @@ p.stun-hint {
.sidebar-footer { margin-top: auto; padding: var(--space-xl) 0.65rem 0.25rem; color: var(--muted); font-size: 0.72rem; line-height: 1.65; }
.sidebar-tag { font-weight: 600; color: var(--text); }
.sidebar-footer p { margin: 0.5rem 0 1rem; }
.source-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.4rem; color: var(--muted); text-decoration: none; }
.source-link:hover { color: var(--text); }
.source-link img { filter: grayscale(1); opacity: 0.6; }
.source-link:hover img { opacity: 0.9; }
summary { cursor: pointer; color: var(--muted); font-size: 0.83rem; padding: 0.4rem 0; }
summary:hover { color: var(--text); }
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }