From 1843f58d96af1b62969acfe9c7877208a578f211 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 16 Mar 2023 17:01:21 +0100 Subject: [PATCH] feat: use fediverse icon on login page --- frontend/src/routes/auth/login/+page.svelte | 10 ++++-- frontend/src/routes/auth/login/fediverse.svg | 32 +++++++++++++++++++ .../login/mastodon/[instance]/+page.svelte | 4 +-- 3 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 frontend/src/routes/auth/login/fediverse.svg diff --git a/frontend/src/routes/auth/login/+page.svelte b/frontend/src/routes/auth/login/+page.svelte index 3c45684..1300a79 100644 --- a/frontend/src/routes/auth/login/+page.svelte +++ b/frontend/src/routes/auth/login/+page.svelte @@ -17,6 +17,7 @@ ModalFooter, } from "sveltestrap"; import type { PageData } from "./$types"; + import fediverse from "./fediverse.svg"; export let data: PageData; @@ -57,10 +58,10 @@

Log in or sign up

-
+
- Log in with Fediverse + Fediverse logo Log in with the Fediverse Log in with Discord @@ -68,6 +69,9 @@ +

+ Note: Misskey (and derivatives) are not supported yet, sorry. +

{#if error}
@@ -77,7 +81,7 @@ Log in diff --git a/frontend/src/routes/auth/login/fediverse.svg b/frontend/src/routes/auth/login/fediverse.svg new file mode 100644 index 0000000..17ad17b --- /dev/null +++ b/frontend/src/routes/auth/login/fediverse.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/src/routes/auth/login/mastodon/[instance]/+page.svelte b/frontend/src/routes/auth/login/mastodon/[instance]/+page.svelte index a232900..ff89268 100644 --- a/frontend/src/routes/auth/login/mastodon/[instance]/+page.svelte +++ b/frontend/src/routes/auth/login/mastodon/[instance]/+page.svelte @@ -70,10 +70,10 @@ - Log in with Mastodon - pronouns.cc + Log in with the Fediverse - pronouns.cc -

Log in with Mastodon

+

Log in with the Fediverse

{#if data.error}