Skip to content

Commit 2a2beb3

Browse files
committed
chore: add some links
1 parent 68dbf55 commit 2a2beb3

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

apps/frontend/src/lib/components/blocks/member/member-menu.svelte

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
import Button from "$lib/components/ui/button/button.svelte"
33
import * as DropdownMenu from "$lib/components/ui/dropdown-menu"
44
import * as Avatar from "$lib/components/ui/avatar"
5-
import { KeyIcon, LogOutIcon, SettingsIcon } from "lucide-svelte"
5+
import { ExternalLinkIcon, KeyIcon, LogOutIcon, SettingsIcon } from "lucide-svelte"
66
import { createMutation } from "@tanstack/svelte-query"
77
import { goto } from "$app/navigation"
8+
import Logo from "$lib/images/logo.svg"
9+
import GithubLogo from "$lib/images/github.svg"
810
911
export let user: { avatar: string | null; username: string; userId: string }
1012
@@ -49,6 +51,16 @@
4951
<KeyIcon class="mr-2 h-4 w-4" />
5052
Api Token
5153
</DropdownMenu.Item>
54+
<DropdownMenu.Item href="https://undb.io" target="_blank" rel="noopener noreferrer">
55+
<img src={Logo} alt="undb" class="mr-2 h-4 w-4" />
56+
Undb Website
57+
<ExternalLinkIcon class="ml-auto h-4 w-4" />
58+
</DropdownMenu.Item>
59+
<DropdownMenu.Item href="https://github.com/undb-io/undb" target="_blank" rel="noopener noreferrer">
60+
<img src={GithubLogo} alt="undb" class="mr-2 h-4 w-4" />
61+
Github
62+
<ExternalLinkIcon class="ml-auto h-4 w-4" />
63+
</DropdownMenu.Item>
5264
</DropdownMenu.Group>
5365
</DropdownMenu.Content>
5466
</DropdownMenu.Root>

apps/frontend/src/routes/(auth)/login/+page.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@
178178
<div class="flex justify-between">
179179
<Label for="password">Password</Label>
180180
<Button
181+
tabindex={-1}
181182
variant="link"
182183
class="ml-auto h-auto p-0 text-sm"
183184
on:click={() => {

0 commit comments

Comments
 (0)