web: MAY GOD HAVE MERCY ON STICKY COMPONENTS

This commit is contained in:
Mark Joshwel 2025-01-31 14:03:58 +08:00
parent f67aeb35fd
commit 50c2486c42
3 changed files with 179 additions and 6563 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,64 +1,10 @@
/*
echoes behind the door website stylesheet
*/
@tailwind base;
@tailwind components;
@tailwind utilities;
/* latin-ext */
@font-face {
font-family: "Geist";
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url(https://fonts.gstatic.com/s/geist/v1/gyByhwUxId8gMEwSGFWNPoTcZY7pVQ.woff2)
format("woff2");
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: "Geist";
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url(https://fonts.gstatic.com/s/geist/v1/gyByhwUxId8gMEwcGFWNPoTcZY4.woff2)
format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
font-family: "Geist Mono";
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url(https://fonts.gstatic.com/s/geistmono/v1/or3nQ6H-1_WfwkMZI_qYFrkdmhHijks9bNn0.woff2)
format("woff2");
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: "Geist Mono";
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url(https://fonts.gstatic.com/s/geistmono/v1/or3nQ6H-1_WfwkMZI_qYFrcdmhHijks9bA.woff2)
format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
U+2212, U+2215, U+FEFF, U+FFFD;
}
@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;
--font-mono: "'Geist Mono'", monospace;
}
:root {
font-family: Geist, sans-serif;
font-feature-settings: "liga" 1, "calt" 1; /* fix for Chrome */
}

View file

@ -3,9 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Franken UI</title>
<title>Echoes Behind Closed Doors</title>
<link rel="stylesheet" href="/css/styles.css" />
<!-- favicons -->
<link
@ -30,15 +28,17 @@
<!-- TODO: social share -->
<!-- frankenui -->
<link
rel="stylesheet"
href="https://unpkg.com/franken-ui@2.0.0-internal.39/dist/css/core.min.css"
/>
<link
rel="stylesheet"
href="https://unpkg.com/franken-ui@2.0.0-internal.39/dist/css/utilities.min.css"
/>
<!-- 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>
const htmlElement = document.documentElement;
@ -56,7 +56,7 @@
htmlElement.classList.remove("dark");
}
htmlElement.classList.add(__FRANKEN__.theme || "uk-theme-wirm");
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");
@ -72,134 +72,167 @@
></script>
</head>
<body class="bg-background text-foreground">
<!-- START CODING HERE -->
<div class="uk-container uk-container-xl mt-40 grid gap-y-8 md:grid-cols-2">
<div class="space-y-4">
<h1 class="uk-hero-sm font-bold">Franken UI: Dos</h1>
<p class="text-lg font-light">New coat, old boat.</p>
<div class="flex gap-x-1">
<a
class="uk-btn uk-btn-primary"
href="https://next.franken-ui.dev/docs/2.0/introduction"
<!-- navbar -->
<header
class="uk-position-z-index p-4 flex justify-between !bg-[hsl(var(--muted))]/75 !backdrop-blur-md text-muted-foreground"
data-uk-sticky
>
Learn
</a>
<a
class="uk-btn uk-btn-default"
href="https://github.com/sponsors/sveltecult"
target="_blank"
>
<uk-icon icon="heart" cls-custom="mr-2 text-pink-500"></uk-icon>
Support
</a>
<div class="uk-inline">
<button
class="uk-btn uk-btn-default uk-btn-icon"
aria-label="Customize"
>
<uk-icon icon="palette"></uk-icon>
</button>
<div
class="uk-card uk-card-body uk-drop w-96"
data-uk-drop="mode: click; offset: 8"
>
<div class="uk-h3">Customize</div>
<p class="mb-4 mt-1 text-muted-foreground">
Customize your Franken UI experience.
</p>
<uk-theme-switcher id="theme-switcher">
<select hidden>
<optgroup data-key="theme" label="Theme">
<option data-hex="#52525b" value="uk-theme-zinc" selected>
Zinc
</option>
<option data-hex="#64748b" value="uk-theme-slate">
Slate
</option>
<option data-hex="#78716c" value="uk-theme-stone">
Stone
</option>
<option data-hex="#6b7280" value="uk-theme-gray">
Gray
</option>
<option data-hex="#737373" value="uk-theme-neutral">
Neutral
</option>
<option data-hex="#dc2626" value="uk-theme-red">Red</option>
<option data-hex="#e11d48" value="uk-theme-rose">
Rose
</option>
<option data-hex="#f97316" value="uk-theme-orange">
Orange
</option>
<option data-hex="#16a34a" value="uk-theme-green">
Green
</option>
<option data-hex="#2563eb" value="uk-theme-blue">
Blue
</option>
<option data-hex="#facc15" value="uk-theme-yellow">
Yellow
</option>
<option data-hex="#7c3aed" value="uk-theme-violet">
Violet
</option>
</optgroup>
<optgroup data-key="radii" label="Radii">
<option value="uk-radii-none">None</option>
<option value="uk-radii-sm">Small</option>
<option value="uk-radii-md" selected>Medium</option>
<option value="uk-radii-lg">Large</option>
</optgroup>
<optgroup data-key="shadows" label="Shadows">
<option value="uk-shadows-none">None</option>
<option value="uk-shadows-sm" selected>Small</option>
<option value="uk-shadows-md">Medium</option>
<option value="uk-shadows-lg">Large</option>
</optgroup>
<optgroup data-key="mode" label="Mode">
<option data-icon="sun" value="light">Light</option>
<option data-icon="moon" value="dark">Dark</option>
</optgroup>
</select>
</uk-theme-switcher>
<div class="flex flex-row gap-2">
<img src="/png/logo-icon.png" alt="wirm logo" class="!h-[2.5rem]" />
<img
src="/png/logo-wordmark-blue.png"
alt="wirm wordmark"
class="!h-[2.5rem]"
/>
</div>
</div>
</div>
</div>
<div class="">
<h2 class="uk-h3">Follow</h2>
<ul class="uk-list uk-list-hyphen mt-4">
<nav class="flex">
<ul class="uk-subnav uk-subnav-primary">
<li class="uk-active"><a href="/">About</a></li>
<li>
<a
class="uk-link"
href="https://bsky.app/profile/sveltecult.bsky.social"
target="_blank"
>
https://bsky.app/profile/sveltecult.bsky.social
<a href>
<span class="mr-2">Account</span>
<uk-icon icon="chevron-down"></uk-icon>
</a>
<div data-uk-dropdown="mode: click">
<ul class="uk-dropdown-nav uk-nav">
<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>
<a
class="uk-link"
href="https://github.com/sveltecult"
target="_blank"
>
https://github.com/sveltecult
</a>
</li>
<li>
<a
class="uk-link"
href="https://github.com/franken-ui"
target="_blank"
>
https://github.com/franken-ui
</a>
<li id="button-auth-profile">
<a href="/profile">Profile</a>
</li>
</ul>
</div>
</li>
<li><a href="/booth">Booth Management</a></li>
</ul>
</nav>
</header>
<!-- content -->
<main>
<section id="landing-hero">
<div class="uk-cover-container h-[80vh] h-[80svh]">
<img src="https://files.catbox.moe/o25s1k.JPG" alt="" data-uk-cover />
<video
src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
loop
muted
playsinline
data-uk-cover
></video>
</div>
<!-- END -->
<div class="uk-inline">
<div class="uk-position-bottom-left uk-position-md">
<h1 class="uk-h1 !text-6xl text-background">Echoes Behind Closed Doors</h1>
</div>
</div>
</section>
<section class="uk-container">
<h1 class="uk-h1">The Joke Tax Chronicles</h1>
<p class="uk-text-lead mt-4">
Once upon a time, in a far-off land, there was a very lazy king who
spent all day lounging on his throne. One day, his advisors came to
him with a problem: the kingdom was running out of money.
</p>
<h2 class="uk-h2 mt-4">The King's Plan</h2>
<p class="uk-paragraph">
The king thought long and hard, and finally came up with a
<a class="uk-link" href="#">brilliant plan</a>: he would tax the jokes
in the kingdom.
</p>
<blockquote class="uk-blockquote">
"After all," he said, "everyone enjoys a good joke, so it's only fair
that they should pay for the privilege."
</blockquote>
<h3 class="uk-h3 mt-4">The Joke Tax</h3>
<p class="uk-paragraph">
The king's subjects were not amused. They grumbled and complained, but
the king was firm:
</p>
<ul class="uk-list uk-list-disc mt-4">
<li>1st level of puns: 5 gold coins</li>
<li>2nd level of jokes: 10 gold coins</li>
<li>3rd level of one-liners : 20 gold coins</li>
</ul>
<p class="uk-paragraph">
As a result, people stopped telling jokes, and the kingdom fell into a
gloom. But there was one person who refused to let the king's
foolishness get him down: a court jester named Jokester.
</p>
<h3 class="uk-h3 mt-4">Jokester's Revolt</h3>
<p class="uk-paragraph">
Jokester began sneaking into the castle in the middle of the night and
leaving jokes all over the place: under the king's pillow, in his
soup, even in the royal toilet. The king was furious, but he couldn't
seem to stop Jokester.
</p>
<p class="uk-paragraph">
And then, one day, the people of the kingdom discovered that the jokes
left by Jokester were so funny that they couldn't help but laugh. And
once they started laughing, they couldn't stop.
</p>
<h3 class="uk-h3 mt-4">The People's Rebellion</h3>
<p class="uk-paragraph">
The people of the kingdom, feeling uplifted by the laughter, started
to tell jokes and puns again, and soon the entire kingdom was in on
the joke.
</p>
<table class="uk-table uk-table-divider uk-table-striped mt-4">
<thead>
<tr>
<th>King's Treasury</th>
<th>People's happiness</th>
</tr>
</thead>
<tbody>
<tr>
<td>Empty</td>
<td>Overflowing</td>
</tr>
<tr>
<td>Modest</td>
<td>Satisfied</td>
</tr>
<tr>
<td>Full</td>
<td>Ecstatic</td>
</tr>
</tbody>
</table>
<p class="uk-paragraph">
The king, seeing how much happier his subjects were, realized the
error of his ways and repealed the joke tax. Jokester was declared a
hero, and the kingdom lived happily ever after.
</p>
<p class="uk-paragraph">
The moral of the story is: never underestimate the power of a good
laugh and always be careful of bad ideas.
</p>
</section>
</main>
<!-- footer -->
<footer></footer>
</body>
</html>