Compare commits

...
3 Commits
Author SHA1 Message Date
futile 4663210f91 small cleanup 2026-07-23 16:58:40 +01:00
futile 5c16c28a40 deploy stuff 2026-07-23 16:17:51 +01:00
futile 5f27b3813b old file structure 2026-07-23 16:11:33 +01:00
12 changed files with 52 additions and 81 deletions
+1 -1
View File
@@ -1 +1 @@
.wrangler
-11
View File
@@ -1,11 +0,0 @@
image: busybox
pages:
stage: deploy
script:
- echo "The site will be deployed to $CI_PAGES_URL"
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
+7
View File
@@ -0,0 +1,7 @@
# futile.eu
yeah that's me
## deploy
`npx wrangler pages deploy .` i guess
View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 239 B

After

Width:  |  Height:  |  Size: 239 B

+15
View File
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>futile</title>
<link rel="icon" href="assets/favicon.svg" type="image/svg+xml" />
<link rel="stylesheet" href="style/reset.css" />
<link rel="stylesheet" href="style/style.css" />
</head>
<body class="body">
<h1 class="header" onclick="window.location.href = 'mailto:me@futile.eu'">
futile
</h1>
</body>
</html>
-17
View File
@@ -1,17 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>futile</title>
<link rel="icon" href="assets/favicon.svg" type="image/svg+xml" />
<link rel="stylesheet" href="index.css" />
</head>
<body id="body" class="body">
<h1 id="header" class="header" onclick="window.location.href = 'mailto:me@futile.eu'">
futile
</h1>
<script src="index.js"></script>
</body>
</html>
-22
View File
@@ -1,22 +0,0 @@
function onKonamiCode(callback) {
let input = "";
const konami =
"arrowuparrowuparrowdownarrowdownarrowleftarrowrightarrowleftarrowrightba";
document.addEventListener("keydown", (e) => {
input = (input + e.key.toLowerCase()).slice(-konami.length);
if (input === konami) callback();
});
}
onKonamiCode(() => {
const body = document.body;
const header = document.getElementById("header");
if (body.style.backgroundColor === "white") {
body.style.backgroundColor = "black";
header.style.color = "white";
} else {
body.style.backgroundColor = "white";
header.style.color = "black";
}
});
-30
View File
@@ -42,33 +42,3 @@ h1, h2, h3, h4, h5, h6 {
isolation: isolate;
}
/* CSS reset */
@font-face {
font-family: "Pirata One";
src: url("assets/Pirata One.woff2") format("woff2");
}
.body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
background-color: black;
}
.header {
font-weight: 600;
font-family: Pirata One;
font-size: clamp(1em, 12em, 40vw);
user-select: none;
line-height: 1;
overflow: hidden;
color: white;
}
@supports not (-moz-appearance: none) {
.header {
font-weight: 400;
}
}
+29
View File
@@ -0,0 +1,29 @@
@font-face {
font-family: "Pirata One";
src: url("../assets/Pirata One.woff2") format("woff2");
}
.body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
background-color: black;
}
.header {
font-weight: 600;
font-family: Pirata One;
font-size: clamp(1em, 12em, 40vw);
user-select: none;
line-height: 1;
overflow: hidden;
color: white;
}
@supports not (-moz-appearance: none) {
.header {
font-weight: 400;
}
}