mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-22 18:02:42 +00:00
chord display site
This commit is contained in:
@@ -2,11 +2,10 @@
|
|||||||
import {serialPort, syncing} from "$lib/serial/connection.js"
|
import {serialPort, syncing} from "$lib/serial/connection.js"
|
||||||
import {browser} from "$app/environment"
|
import {browser} from "$app/environment"
|
||||||
import {base} from "$app/paths"
|
import {base} from "$app/paths"
|
||||||
import {slide} from "svelte/transition"
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<nav>
|
<nav>
|
||||||
<a href="/" class="title">dot i/o</a>
|
<a href={base} class="title">dot i/o</a>
|
||||||
|
|
||||||
<div class="steps">
|
<div class="steps">
|
||||||
<a href={base} title="CPM - characters per minute" class="icon train cpm">music_note</a>
|
<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} */
|
/** @type {import("./$types").PageLoad} */
|
||||||
export function load() {
|
export function load() {
|
||||||
throw redirect(307, `${base}/config`)
|
throw redirect(307, `${base}/config/`)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<script>
|
<script>
|
||||||
import {chords, serialPort} from "$lib/serial/connection.js"
|
|
||||||
import keySymbols from "$lib/assets/key-symbols.json"
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
|
|||||||
@@ -4,14 +4,14 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<nav>
|
<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
|
<span class="icon">piano</span>Chords
|
||||||
</a>
|
</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>
|
<span class="icon">keyboard</span>
|
||||||
Layout
|
Layout
|
||||||
</a>
|
</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>
|
<span class="icon">settings</span>
|
||||||
Settings
|
Settings
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ import {base} from "$app/paths"
|
|||||||
|
|
||||||
/** @type {import("./$types").PageLoad} */
|
/** @type {import("./$types").PageLoad} */
|
||||||
export function load() {
|
export function load() {
|
||||||
throw redirect(307, `${base}/config/chords`)
|
throw redirect(307, `${base}/config/chords/`)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user