adding shrines
This commit is contained in:
@@ -24,9 +24,7 @@ const checkStream = async () => {
|
|||||||
streamLive.value = true;
|
streamLive.value = true;
|
||||||
streamUrl.value = "/radio/" + streamMount.value;
|
streamUrl.value = "/radio/" + streamMount.value;
|
||||||
|
|
||||||
if (audio.value) {
|
if (audio.value) audio.value.load(); // reload audio if it was offline before
|
||||||
audio.value.load(); // reload audio if it was offline before
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
streamLive.value = false;
|
streamLive.value = false;
|
||||||
@@ -40,3 +38,5 @@ onMounted(() => {
|
|||||||
setInterval(checkStream, 10000);
|
setInterval(checkStream, 10000);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style scoped></style>
|
||||||
|
|||||||
@@ -22,6 +22,26 @@ const router = createRouter({
|
|||||||
name: "bookmarks",
|
name: "bookmarks",
|
||||||
component: () => import("../views/Bookmarks.vue"),
|
component: () => import("../views/Bookmarks.vue"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: "/shrines/gto",
|
||||||
|
name: "gto shrine",
|
||||||
|
component: () => import("../views/shrines/GTO.vue"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/shrines/skipskipbenben",
|
||||||
|
name: "skipskipbenben shrine",
|
||||||
|
component: () => import("../views/shrines/Skipskipbenben.vue"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/shrines/evangelion",
|
||||||
|
name: "evangelion shrine",
|
||||||
|
component: () => import("../views/shrines/Evangelion.vue"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/shrines/demoman",
|
||||||
|
name: "demoman shrine",
|
||||||
|
component: () => import("../views/shrines/Demoman.vue"),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: "/:pathMatch(.*)*",
|
path: "/:pathMatch(.*)*",
|
||||||
name: "404",
|
name: "404",
|
||||||
|
|||||||
@@ -4,33 +4,35 @@ import Radio from "@/components/Radio.vue";
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<main class="a4page">
|
<Spotify class="floating" style="left: 10vw; top: 10vh" />
|
||||||
<h1>Welcome</h1>
|
<Radio class="floating" style="left: 90vw; top: 10vh" />
|
||||||
|
|
||||||
|
<main class="a4page">
|
||||||
|
<div>
|
||||||
|
<h1>Welcome</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
<h2>whoami?</h2>
|
<h2>whoami?</h2>
|
||||||
<p>Hi im Adam</p>
|
<p>Hi im Adam</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
<h2>cv</h2>
|
<h2>cv</h2>
|
||||||
<RouterLink to="/cv">cv</RouterLink>
|
<RouterLink to="/cv">cv</RouterLink>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
<h2>bookmarks</h2>
|
<h2>bookmarks</h2>
|
||||||
<RouterLink to="/bookmarks">bookmarks</RouterLink>
|
<RouterLink to="/bookmarks">bookmarks</RouterLink>
|
||||||
|
</div>
|
||||||
|
|
||||||
<Spotify />
|
<div>
|
||||||
|
<h2>Shrines</h2>
|
||||||
<Radio />
|
<RouterLink to="/shrines/gto">gto</RouterLink>
|
||||||
|
<RouterLink to="/shrine/demoman">demoman</RouterLink>
|
||||||
<!--<h2> </h2>
|
<RouterLink to="/shrines/skipskipbenben">skipskipbenben</RouterLink>
|
||||||
<p>
|
<RouterLink to="/shrines/evangelion">evangelion</RouterLink>
|
||||||
Sometimes there's this fire that sends shivers down my back.
|
</div>
|
||||||
It'll come when I'm lis
|
|
||||||
</p>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--<h2>Shrines</h1>
|
|
||||||
<a href="/pages/shrines/evangelion.html">Evangelion</a>
|
|
||||||
<a href="/pages/shrines/skipskipbenben.html">Skip skip ben ben</a>
|
|
||||||
<a href="/pages/shrines/demoman.html">demoman</a>-->
|
|
||||||
<!--<a href="pages/shrines/gto.html">GTO</a>-->
|
|
||||||
</main>
|
</main>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
1
nginx/vue/src/views/shrines/Demoman.vue
Normal file
1
nginx/vue/src/views/shrines/Demoman.vue
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<template></template>
|
||||||
1
nginx/vue/src/views/shrines/Evangelion.vue
Normal file
1
nginx/vue/src/views/shrines/Evangelion.vue
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<template></template>
|
||||||
1
nginx/vue/src/views/shrines/GTO.vue
Normal file
1
nginx/vue/src/views/shrines/GTO.vue
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<template></template>
|
||||||
1
nginx/vue/src/views/shrines/Skipskipbenben.vue
Normal file
1
nginx/vue/src/views/shrines/Skipskipbenben.vue
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<template></template>
|
||||||
Reference in New Issue
Block a user