mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-07 10:32:49 +00:00
chord display site
This commit is contained in:
@@ -2,11 +2,10 @@
|
||||
import {serialPort, syncing} from "$lib/serial/connection.js"
|
||||
import {browser} from "$app/environment"
|
||||
import {base} from "$app/paths"
|
||||
import {slide} from "svelte/transition"
|
||||
</script>
|
||||
|
||||
<nav>
|
||||
<a href="/" class="title">dot i/o</a>
|
||||
<a href={base} class="title">dot i/o</a>
|
||||
|
||||
<div class="steps">
|
||||
<a href={base} title="CPM - characters per minute" class="icon train cpm">music_note</a>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<svg>
|
||||
<defs />
|
||||
|
||||
<circle cx="16" cy="16" r="16" color="black" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 75 B |
@@ -3,5 +3,5 @@ import {base} from "$app/paths"
|
||||
|
||||
/** @type {import("./$types").PageLoad} */
|
||||
export function load() {
|
||||
throw redirect(307, `${base}/config`)
|
||||
throw redirect(307, `${base}/config/`)
|
||||
}
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
<script>
|
||||
import {chords, serialPort} from "$lib/serial/connection.js"
|
||||
import keySymbols from "$lib/assets/key-symbols.json"
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
</script>
|
||||
|
||||
<nav>
|
||||
<a href="{base}/config/chords" class:active={$page.url.pathname.endsWith("chords/")}>
|
||||
<a href="{base}/config/chords/" class:active={$page.url.pathname.endsWith("chords/")}>
|
||||
<span class="icon">piano</span>Chords
|
||||
</a>
|
||||
<a href="{base}/config/layout" class:active={$page.url.pathname.endsWith("layout/")}>
|
||||
<a href="{base}/config/layout/" class:active={$page.url.pathname.endsWith("layout/")}>
|
||||
<span class="icon">keyboard</span>
|
||||
Layout
|
||||
</a>
|
||||
<a href="{base}/config/settings" class:active={$page.url.pathname.endsWith("settings/")}>
|
||||
<a href="{base}/config/settings/" class:active={$page.url.pathname.endsWith("settings/")}>
|
||||
<span class="icon">settings</span>
|
||||
Settings
|
||||
</a>
|
||||
|
||||
@@ -3,5 +3,5 @@ import {base} from "$app/paths"
|
||||
|
||||
/** @type {import("./$types").PageLoad} */
|
||||
export function load() {
|
||||
throw redirect(307, `${base}/config/chords`)
|
||||
throw redirect(307, `${base}/config/chords/`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user