Archived
3
0

Create build system (#1)

This commit is contained in:
Matěj Žucha
2025-03-09 18:22:14 +00:00
committed by Ondřej Mekina
parent 5bb655b7de
commit 77c8deabc8
36 changed files with 1860 additions and 478 deletions

31
client/src/index.html Normal file
View File

@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Test page</title>
<link href="style.css" rel="stylesheet">
</head>
<body>
<h1>This is a test page</h1>
<p>zmp24 rizzin 2b tru σ pookie fr gooner skibidi</p>
<p>This page was visited {{ visit_count }} times before you showed up.</p>
<p>
Here is {{ visit_count }} dot{% if visit_count != 1 %}s{% endif %}:
<!--
Tohle je skibidi sigma můj úžasný build systém.
Ať neděláme gulášek v syntax highlightingu.
Ty replacementy jsou v `client/client.mk`.
-->
{% if visit_count ##LT## 100 %}
{% for _ in 0..visit_count %}
.
{% endfor %}
{% else %}
That's too much dots to display. So f u.
{% endif %}
</p>
<script src="script.js"></script>
</body>
</html>

16
client/src/script.ts Normal file
View File

@@ -0,0 +1,16 @@
type Sigma = string;
type ToMew = "Σ" | Sigma;
async function skibidi(): Promise<ToMew> {
return "fr fr";
}
async function boomer(): Promise<never> {
return new Promise(() => {});
}
async function alpha(): Promise<void> {
console.log(await Promise.any([skibidi(), boomer()]) + " nocap");
}
alpha();

10
client/src/style.scss Normal file
View File

@@ -0,0 +1,10 @@
:root {
color-scheme: light dark;
}
$color-me-daddy: light-dark(black, white);
body {
font-family: Arial, Helvetica, sans-serif;
color: $color-me-daddy;
}