Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/map/geocode.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ describe('getFullAddress', () => {
})

test('normal usage', async () => {
// expect(await getFullAddress([-77.036574, 38.8976765])).toBe('1600 Pennsylvania Avenue Northwest, Washington, District of Columbia 20500, United States')
expect(await getFullAddress([-0.10664, 51.514209])).toBe('133 Fleet Street, City of London, London, EC4A 2BB, United Kingdom')
expect(await getFullAddress([-0.10664, 51.514209])).toMatch(/131 Fleet Street/)
expect(await getFullAddress([-2.076843, 51.894799])).toBe('4 Montpellier Drive, Cheltenham, GL50 1TX, United Kingdom')
})
})
Expand Down
15 changes: 12 additions & 3 deletions src/pages/auth/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,30 @@ export default function Login() {
<div class="flex flex-col items-stretch gap-4 self-stretch">
<Button
class="h-14 gap-4 xs:h-16"
href={getGoogleAuthUrl()}
type="button"
onclick={() => {
window.location.href = getGoogleAuthUrl()
}}
leading={<img src="/images/logo-google.svg" alt="" width={32} height={32} />}
>
Sign in with Google
</Button>
<Button
class="h-14 gap-4 xs:h-16"
href={getAppleAuthUrl()}
type="button"
onclick={() => {
window.location.href = getAppleAuthUrl()
}}
leading={<img src="/images/logo-apple.svg" alt="" width={32} height={32} />}
>
Sign in with Apple&nbsp&nbsp
</Button>
<Button
class="h-14 gap-4 xs:h-16"
href={getGitHubAuthUrl()}
type="button"
onclick={() => {
window.location.href = getGitHubAuthUrl()
}}
leading={<img src="/images/logo-github.svg" alt="" width={32} height={32} />}
>
Sign in with GitHub
Expand Down
Loading