Skip to content

Commit

Permalink
Merge pull request #1983 from undb-io/release/v1.0.0-54
Browse files Browse the repository at this point in the history
Release version v1.0.0-54
  • Loading branch information
nichenqin authored Sep 1, 2024
2 parents f21ee79 + 0df1e0c commit 56c3a05
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 25 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Changelog


## v1.0.0-54


### 🩹 Fixes

- Auth button ([5dfb32e](https://github.com/undb-io/undb/commit/5dfb32e))

### ❤️ Contributors

- Nichenqin ([@nichenqin](http://github.com/nichenqin))

## v1.0.0-53


Expand Down
20 changes: 8 additions & 12 deletions apps/frontend/src/routes/(auth)/login/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -216,18 +216,14 @@
</div>
<Separator class="my-6" />
<div class="space-y-2">
{#if env.UNDB_PUBLIC_OAUTH_GITHUB_ENABLED === "true"}
<Button href="/login/github" variant="secondary" class="w-full">
<img class="mr-2 h-4 w-4" src={Github} alt="github" />
Login with Github
</Button>
{/if}
{#if env.UNDB_PUBLIC_OAUTH_GOOGLE_ENABLED === "true"}
<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>
{/if}
<Button href="/login/github" variant="secondary" class="w-full">
<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
20 changes: 8 additions & 12 deletions apps/frontend/src/routes/(auth)/signup/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -253,18 +253,14 @@
{#if !invitationId}
<Separator class="my-6" />
<div class="space-y-2">
{#if env.UNDB_PUBLIC_OAUTH_GITHUB_ENABLED === "true"}
<Button href="/login/github" variant="secondary" class="w-full">
<img class="mr-2 h-4 w-4" src={Github} alt="github" />
Login with Github
</Button>
{/if}
{#if env.UNDB_PUBLIC_OAUTH_GOOGLE_ENABLED === "true"}
<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>
{/if}
<Button href="/login/github" variant="secondary" class="w-full">
<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>
{/if}
</Card.Content>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "undb",
"version": "1.0.0-53",
"version": "1.0.0-54",
"private": true,
"scripts": {
"build": "NODE_ENV=production bun --bun turbo build",
Expand Down

0 comments on commit 56c3a05

Please sign in to comment.