This commit is contained in:
2026-01-10 19:01:56 +00:00
parent 51592d7eb2
commit abcad8247f
14 changed files with 128 additions and 148 deletions

View File

@@ -16,16 +16,21 @@ const parentPath = computed(() => {
</script>
<template>
<nav class="flex-row">
<RouterLink class="bdr-2" to="/"><h1>HOME</h1></RouterLink>
<nav class="left flex-col">
<RouterLink class="bdr-2" to="/">
<a>HOME</a>
</RouterLink>
<RouterLink class="bdr-2" v-if="parentPath" :to="parentPath">
<h1>UP</h1>
<a>UP</a>
</RouterLink>
</nav>
</template>
<style scoped>
h1 {
padding: 10px;
.left {
width: 5vw;
position: sticky;
top: 0;
left: 0;
}
</style>

View File

@@ -1,16 +0,0 @@
<template>
<div class="overlay">
<slot />
</div>
</template>
<style scoped>
.overlay {
position: fixed; /* not absolute */
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
}
</style>

View File

@@ -28,5 +28,6 @@ async function post() {
<input type="text" v-model="title" placeholder="Title" />
<textarea v-model="content" placeholder="Content"></textarea>
<button @click="post">Upload</button>
<!-- make textarea take up most the space -->
</div>
</template>

View File

@@ -1,39 +0,0 @@
<template>
<div class="halftone" />
</template>
<style scoped>
div {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
object-fit: cover; /* optional if its an img background */
}
.halftone {
--dot_size: 1px;
--bg_size: 3px;
--bg_pos: calc(var(--bg_size) / 2);
--blur: 0%;
--dot_color: #033;
--bg_color: #000;
background-color: var(--bg_color);
background-image: radial-gradient(
circle at center,
var(--dot_color) var(--dot_size),
transparent var(--blur)
);
background-size: var(--bg_size) var(--bg_size);
background-position: 0 0;
mask-image: linear-gradient(
30deg,
rgba(1, 1, 1, 1) 0%,
rgba(1, 1, 1, 0.9) 100%
);
}
</style>

View File

@@ -37,14 +37,14 @@ onMounted(() => {
v-if="fetched"
:key="song"
v-on:click="nextSong"
class="flex-col center-content"
class="flex-col center-content center-text"
>
<h2>Listening To</h2>
<img :src="song.track.album.images[0].url" />
<p><strong>Song:</strong> {{ song.track.name }}</p>
<p><strong>Artist:</strong> {{ song.track.artists[0].name }}</p>
</div>
<div v-else class="flex-col center-content">
<div v-else class="flex-col center-content center-text">
<h2>Listening To</h2>
<img src="/img/Untitled.png" />
<p><strong>Song:</strong> >_<</p>

View File

@@ -18,6 +18,6 @@ const keys = ["name", "link"];
:key="rowIndex"
:href="row.link"
>
<h2>{{ row.name }}</h2>
<p>{{ row.name }}</p>
</a>
</template>

View File

@@ -18,6 +18,6 @@ const keys = ["name", "link"];
:key="rowIndex"
:to="row.link"
>
<h2>{{ row.name }}</h2>
<p>{{ row.name }}</p>
</RouterLink>
</template>

View File

@@ -2,26 +2,17 @@
import Login from "@/components/admin/Login.vue";
import CreateUser from "@/components/admin/CreateUser.vue";
import CreatePost from "@/components/admin/CreatePost.vue";
import Halftone from "@/components/backgrounds/Halftone.vue";
</script>
<template>
<main class="center-content flex-col">
<Halftone />
<div class="a5page-portrait bdr-1 grid">
<div class="background halftone" />
<div class="a5page-portrait bdr-1 flex-col">
<Login class="bdr-2 bg-secondary" />
<!--
<CreateUser class="bdr-2 bg-secondary" />
-->
<CreatePost class="bdr-2 bg-secondary" />
</div>
</main>
</template>
<style scoped>
.grid {
display: grid;
grid-gap: 10px;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, 1fr);
}
</style>

View File

@@ -64,6 +64,7 @@ const art_links = [
<template>
<main class="center-content flex-col">
<div class="background halftone" />
<div class="a4page-portrait bdr-1 flex-col relative scroll-y gap">
<h1>Radio Links</h1>
<LinkTable :linkArr="radio_links" />

View File

@@ -464,6 +464,7 @@ h1,
h2,
h3,
h4 {
border: none;
color: var(--primary);
font-family: var(--font-heading);
text-transform: capitalize;

View File

@@ -1,4 +1,6 @@
<script setup>
import Timer from "@/components/quick/Timer.vue";
import Intro from "@/components/home/Intro.vue";
import Stamps from "@/components/home/Stamps.vue";
import Listening from "@/components/home/Listening.vue";
@@ -8,23 +10,17 @@ import Collage from "@/components/home/Collage.vue";
import Favorites from "@/components/home/Favorites.vue";
import Gym from "@/components/home/Gym.vue";
import Watching from "@/components/home/Watching.vue";
import Halftone from "@/components/backgrounds/Halftone.vue";
import Overlay from "@/components/Overlay.vue";
</script>
<template>
<Halftone />
<div class="overlay">
<img src="/img/memes/fire-woman.gif" class="br w-10vw" />
<Timer class="tr bdr-2 bg-primary" />
</div>
<div class="background halftone" />
<main class="center-content flex-col">
<div class="a4page-portrait bdr-1 grid relative">
<!-- <Overlay> -->
<!-- <img src="/img/memes/star.gif" class="ov1" /> -->
<!-- <img src="/img/memes/welcome2.png" class="ov2" /> -->
<!-- <img src="/img/memes/pidgeon.gif" class="ov3" /> -->
<!-- <img src="/img/memes/no_slip.png" class="ov5" /> -->
<!-- <img src="/img/memes/beer.png" class="ov6" /> -->
<!-- </Overlay> -->
<Intro class="intro bdr-primary bg-primary" />
<Listening class="listening bdr-primary bg-primary" />
<Stamps class="stamps bdr-primary bg-primary" />
@@ -36,7 +32,6 @@ import Overlay from "@/components/Overlay.vue";
<Gym class="gym bdr-primary bg-primary" />
</div>
</main>
<img src="/img/memes/fire-woman.gif" class="ov4" />
</template>
<style scoped>
@@ -46,12 +41,6 @@ import Overlay from "@/components/Overlay.vue";
grid-template-columns: repeat(10, 1fr);
grid-template-rows: repeat(10, 1fr);
}
.ov4 {
position: fixed; /* instead of absolute */
bottom: 0;
right: 0;
width: 250px; /* keeps size fixed */
}
@media (max-width: 850px) {
.grid {
@@ -59,9 +48,6 @@ import Overlay from "@/components/Overlay.vue";
display: flex;
flex-direction: column;
}
.ov4 {
width: 100px; /* keeps size fixed */
}
}
.intro {
@@ -107,46 +93,4 @@ import Overlay from "@/components/Overlay.vue";
grid-column: span 3;
grid-row: span 2;
}
.ov1 {
rotate: 10deg;
width: 100px;
position: absolute;
top: -90px;
left: 0px;
}
.ov2 {
width: 100px;
position: absolute;
top: -102px;
right: 0px;
}
.ov3 {
width: 200px;
position: absolute;
bottom: -50px;
left: -200px;
}
.ov5 {
height: 100px;
position: absolute;
top: 100px;
right: -100px;
}
.ov6 {
height: 250px;
position: absolute;
top: 450px;
right: -200px;
animation: floatY 5s ease-in-out infinite alternate;
}
@keyframes floatY {
from {
transform: translateY(0);
}
to {
transform: translateY(-500px);
}
}
</style>

View File

@@ -8,6 +8,7 @@ const note_links = [
<template>
<main class="center-content flex-col">
<div class="background halftone" />
<div class="a4page-portrait bdr-1 flex-col relative scroll-y gap">
<RouterTable :linkArr="note_links" />
</div>

View File

@@ -10,6 +10,7 @@ const shrine_links = [
<template>
<main class="center-content flex-col">
<div class="background halftone" />
<div class="a4page-portrait bdr-1 flex-col relative scroll-y gap">
<RouterTable :linkArr="shrine_links" />
</div>