diff --git a/src/App.vue b/src/App.vue index 11d0d7e..ba4f923 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,15 +4,18 @@ import { type Component, ref } from 'vue' import SiteHeader from '@/components/SiteHeader.vue' import HomeView from '@/components/HomeView.vue' import NotFoundView from '@/components/NotFoundView.vue' +import PlaygroundView from '@/components/PlaygroundView.vue' const routes: { [index: string]: Component } = { '/': HomeView, + play: PlaygroundView, } const currentPath = ref(window.location.hash) window.addEventListener('hashchange', () => { currentPath.value = window.location.hash + console.log(currentPath.value) }) diff --git a/src/assets/main.css b/src/assets/main.css index 599cb41..87e175d 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -8,6 +8,16 @@ body { padding: 0.5em; } +input, +button { + font: inherit; +} + +progress::-webkit-progress-bar, +progress::-moz-progress-bar { + background: #ff00ff; +} + h1, h2, h3, diff --git a/src/components/DiskReader.vue b/src/components/DiskReader.vue new file mode 100644 index 0000000..c9f7328 --- /dev/null +++ b/src/components/DiskReader.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/src/components/PlaygroundView.vue b/src/components/PlaygroundView.vue new file mode 100644 index 0000000..1925793 --- /dev/null +++ b/src/components/PlaygroundView.vue @@ -0,0 +1,62 @@ + + + + +