mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-21 08:36:42 +02:00
🐛 fix(lightwrite): add LightWriteLogo to shared-branding
- Add lightwrite to AppId type - Add lightwrite branding config (orange theme, music note icon) - Create LightWriteLogo.svelte component - Update login/register pages to use proper logo component - Fixes type-check errors in @lightwrite/web
This commit is contained in:
parent
2236f83a58
commit
1328d92585
7 changed files with 32 additions and 11 deletions
|
|
@ -4,13 +4,9 @@
|
|||
import { browser } from '$app/environment';
|
||||
import { LoginPage } from '@manacore/shared-auth-ui';
|
||||
import { getLoginTranslations } from '@manacore/shared-i18n';
|
||||
import { LightWriteLogo } from '@manacore/shared-branding';
|
||||
import { authStore } from '$lib/stores/auth.svelte';
|
||||
|
||||
// Simple LightWrite Logo component
|
||||
function LightWriteLogo() {
|
||||
return null; // Will use appName text instead
|
||||
}
|
||||
|
||||
// Get redirect URL from query params or sessionStorage
|
||||
const redirectTo = $derived.by(() => {
|
||||
const queryRedirect = $page.url.searchParams.get('redirectTo');
|
||||
|
|
|
|||
|
|
@ -3,13 +3,9 @@
|
|||
import { browser } from '$app/environment';
|
||||
import { RegisterPage } from '@manacore/shared-auth-ui';
|
||||
import { getRegisterTranslations } from '@manacore/shared-i18n';
|
||||
import { LightWriteLogo } from '@manacore/shared-branding';
|
||||
import { authStore } from '$lib/stores/auth.svelte';
|
||||
|
||||
// Simple LightWrite Logo component
|
||||
function LightWriteLogo() {
|
||||
return null; // Will use appName text instead
|
||||
}
|
||||
|
||||
// Get redirect URL from sessionStorage
|
||||
const redirectTo = $derived.by(() => {
|
||||
if (browser) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue