diff --git a/public/assets/patterns.json b/public/assets/patterns.json index e447ece..d60a1da 100644 --- a/public/assets/patterns.json +++ b/public/assets/patterns.json @@ -26,8 +26,21 @@ ] }, { - "name": "Dotted AC", + "name": "Dotted Max", "type": "Simple", + "icon": "๐Ÿ™ƒ", + "pattern": [ + { + "startDelay": 200, + "duration": 100, + "weakMagnitude": 1.0, + "strongMagnitude": 1.0 + } + ] + }, + { + "name": "Dotted AC", + "type": "Combined", "icon": "๐Ÿคจ", "pattern": [ { @@ -44,19 +57,6 @@ } ] }, - { - "name": "Dotted Max", - "type": "Simple", - "icon": "๐Ÿ™ƒ", - "pattern": [ - { - "startDelay": 200, - "duration": 100, - "weakMagnitude": 1.0, - "strongMagnitude": 1.0 - } - ] - }, { "name": "Short Dashed Weak", "type": "Simple", @@ -84,8 +84,21 @@ ] }, { - "name": "Short Dashed AC", + "name": "Short Dashed Max", "type": "Simple", + "icon": "๐Ÿ˜Š", + "pattern": [ + { + "startDelay": 200, + "duration": 250, + "weakMagnitude": 1.0, + "strongMagnitude": 1.0 + } + ] + }, + { + "name": "Short Dashed AC", + "type": "Combined", "icon": "๐Ÿคค", "pattern": [ { @@ -102,19 +115,6 @@ } ] }, - { - "name": "Short Dashed Max", - "type": "Simple", - "icon": "๐Ÿ˜Š", - "pattern": [ - { - "startDelay": 200, - "duration": 250, - "weakMagnitude": 1.0, - "strongMagnitude": 1.0 - } - ] - }, { "name": "Long Dashed Weak", "type": "Simple", @@ -142,8 +142,21 @@ ] }, { - "name": "Long Dashed AC", + "name": "Long Dashed Max", "type": "Simple", + "icon": "๐Ÿคช", + "pattern": [ + { + "startDelay": 200, + "duration": 500, + "weakMagnitude": 1.0, + "strongMagnitude": 1.0 + } + ] + }, + { + "name": "Long Dashed AC", + "type": "Combined", "icon": "๐Ÿ˜", "pattern": [ { @@ -160,19 +173,6 @@ } ] }, - { - "name": "Long Dashed Max", - "type": "Simple", - "icon": "๐Ÿคช", - "pattern": [ - { - "startDelay": 200, - "duration": 500, - "weakMagnitude": 1.0, - "strongMagnitude": 1.0 - } - ] - }, { "name": "Constant Weak", "type": "Simple", @@ -200,8 +200,21 @@ ] }, { - "name": "Constant AC", + "name": "Constant Max", "type": "Simple", + "icon": "๐Ÿ˜", + "pattern": [ + { + "startDelay": 0, + "duration": 1000, + "weakMagnitude": 1.0, + "strongMagnitude": 1.0 + } + ] + }, + { + "name": "Constant AC", + "type": "Combined", "icon": "๐Ÿ˜ต", "pattern": [ { @@ -217,18 +230,5 @@ "strongMagnitude": 1.0 } ] - }, - { - "name": "Constant Max", - "type": "Simple", - "icon": "๐Ÿ˜", - "pattern": [ - { - "startDelay": 0, - "duration": 1000, - "weakMagnitude": 1.0, - "strongMagnitude": 1.0 - } - ] } ] \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index 8fcc6d4..c10637f 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -236,14 +236,14 @@ option { input[type=range] { width: 100%; margin: 8px 0; - padding: 0; + padding: 4px 0; border: 0px solid var(--color-link); -webkit-appearance: none; } input[type=range]:hover { margin: 8px 0; - padding: 0; + padding: 4px 0; border: 0px solid var(--color-link-hover); } diff --git a/src/App.vue b/src/App.vue index 471fcd8..b1a79c6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -47,7 +47,3 @@ }); - - diff --git a/src/components/AppManual.vue b/src/components/AppManual.vue index 0cec669..0e0fbe7 100644 --- a/src/components/AppManual.vue +++ b/src/components/AppManual.vue @@ -79,6 +79,7 @@ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; + align-items: center; } diff --git a/src/components/PatternItem.vue b/src/components/PatternItem.vue index ef3a749..a25bcf3 100644 --- a/src/components/PatternItem.vue +++ b/src/components/PatternItem.vue @@ -6,8 +6,12 @@ ]"> - +
+ + +
@@ -41,14 +45,14 @@ diff --git a/src/router/index.ts b/src/router/index.ts index 547ed7a..e3f2ab1 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,6 +1,5 @@ import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'; import PatternsView from '@/views/PatternsView.vue'; -import ManualView from '@/views/ManualView.vue'; const routes: Array = [ { @@ -11,7 +10,16 @@ const routes: Array = [ { path: '/manual', name: 'manual-view', - component: ManualView, + component: () => import('@/views/ManualView.vue'), + }, + { + path: '/404', + name: '404', + component: () => import('@/views/NotFoundView.vue'), + }, + { + path: '/:catchAll(.*)', + redirect: '/404', }, ]; diff --git a/src/views/NotFoundView.vue b/src/views/NotFoundView.vue new file mode 100644 index 0000000..82a28e3 --- /dev/null +++ b/src/views/NotFoundView.vue @@ -0,0 +1,16 @@ + + + +