Compare commits

...

4 commits

Author SHA1 Message Date
ea53a98f70 add post-boot frame structure 2026-02-03 22:20:47 +10:00
4b77bef6ef add cryframes 2026-02-03 22:20:31 +10:00
a10991e124 add music 2026-02-03 22:20:21 +10:00
001df16691 add avatar 2026-02-03 22:20:16 +10:00
9 changed files with 64 additions and 18 deletions

BIN
imgs/c00L_y2k_g1rL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

View file

@ -4,8 +4,9 @@
# ===== Configuration ===== # # ===== Configuration ===== #
IMGS_DIR="imgs" IMGS_DIR="imgs"
BAKE_DIR="bake" BAKE_DIR="www/baked"
# ========================= # # ========================= #
mkdir -p "$BAKE_DIR" mkdir -p "$BAKE_DIR"
magick -background '#000000' -size 100x100 "$IMGS_DIR/mirror-icon.svg" "$BAKE_DIR/mirror-icon.png" magick -background '#000000' -size 100x100 "$IMGS_DIR/mirror-icon.svg" "$BAKE_DIR/mirror-icon.png"
magick "$IMGS_DIR/c00L_y2k_g1rL.png" -resize 50% "$BAKE_DIR/avatar.png"

3
www/audio/README.md Normal file
View file

@ -0,0 +1,3 @@
# Credit
1. [me and my UNREGISTERED FIREARM](https://www.youtube.com/watch?v=5NWH-UmwWeM) by **@oranjate**
2. [UNDO UNDO](https://www.youtube.com/watch?v=lCaun_EiJZQ) by **@Rolobi**

BIN
www/audio/UNDO_UNDO.mpeg Normal file

Binary file not shown.

Binary file not shown.

View file

@ -3,15 +3,6 @@
/* =========================================================== */ /* =========================================================== */
.ppty { .ppty {
background-color: var(--theme-bg);
border: 0.5ch solid var(--theme-tty-border);
margin: auto auto;
padding: 20px;
position: relative;
height: auto;
/* display: block; */ /* display: block; */
/* flex-direction: column; */ /* flex-direction: column; */
/* justify-content: start; */ /* justify-content: start; */
@ -19,6 +10,9 @@
/* align-items: start; */ /* align-items: start; */
overflow: hidden; overflow: hidden;
font-family: monospace;
font-weight: bold;
} }
.ppty-block { .ppty-block {

View file

@ -2,6 +2,11 @@ body {
background-color: var(--theme-bg); background-color: var(--theme-bg);
} }
main {
visibility: hidden;
opacity: 0;
}
#bg-canvas { #bg-canvas {
display:block; display:block;
position: fixed; position: fixed;
@ -12,7 +17,7 @@ body {
z-index: -1; z-index: -1;
} }
.centered { .centered-container {
position: absolute; position: absolute;
inset: 0 0 0 0; inset: 0 0 0 0;
margin: auto; margin: auto;
@ -20,8 +25,22 @@ body {
display: flex; display: flex;
} }
.heading { .centered {
font-family: monospace; margin: auto auto;
font-size: 2em; position: relative;
font-weight: bold; }
/* like iframes but . . . wait what are iframes again? */
.cryframe {
border: 0.5ch solid var(--theme-tty-border);
padding: 20px;
width: auto;
height: auto;
background-color: var(--theme-bg);
color: var(--theme-text);
font-family: monospace;
font-size: 1.5em
} }

View file

@ -20,8 +20,8 @@
<canvas id="bg-canvas"></canvas> <canvas id="bg-canvas"></canvas>
<!-- Psuedo-Pseudo-Terminal --> <!-- Psuedo-Pseudo-Terminal -->
<div class="centered heading"> <div class="centered-container">
<div class="ppty" id="boot-ppty"> <div class="ppty centered cryframe" id="boot-ppty">
<div class="ppty-block"> <div class="ppty-block">
<div class="ppty-prompt"> <div class="ppty-prompt">
@ -63,5 +63,20 @@
</div> </div>
</div> </div>
<main>
<audio autoplay>
<!-- <source src="audio/UNREGISTERED_FIREARM.mpeg" type="audio/mpeg"> -->
<source src="audio/UNDO_UNDO.mpeg" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<div class="centered-container">
<div class="centered cryframe" style="display: flex; flex-direction: row; gap: 20px;">
<img src="baked/avatar.png" loading="eager" height="150">
<p>hi!! i'm cry (they/them)</p>
</div>
</div>
</main>
</body> </body>
</html> </html>

View file

@ -24,7 +24,21 @@ function endBoot(root) {
} }
); );
fade.onfinish = () => root.remove(); fade.onfinish = () => {
root.remove();
document
.querySelector("main")
.animate(
[
{ visibility: "visible" },
{ visibility: "visible", opacity: 1 }
],
{
duration: 400,
fill: "forwards",
}
);
}
} }
function main() { function main() {