2025-04-04 19:00:47 +02:00
|
|
|
|
<script lang="ts">
|
2025-08-26 16:59:36 +02:00
|
|
|
|
import SeparatorLine from "./separator-line.svelte";
|
|
|
|
|
|
|
2025-04-04 19:00:47 +02:00
|
|
|
|
var ratCounter = 0;
|
2025-08-26 16:59:36 +02:00
|
|
|
|
|
2025-04-04 19:00:47 +02:00
|
|
|
|
let playSound = function() {
|
2025-08-26 16:59:36 +02:00
|
|
|
|
let bolt = new Audio(`common/rat/bolt${ratCounter}.wav`)
|
|
|
|
|
|
bolt.volume = 0.2;
|
|
|
|
|
|
bolt.play();
|
2025-04-04 19:00:47 +02:00
|
|
|
|
ratCounter += 1;
|
|
|
|
|
|
if (ratCounter == 3) {
|
|
|
|
|
|
ratCounter = 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<footer>
|
2025-08-26 16:59:36 +02:00
|
|
|
|
<SeparatorLine noMargin />
|
2025-08-26 18:21:05 +02:00
|
|
|
|
|
2025-08-26 16:59:36 +02:00
|
|
|
|
<div class="content-container">
|
|
|
|
|
|
<div class="content-box center-box">
|
2025-08-26 18:21:05 +02:00
|
|
|
|
<p>〔 2023–2025 〕denizk0461</p>
|
2025-08-26 16:59:36 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
<div class="content-box">
|
|
|
|
|
|
<h6>Content</h6>
|
|
|
|
|
|
<a href="/projects">Projects</a>
|
|
|
|
|
|
<a href="/garden">Garden</a>
|
|
|
|
|
|
<a href="/about">About</a>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="content-box">
|
|
|
|
|
|
<h6>Meta</h6>
|
|
|
|
|
|
<a href="https://codeberg.org/denizk0461/pages-svelte">Page Source</a>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="content-box"></div>
|
2025-04-04 19:00:47 +02:00
|
|
|
|
</div>
|
2025-08-18 19:44:53 +02:00
|
|
|
|
<input
|
|
|
|
|
|
type="image"
|
2025-08-26 16:59:36 +02:00
|
|
|
|
onclick={playSound}
|
2025-08-18 19:44:53 +02:00
|
|
|
|
title="the bottom rat"
|
|
|
|
|
|
alt="the bottom rat"
|
|
|
|
|
|
class="bottom-rat"
|
|
|
|
|
|
src="/common/rat/spookyrat.webp">
|
2025-04-04 19:00:47 +02:00
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
footer {
|
|
|
|
|
|
background-color: var(--color-background-highlight);
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
bottom: 0;
|
2025-08-26 16:59:36 +02:00
|
|
|
|
/* height: 120px; */
|
2025-04-04 19:00:47 +02:00
|
|
|
|
width: 100%;
|
|
|
|
|
|
backdrop-filter: blur(6px);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-08-26 16:59:36 +02:00
|
|
|
|
footer h6 {
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-style: italic;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
footer p, footer a {
|
|
|
|
|
|
display: block;
|
2025-04-04 19:00:47 +02:00
|
|
|
|
font-family: var(--font-mono);
|
2025-08-26 16:59:36 +02:00
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
color: var(--color-text);
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
footer a:hover {
|
|
|
|
|
|
font-weight: 900;
|
2025-04-04 19:00:47 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bottom-rat {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
width: 20%;
|
|
|
|
|
|
max-width: 100px;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
bottom: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-08-26 16:59:36 +02:00
|
|
|
|
.content-container {
|
2025-04-04 19:00:47 +02:00
|
|
|
|
height: 100%;
|
2025-08-26 16:59:36 +02:00
|
|
|
|
margin: 0 24px 0 48px;
|
2025-04-04 19:00:47 +02:00
|
|
|
|
display: flex;
|
2025-08-26 16:59:36 +02:00
|
|
|
|
/* align-items: center; */
|
|
|
|
|
|
flex-flow: row;
|
|
|
|
|
|
gap: 16px;
|
|
|
|
|
|
justify-content: space-evenly;
|
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.content-box {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
margin: 16px 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.center-box {
|
|
|
|
|
|
margin: auto 0;
|
2025-04-04 19:00:47 +02:00
|
|
|
|
}
|
|
|
|
|
|
</style>
|