chore(routes): delete dev-only demo route
Removes scaffolding pages from initial Paraglide setup that were never navigated to in production. Shrinks the measured coverage surface and removes dead code from the production bundle. CLAUDE.md route tables updated to drop the demo/ entry. Refs #496. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -202,8 +202,7 @@ frontend/src/routes/
|
|||||||
├── profile/ User profile settings
|
├── profile/ User profile settings
|
||||||
├── users/[id]/ Public user profile page
|
├── users/[id]/ Public user profile page
|
||||||
├── login/ logout/ register/
|
├── login/ logout/ register/
|
||||||
├── forgot-password/ reset-password/
|
└── forgot-password/ reset-password/
|
||||||
└── demo/ Dev-only demos
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### API Client Pattern
|
### API Client Pattern
|
||||||
|
|||||||
@@ -40,8 +40,7 @@ src/
|
|||||||
│ ├── profile/ # User profile settings
|
│ ├── profile/ # User profile settings
|
||||||
│ ├── users/[id]/ # Public user profile page
|
│ ├── users/[id]/ # Public user profile page
|
||||||
│ ├── login/ logout/ register/
|
│ ├── login/ logout/ register/
|
||||||
│ ├── forgot-password/ reset-password/
|
│ └── forgot-password/ reset-password/
|
||||||
│ └── demo/ # Dev-only demos
|
|
||||||
├── lib/ # Domain-based package structure (mirrors backend)
|
├── lib/ # Domain-based package structure (mirrors backend)
|
||||||
│ ├── document/ # Document domain: components, stores, services, utils
|
│ ├── document/ # Document domain: components, stores, services, utils
|
||||||
│ │ ├── annotation/ # Annotation overlay components
|
│ │ ├── annotation/ # Annotation overlay components
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
import { resolve } from '$app/paths';
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<a href={resolve('/demo/paraglide')}>paraglide</a>
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
import { setLocale } from '$lib/paraglide/runtime';
|
|
||||||
import { m } from '$lib/paraglide/messages.js';
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<h1>{m.nav_documents()}</h1>
|
|
||||||
<div>
|
|
||||||
<button onclick={() => setLocale('en')}>en</button>
|
|
||||||
<button onclick={() => setLocale('es')}>es</button>
|
|
||||||
<button onclick={() => setLocale('de')}>de</button>
|
|
||||||
</div>
|
|
||||||
<p>
|
|
||||||
If you use VSCode, install the <a
|
|
||||||
href="https://marketplace.visualstudio.com/items?itemName=inlang.vs-code-extension"
|
|
||||||
target="_blank">Sherlock i18n extension</a
|
|
||||||
> for a better i18n experience.
|
|
||||||
</p>
|
|
||||||
Reference in New Issue
Block a user