mirror of
https://github.com/liyunze-coding/RythonDev.git
synced 2026-09-22 07:44:26 +00:00
added ?uwu easter egg
This commit is contained in:
parent
3661d7ddbd
commit
0004fcc498
3 changed files with 17 additions and 5 deletions
BIN
public/images/RythonDev-UwU-compressed.webp
Normal file
BIN
public/images/RythonDev-UwU-compressed.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
|
|
@ -102,10 +102,6 @@
|
|||
onMount(async () => {
|
||||
await sleep(800);
|
||||
animateGreeting(greeting);
|
||||
// .then(() => {
|
||||
// greetingPulse.classList.remove("animate-pulse");
|
||||
// greetingPulse.classList.add("hidden");
|
||||
// });
|
||||
await animateRoles();
|
||||
});
|
||||
</script>
|
||||
|
|
@ -136,7 +132,14 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-2xl font-bold mt-10">
|
||||
<div id="uwu" class="hidden justify-center items-center">
|
||||
<img
|
||||
src="/images/RythonDev-UwU-compressed.webp"
|
||||
alt="RythonDev"
|
||||
width="400"
|
||||
/>
|
||||
</div>
|
||||
<div class="text-2xl font-bold mt-2">
|
||||
Good {greetingState}<span
|
||||
bind:this={greetingPulse}
|
||||
class="animate-pulse font-extralight">|</span
|
||||
|
|
|
|||
|
|
@ -40,4 +40,13 @@ import Card from "../components/elements/Card.astro";
|
|||
<div id="contact">
|
||||
<Contact client:visible />
|
||||
</div>
|
||||
<script is:inline>
|
||||
location.search.includes("?uwu") &&
|
||||
document.documentElement.classList.add("uwu");
|
||||
</script>
|
||||
<style is:global>
|
||||
.uwu #uwu {
|
||||
display: flex;
|
||||
}
|
||||
</style>
|
||||
</Layout>
|
||||
|
|
|
|||
Loading…
Reference in a new issue