Skip to content

Commit

Permalink
chore: google svg
Browse files Browse the repository at this point in the history
  • Loading branch information
nichenqin committed Aug 6, 2024
1 parent 85a846b commit 58c32b9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
10 changes: 9 additions & 1 deletion apps/frontend/src/lib/images/Google.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions apps/frontend/src/routes/(auth)/login/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@
<Separator class="my-6" />
<div class="space-y-2">
<Button href="/login/github" variant="secondary" class="w-full">
<img class="mr-2 h-5 w-5" src={Github} alt="github" />
<img class="mr-2 h-4 w-4" src={Github} alt="github" />
Login with Github
</Button>
<Button href="/login/google" variant="secondary" class="w-full">
<img class="mr-2 h-5 w-5" src={Google} alt="google" />
<img class="mr-2 h-4 w-4" src={Google} alt="google" />
Login with Google
</Button>
</div>
Expand Down
7 changes: 6 additions & 1 deletion apps/frontend/src/routes/(auth)/signup/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import { Label } from "$lib/components/ui/label/index.js"
import Logo from "$lib/images/logo.svg"
import Github from "$lib/images/github.svg"
import Google from "$lib/images/Google.svg"
import { createMutation } from "@tanstack/svelte-query"
import { z } from "@undb/zod"
import { defaults, superForm } from "sveltekit-superforms"
Expand Down Expand Up @@ -163,9 +164,13 @@
<Separator class="my-6" />
<div class="space-y-2">
<Button href="/login/github" variant="secondary" class="w-full">
<img class="mr-2 h-5 w-5" src={Github} alt="github" />
<img class="mr-2 h-4 w-4" src={Github} alt="github" />
Login with Github
</Button>
<Button href="/login/google" variant="secondary" class="w-full">
<img class="mr-2 h-4 w-4" src={Google} alt="google" />
Login with Google
</Button>
</div>
</Card.Content>
</Card.Root>
Expand Down

0 comments on commit 58c32b9

Please sign in to comment.