fix: issues with loading new font (#1496)

This commit is contained in:
Melvin Snijders
2026-06-01 11:16:55 +02:00
committed by GitHub
parent fc42f6211d
commit e88ff03ea2
14 changed files with 17 additions and 14 deletions

View File

@@ -7,3 +7,6 @@ APP_ENV=development
APP_URL=http://localhost:3000
PORT=1411
MAXMIND_LICENSE_KEY=your_license_key
# Set the ENCRYPTION_KEY to a random sequence of characters, for example generated with `openssl rand -base64 32`
ENCRYPTION_KEY=

View File

@@ -135,7 +135,7 @@
--color-sidebar-ring: var(--sidebar-ring);
/* Font */
--font-glooock: 'glooock ', serif;
--font-gloock: 'gloock', serif;
}
@layer base {

View File

@@ -35,7 +35,7 @@
<a href="/" class="flex items-center transition-opacity hover:opacity-80">
<Logo class="size-8" />
<Separator orientation="vertical" class="h-5! bg-neutral-600 ml-2 mr-3" />
<h1 class="text-2xl font-glooock" data-testid="application-name">
<h1 class="text-2xl font-gloock" data-testid="application-name">
{m.settings()}
</h1>
</a>

View File

@@ -7,7 +7,7 @@
<div class="bg-muted mx-auto rounded-2xl p-3">
<Logo class="size-10" />
</div>
<p class="font-glooock mt-5 text-3xl font-bold sm:text-4xl">{m.browser_unsupported()}</p>
<p class="font-gloock mt-5 text-3xl font-bold sm:text-4xl">{m.browser_unsupported()}</p>
<p class="text-muted-foreground mt-3">
{m.this_browser_does_not_support_passkeys()}
</p>

View File

@@ -265,7 +265,7 @@
{:else}
<SignInWrapper showAlternativeSignInMethodButton={$userStore == null}>
<ClientProviderImages {client} {success} error={!!errorMessage} />
<h1 class="font-glooock mt-5 text-3xl font-bold sm:text-4xl">
<h1 class="font-gloock mt-5 text-3xl font-bold sm:text-4xl">
{m.sign_in_to({ name: client.name })}
</h1>
{#if errorMessage}

View File

@@ -79,7 +79,7 @@
<LoginLogoErrorSuccessIndicator {success} error={!!errorMessage} />
{/if}
</div>
<h1 class="font-glooock mt-5 text-4xl font-bold">{m.authorize_device()}</h1>
<h1 class="font-gloock mt-5 text-4xl font-bold">{m.authorize_device()}</h1>
{#if errorMessage}
<p class="text-muted-foreground mt-2">
{errorMessage}. {m.please_try_again()}

View File

@@ -44,7 +44,7 @@
<div class="flex justify-center">
<LoginLogoErrorSuccessIndicator error={!!error} />
</div>
<h1 class="font-glooock mt-5 text-3xl font-bold sm:text-4xl">
<h1 class="font-gloock mt-5 text-3xl font-bold sm:text-4xl">
{m.sign_in_to_appname({ appName: $appConfigStore.appName })}
</h1>
{#if error}

View File

@@ -35,7 +35,7 @@
<div class="bg-muted mx-auto rounded-2xl p-3">
<Logo class="size-10" />
</div>
<h1 class="font-glooock mt-5 text-3xl font-bold sm:text-4xl">{m.alternative_sign_in()}</h1>
<h1 class="font-gloock mt-5 text-3xl font-bold sm:text-4xl">{m.alternative_sign_in()}</h1>
<p class="text-muted-foreground mt-3">
{m.if_you_do_not_have_access_to_your_passkey_you_can_sign_in_using_one_of_the_following_methods()}
</p>

View File

@@ -59,7 +59,7 @@
<div class="flex justify-center">
<LoginLogoErrorSuccessIndicator error={!!error} />
</div>
<h1 class="font-glooock mt-5 text-4xl font-bold">{m.login_code()}</h1>
<h1 class="font-gloock mt-5 text-4xl font-bold">{m.login_code()}</h1>
{#if error}
<p class="text-muted-foreground mt-2">
{error}. {m.please_try_again()}

View File

@@ -37,7 +37,7 @@
<div class="flex justify-center">
<LoginLogoErrorSuccessIndicator {success} error={!!error} />
</div>
<h1 class="font-glooock mt-5 text-3xl font-bold sm:text-4xl">{m.email_login()}</h1>
<h1 class="font-gloock mt-5 text-3xl font-bold sm:text-4xl">{m.email_login()}</h1>
{#if error}
<p class="text-muted-foreground mt-2" in:fade>
{error}. {m.please_try_again()}

View File

@@ -34,7 +34,7 @@
<Logo class="size-10" />
</div>
</div>
<h1 class="font-glooock mt-5 text-4xl">{m.sign_out()}</h1>
<h1 class="font-gloock mt-5 text-4xl">{m.sign_out()}</h1>
<p class="text-muted-foreground mt-2">
<FormattedMessage

View File

@@ -61,7 +61,7 @@
<LoginLogoErrorSuccessIndicator error={!!error} />
</div>
<h1 class="font-glooock mt-5 text-3xl font-bold sm:text-4xl">
<h1 class="font-gloock mt-5 text-3xl font-bold sm:text-4xl">
{m.signup_to_appname({ appName: $appConfigStore.appName })}
</h1>

View File

@@ -69,7 +69,7 @@
<div class="flex justify-center">
<LoginLogoErrorSuccessIndicator error={!!error} />
</div>
<h1 class="font-glooock mt-5 text-3xl font-bold sm:text-4xl">
<h1 class="font-gloock mt-5 text-3xl font-bold sm:text-4xl">
{m.setup_your_passkey()}
</h1>
<p class="text-muted-foreground mt-2" in:fade>

View File

@@ -47,7 +47,7 @@
<LoginLogoErrorSuccessIndicator error={!!error} />
</div>
<h1 class="font-glooock mt-5 text-3xl font-bold sm:text-4xl">
<h1 class="font-gloock mt-5 text-3xl font-bold sm:text-4xl">
{m.signup_to_appname({ appName: $appConfigStore.appName })}
</h1>