Skip to content

Commit

Permalink
chore: add try playground
Browse files Browse the repository at this point in the history
  • Loading branch information
nichenqin committed Dec 25, 2024
1 parent 821fe8c commit 6018335
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/frontend/src/routes/(auth)/login/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import Logo from "$lib/images/logo.svg"
import { goto } from "$app/navigation"
import { LL } from "@undb/i18n/client"
import { Button } from "$lib/components/ui/button"
export let data: PageData
Expand Down Expand Up @@ -88,4 +89,9 @@
{redirect}
/>
</div>

<div>
<Button href="/playground" variant="link" class="w-full" size="sm">Try Undb Playground</Button>
<p class="text-muted-foreground w-full text-center text-xs">Without register</p>
</div>
</section>
5 changes: 5 additions & 0 deletions apps/frontend/src/routes/(auth)/signup/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import Logo from "$lib/images/logo.svg"
import { goto } from "$app/navigation"
import { LL } from "@undb/i18n/client"
import { Button } from "$lib/components/ui/button"
export let data: PageData
Expand Down Expand Up @@ -86,4 +87,8 @@
}}
/>
</div>
<div>
<Button href="/playground" variant="link" class="w-full" size="sm">Try Undb Playground</Button>
<p class="text-muted-foreground w-full text-center text-xs">Without register</p>
</div>
</section>

0 comments on commit 6018335

Please sign in to comment.