Compare commits
No commits in common. "0335b34ed970f4c3e32f9c1173d2f49ccde37c98" and "da9886850416ffafc320aef60ecc2012b82bae1b" have entirely different histories.
0335b34ed9
...
da98868504
Binary file not shown.
|
Before Width: | Height: | Size: 450 B |
Binary file not shown.
@ -5,7 +5,6 @@ import SiteHeader from '@/components/SiteHeader.vue'
|
|||||||
import HomeView from '@/components/HomeView.vue'
|
import HomeView from '@/components/HomeView.vue'
|
||||||
import NotFoundView from '@/components/NotFoundView.vue'
|
import NotFoundView from '@/components/NotFoundView.vue'
|
||||||
import PlaygroundView from '@/components/PlaygroundView.vue'
|
import PlaygroundView from '@/components/PlaygroundView.vue'
|
||||||
import RetroScreenOverlay from '@/components/RetroScreenOverlay.vue'
|
|
||||||
|
|
||||||
const routes: { [index: string]: Component } = {
|
const routes: { [index: string]: Component } = {
|
||||||
'/': HomeView,
|
'/': HomeView,
|
||||||
@ -20,7 +19,6 @@ window.addEventListener('hashchange', () => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<RetroScreenOverlay />
|
|
||||||
<SiteHeader />
|
<SiteHeader />
|
||||||
<main>
|
<main>
|
||||||
<component :is="routes[currentPath.slice(1) || '/'] || NotFoundView" />
|
<component :is="routes[currentPath.slice(1) || '/'] || NotFoundView" />
|
||||||
|
|||||||
@ -1,11 +1,9 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import SiteHeader from '@/components/SiteHeader.vue'
|
import SiteHeader from '@/components/SiteHeader.vue'
|
||||||
import NotFoundView from '@/components/NotFoundView.vue'
|
import NotFoundView from '@/components/NotFoundView.vue'
|
||||||
import RetroScreenOverlay from '@/components/RetroScreenOverlay.vue'
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<RetroScreenOverlay />
|
|
||||||
<SiteHeader />
|
<SiteHeader />
|
||||||
<main>
|
<main>
|
||||||
<NotFoundView />
|
<NotFoundView />
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 450 B |
@ -18,8 +18,6 @@ body {
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
font-family: 'Courier New', monospace;
|
font-family: 'Courier New', monospace;
|
||||||
font-weight: bold;
|
|
||||||
font-size: 1.1em;
|
|
||||||
margin: 0.5em 0;
|
margin: 0.5em 0;
|
||||||
padding: 0.5em 0.75em;
|
padding: 0.5em 0.75em;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<section>
|
<section>
|
||||||
<h2>Oops... Page Not Found</h2>
|
<h2>Oops... Page Not Found</h2>
|
||||||
<p>I couldn't seem to find that.</p>
|
<p>I couldn't seem to find that.</p>
|
||||||
<p>You should probably just head back <a href="/#/">Home</a>.</p>
|
<p>You should probably just head back <a href="/">Home</a>.</p>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@ -1,27 +0,0 @@
|
|||||||
<script lang="ts" setup>
|
|
||||||
import { onMounted, ref } from 'vue'
|
|
||||||
|
|
||||||
const isActive = ref(false)
|
|
||||||
|
|
||||||
onMounted(() => {
|
|
||||||
isActive.value = !window.matchMedia('(prefers-contrast: more)').matches
|
|
||||||
})
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<div :class="{ lines: isActive }"></div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
.lines {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
background: url('../assets/lines.png') transparent;
|
|
||||||
opacity: 0.25;
|
|
||||||
z-index: 99;
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
Loading…
Reference in New Issue
Block a user