mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-20 08:52:59 +00:00
train routes
This commit is contained in:
@@ -34,11 +34,10 @@
|
||||
</svelte:head>
|
||||
|
||||
{#if searchIndex}
|
||||
<input on:input={search} type="search" placeholder="Search chords" />
|
||||
<input on:input={search} type="search" placeholder="Search {$chords.length} chords" />
|
||||
{/if}
|
||||
|
||||
<section>
|
||||
<p>You have {$chords.length} chords</p>
|
||||
<table>
|
||||
{#each items.slice(0, 50) as [{ phrase, actions }, i]}
|
||||
<tr style="view-transition-name: chord-{i}">
|
||||
|
||||
6
src/routes/train/+page.ts
Normal file
6
src/routes/train/+page.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import {redirect} from "@sveltejs/kit"
|
||||
import type {PageLoad} from "./$types"
|
||||
|
||||
export const load = (() => {
|
||||
throw redirect(302, "/train/cpm/")
|
||||
}) satisfies PageLoad
|
||||
0
src/routes/train/[mode]/+page.svelte
Normal file
0
src/routes/train/[mode]/+page.svelte
Normal file
Reference in New Issue
Block a user