feat: add logo

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
sisungo committed 2026-11-21 12:50:51 +08:00
1 parent 91862e54f1
commit a8f360283f
5 files changed
+12 -5

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@
<div class="flex max-w-6xl items-center justify-between px-4 py-3 sm:px-6 lg:px-8">
<NavigationMenu.Root class="relative z-10">
<Label class="w-fit mr-4">SemiOS</Label>
<img src="/logo.png" class="w-10 h-max mr-3" />
<NavigationMenu.List class="flex items-center gap-1">
<NavigationMenu.Item>
<NavigationMenu.Link href="/" class="text-sm font-medium">
+6 -2
View File
@@ -19,6 +19,7 @@
} from './helper.ts';
import Label from '$lib/components/ui/label/label.svelte';
import { Axe, Server } from '@lucide/svelte';
import { MIRRORS } from '$lib/mirrors.ts';
let showLatestOnly = $state(false);
let filterArchitecture = $state('');
@@ -79,8 +80,11 @@
<Select.Root type="single" bind:value={selectedMirror}>
<Select.Trigger class="mt-1 w-[180px]">{selectedMirror}</Select.Trigger>
<Select.Content>
<Select.Item value="mirror1.semilabs.org">mirror1.semilabs.org</Select.Item>
<Select.Item value="mirror2.semilabs.org">mirror2.semilabs.org</Select.Item>
{#each Object.keys(MIRRORS) as region (region)}
{#each MIRRORS[region] as mirror (mirror)}
<Select.Item value={mirror}>{mirror}</Select.Item>
{/each}
{/each}
</Select.Content>
</Select.Root>
</div>
+5 -2
View File
@@ -27,6 +27,7 @@
} from '../helper.ts';
import { ArrowDownToLine, ClipboardCopy, Package, Ungroup, UsersRound } from '@lucide/svelte';
import Label from '$lib/components/ui/label/label.svelte';
import { MAINTAINERS } from '$lib/mirrors';
let baseUrl: string | null = $state(null);
let pkgInfo = $state(null);
@@ -195,8 +196,10 @@
{#each pkgInfo ? pkgInfo['maintainers'] : [] as item (item)}
<div>
<Avatar.Root>
<Avatar.Image />
<Avatar.Fallback>User</Avatar.Fallback>
<Avatar.Image>
<img src={MAINTAINERS[item].avatar} alt={item} />
</Avatar.Image>
<Avatar.Fallback>{MAINTAINERS[item].name}</Avatar.Fallback>
</Avatar.Root>
</div>
{/each}
Binary file not shown.

After

Width:  |  Height:  |  Size: 422 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 422 KiB