-
-
+
+
+
+
-
- {#if authStore.user}
-
- {authStore.user.email}
-
- {/if}
-
-
-
-
-
-
+
+
+
+ {@render children()}
-
-
-
-
- {@render children()}
{/if}
+
+
diff --git a/apps/chat/apps/web/src/routes/(protected)/chat/+layout.svelte b/apps/chat/apps/web/src/routes/(protected)/chat/+layout.svelte
index fa7fb6c00..a5e7fa3d1 100644
--- a/apps/chat/apps/web/src/routes/(protected)/chat/+layout.svelte
+++ b/apps/chat/apps/web/src/routes/(protected)/chat/+layout.svelte
@@ -1,15 +1,16 @@
-
-{#if path}
-
-{:else}
-
⚠
-{/if}
diff --git a/packages/shared-icons/src/iconPaths.ts b/packages/shared-icons/src/iconPaths.ts
deleted file mode 100644
index af0fec645..000000000
--- a/packages/shared-icons/src/iconPaths.ts
+++ /dev/null
@@ -1,148 +0,0 @@
-/**
- * Phosphor Icons (Bold weight) - Shared icons for Manacore web apps
- *
- * This is a centralized icon catalog for all SvelteKit applications.
- * All icons use the Bold weight for consistency.
- *
- * To add new icons:
- * 1. Find the icon at https://phosphoricons.com/
- * 2. Copy the SVG content (the
tag) from the Bold variant
- * 3. Add it to this file with a descriptive key
- *
- * Usage:
- * import { Icon } from '@manacore/shared-icons';
- *
- */
-
-export const iconPaths = {
- // Auth & User
- 'user-plus':
- '',
- 'sign-in':
- '',
- 'sign-out':
- '',
- user: '',
- users:
- '',
-
- // Navigation & Arrows
- 'arrow-left':
- '',
- 'arrow-right':
- '',
- 'arrow-up':
- '',
- 'arrow-down':
- '',
- 'caret-down':
- '',
- 'caret-up':
- '',
- 'caret-left':
- '',
- 'caret-right':
- '',
-
- // Actions
- plus: '',
- minus: '',
- x: '',
- check:
- '',
- trash:
- '',
- copy: '',
-
- // Media
- play: '',
- pause:
- '',
- microphone:
- '',
- 'skip-back':
- '',
- 'skip-forward':
- '',
-
- // Edit
- pencil:
- '',
- pen: '',
- 'note-pencil':
- '',
-
- // Files & Folders
- folder:
- '',
- 'folder-open':
- '',
- file: '',
-
- // UI Elements
- 'dots-three':
- '',
- 'dots-three-vertical':
- '',
- list: '',
- 'magnifying-glass':
- '',
-
- // Misc
- key: '',
- info: '',
- tag: '',
- share:
- '',
- download:
- '',
- upload:
- '',
- link: '',
- eye: '',
- 'eye-slash':
- '',
- // Alias for eye-slash
- 'eye-off':
- '',
- lock: '',
- star: '',
- heart:
- '',
- bell: '',
- calendar:
- '',
- clock:
- '',
- image:
- '',
- 'shield-check':
- '',
- envelope:
- '',
- 'envelope-open':
- '',
- 'mail-open':
- '',
- 'arrows-left-right':
- '',
- globe:
- '',
- gear: '',
- warning:
- '',
- 'alert-triangle':
- '',
- 'alert-circle':
- '',
- question:
- '',
- house:
- '',
- music:
- '',
- refresh:
- '',
-} as const;
-
-export type IconName = keyof typeof iconPaths;
diff --git a/packages/shared-icons/src/index.ts b/packages/shared-icons/src/index.ts
index c2639295c..798a2be8d 100644
--- a/packages/shared-icons/src/index.ts
+++ b/packages/shared-icons/src/index.ts
@@ -1,2 +1,16 @@
-export { default as Icon } from './Icon.svelte';
-export { iconPaths, type IconName } from './iconPaths';
+/**
+ * @manacore/shared-icons
+ *
+ * Phosphor Icons for all Manacore SvelteKit web apps
+ * https://phosphoricons.com
+ *
+ * Usage:
+ * import { House, User, Gear, Plus } from '@manacore/shared-icons';
+ *
+ *
+ *
+ *
+ * Available weights: thin, light, regular, bold, fill, duotone
+ */
+
+export * from 'phosphor-svelte';
diff --git a/packages/shared-theme-ui/src/ThemeModeSelector.svelte b/packages/shared-theme-ui/src/ThemeModeSelector.svelte
index 67b48879a..adc9fdd66 100644
--- a/packages/shared-theme-ui/src/ThemeModeSelector.svelte
+++ b/packages/shared-theme-ui/src/ThemeModeSelector.svelte
@@ -1,6 +1,6 @@
- {#each modes as { mode, icon, label }}
+ {#each modes as { mode, label }}
{@const isActive = theme.mode === mode}
{/each}
diff --git a/packages/shared-theme-ui/src/ThemeToggle.svelte b/packages/shared-theme-ui/src/ThemeToggle.svelte
index 8d232571f..631817c0a 100644
--- a/packages/shared-theme-ui/src/ThemeToggle.svelte
+++ b/packages/shared-theme-ui/src/ThemeToggle.svelte
@@ -1,6 +1,6 @@