feat: restructure app.html to support custom icon svg

This commit is contained in:
James Xylight committed 2025-08-23 15:27:43 -07:00
1 parent 0247d6dc4d
commit e36789175f
10 files changed
+148 -135

No files matched your search

+11 -8
View File
@@ -1,4 +1,5 @@
<script lang="ts">
import { env } from '$env/dynamic/public'
import { notifications, profile } from '$lib/auth.svelte'
import SiteCard from '$lib/components/lemmy/SiteCard.svelte'
@@ -169,13 +170,15 @@
>
<Icon src={ServerStack} size="16" micro />
</Button>
<Button
color="tertiary"
href="https://github.com/Xyphyn/Photon"
title={$t('nav.menu.source')}
size="square-md"
>
<Icon src={CodeBracketSquare} size="16" micro />
</Button>
{#if env.PUBLIC_XYLIGHT_MODE.toLowerCase() == 'true'}
<Button
color="tertiary"
href="https://github.com/Xyphyn/Photon"
title={$t('nav.menu.source')}
size="square-md"
>
<Icon src={CodeBracketSquare} size="16" micro />
</Button>
{/if}
</div>
</li>