web: i would (git)ignore this but my brain thinks otherwise

This commit is contained in:
Mark Joshwel 2025-02-02 04:47:05 +08:00
parent ad6c002a16
commit 2a651e5d51
14 changed files with 23676 additions and 220 deletions

BIN
Web/public/apple-touch-icon-xhq3hzfq.png (Stored with Git LFS) Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

View file

@ -1,18 +0,0 @@
@import "tailwindcss";
@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&family=Geist:wght@100..900&display=swap");
@theme {
--font-sans: "Geist", sans-serif;
--font-mono: "'Geist Mono'", monospace;
}
:root {
font-family: Geist, sans-serif;
font-feature-settings: "liga" 1, "calt" 1; /* fix for Chrome */
}
@media (max-width: 768px) {
.uk-subnav > * > :first-child {
padding-left: 0.5rem !important;
padding-right: 0.5rem !important;
}
}

BIN
Web/public/favicon-16x16-6gdgm8kp.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Web/public/favicon-32x32-sqpfcyy0.png (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

8423
Web/public/index-2fc1d355.js Normal file

File diff suppressed because one or more lines are too long

7816
Web/public/index-ca9pb5m7.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

View file

@ -6,71 +6,18 @@
<title>Echoes Behind Closed Doors</title> <title>Echoes Behind Closed Doors</title>
<!-- favicons --> <!-- favicons -->
<link <link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon-xhq3hzfq.png" />
rel="apple-touch-icon" <link rel="icon" type="image/x-icon" href="./favicon-4nk2rrtb.ico" />
sizes="180x180" <link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32-sqpfcyy0.png" />
href="/png/apple-touch-icon.png" <link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16-6gdgm8kp.png" />
/> <link rel="manifest" href="./site-h99v0pws.webmanifest" />
<link rel="icon" type="image/x-icon" href="/images/favicon.ico" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/png/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/png/favicon-16x16.png"
/>
<link rel="manifest" href="/site.webmanifest" />
<!-- TODO: social share --> <!-- TODO: social share -->
<!-- franken-ui --> <!-- franken-ui -->
<style>
@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&family=Geist:wght@100..900&display=swap");
</style>
<!-- https://unpkg.com/franken-ui@internal/dist/css/core.min.css -->
<!-- https://unpkg.com/franken-ui@internal/dist/css/utilities.min.css -->
<link rel="stylesheet" href="/css/franken-core.css" />
<link rel="stylesheet" href="/css/franken-utilities.css" />
<link rel="stylesheet" href="/css/styles.css" />
<script> <link rel="stylesheet" crossorigin href="./index-hkj11hrb.css"><script type="module" crossorigin src="./index-2fc1d355.js"></script></head>
const htmlElement = document.documentElement;
const __FRANKEN__ = JSON.parse(
localStorage.getItem("__FRANKEN__") || "{}"
);
if (
__FRANKEN__.mode === "dark" ||
(!__FRANKEN__.mode &&
window.matchMedia("(prefers-color-scheme: dark)").matches)
) {
htmlElement.classList.add("dark");
} else {
htmlElement.classList.remove("dark");
}
htmlElement.classList.add(__FRANKEN__.theme || "uk-theme-blue");
htmlElement.classList.add(__FRANKEN__.radii || "uk-radii-md");
htmlElement.classList.add(__FRANKEN__.shadows || "uk-shadows-sm");
htmlElement.classList.add(__FRANKEN__.font || "uk-font-sm");
</script>
<script
type="module"
src="https://unpkg.com/franken-ui@internal/dist/js/core.iife.js"
></script>
<script
type="module"
src="https://unpkg.com/franken-ui@internal/dist/js/icon.iife.js"
></script>
</head>
<body class="bg-background text-foreground"> <body class="bg-background text-foreground">
<main> <main>
<section <section
@ -97,12 +44,8 @@
data-uk-sticky="position:top" data-uk-sticky="position:top"
> >
<div class="flex flex-row gap-2"> <div class="flex flex-row gap-2">
<img src="/png/logo-icon.png" alt="wirm logo" class="!h-[2.5rem]" /> <img src="./logo-icon-1yfzf2ex.png" alt="wirm logo" class="!h-[2.5rem]" />
<img <img src="./logo-wordmark-blue-x0tvrafq.png" alt="wirm wordmark" class="!h-[2.5rem]" />
src="/png/logo-wordmark-blue.png"
alt="wirm wordmark"
class="!h-[2.5rem]"
/>
</div> </div>
<nav class="flex"> <nav class="flex">
@ -255,16 +198,6 @@
</section> </section>
</main> </main>
<script
type="application/javascript"
src="/js/nayuki-qrcodegen-v1.8.0.js"
></script>
<script type="application/javascript" src="/js/qrcode.js"></script>
<script>
const style = window.getComputedStyle(document.body);
const svg = generateQrCode(window.location.origin + "/signup.html");
document.getElementById("hero-svg").innerHTML = svg;
document.getElementById("hero-svg").classList.remove("uk-placeholder");
</script>
</body> </body>
</html> </html>

View file

@ -1,122 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Echoes Behind Closed Doors</title>
<link rel="stylesheet" href="/css/styles.css" />
<!-- favicons -->
<link
rel="apple-touch-icon"
sizes="180x180"
href="/png/apple-touch-icon.png"
/>
<link rel="icon" type="image/x-icon" href="/images/favicon.ico" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/png/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/png/favicon-16x16.png"
/>
<link rel="manifest" href="/site.webmanifest" />
<!-- TODO: social share -->
</head>
<body>
<header>
<nav class="navbar bg-base-100">
<!-- logo -->
<div class="flex-1 flex gap-2">
<img src="/png/logo-icon.png" alt="wirm logo" class="h-[2.5rem]" />
<img
src="/png/logo-wordmark.png"
alt="wirm wordmark"
class="h-[2.5rem]"
/>
</div>
<!-- menu items -->
<div class="flex-none">
<ul class="menu menu-horizontal px-1">
<li><a href="/">About</a></li>
<li>
<details>
<summary>Account</summary>
<ul class="bg-base-100 rounded-t-none p-2">
<li id="button-auth-logIn"><a href="/login">Log In</a></li>
<li id="button-auth-signUp"><a href="/signup">Sign Up</a></li>
<li id="button-auth-logOut">
<a href="/profile?logOut=true">Log Out</a>
</li>
<li id="button-auth-profile">
<a href="/profile">Profile</a>
</li>
</ul>
</details>
</li>
<li><a href="/booth">Booth Management</a></li>
</ul>
</div>
</nav>
</header>
<main>
<!-- hero -->
<section
id="home-hero"
class="hero min-h-[85vh] border-green-400 border-2"
style="background-image: url(https://files.catbox.moe/o25s1k.JPG)"
>
<!-- daisyui bg overlay -->
<div class="hero-overlay bg-opacity-60"></div>
<!-- hero content -->
<div
class="hero-content w-full flex-col lg:flex-row flex-1 text-neutral-content border-yellow-400 border-2"
>
<!-- left side: game name and desc -->
<div id="home-hero-left" class="flex-1 border-red-400 border-2">
<h1 class="text-6xl font-bold">Echoes Behind Closed Doors</h1>
<p class="py-6">
Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda excepturi exercitationem
quasi. In deleniti eaque aut repudiandae et a id nisi.
</p>
</div>
<!-- right side: qr code (hidden when small enough) -->
<div id="home-hero-right" class="flex-1 border-blue-400 border-2">
</div>
</div>
</section>
</main>
<footer class="footer bg-neutral text-neutral-content p-10">
<nav>
<h6 class="footer-title">Legal</h6>
<a class="link link-hover">Terms of use</a>
<a class="link link-hover">Privacy policy</a>
<a class="link link-hover">Cookie policy</a>
</nav>
</footer>
<script
type="application/javascript"
src="/js/nayuki-qrcodegen-v1.8.0.js"
></script>
<script type="application/javascript" src="/js/qrcode.js"></script>
<script>
// generate qr code from root url + /booth
console.log(
`generating qr code for '${window.location.origin}/booth.html'`
);
const qr = generateQrCode(window.location.origin + "/booth.html");
</script>
</body>
</html>

BIN
Web/public/logo-icon-1yfzf2ex.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Web/public/logo-wordmark-blue-x0tvrafq.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,14 @@
{
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}