mirror of
https://github.com/liyunze-coding/RythonDev.git
synced 2026-09-22 15:53:57 +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 () => {
|
onMount(async () => {
|
||||||
await sleep(800);
|
await sleep(800);
|
||||||
animateGreeting(greeting);
|
animateGreeting(greeting);
|
||||||
// .then(() => {
|
|
||||||
// greetingPulse.classList.remove("animate-pulse");
|
|
||||||
// greetingPulse.classList.add("hidden");
|
|
||||||
// });
|
|
||||||
await animateRoles();
|
await animateRoles();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -136,7 +132,14 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</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
|
Good {greetingState}<span
|
||||||
bind:this={greetingPulse}
|
bind:this={greetingPulse}
|
||||||
class="animate-pulse font-extralight">|</span
|
class="animate-pulse font-extralight">|</span
|
||||||
|
|
|
||||||
|
|
@ -40,4 +40,13 @@ import Card from "../components/elements/Card.astro";
|
||||||
<div id="contact">
|
<div id="contact">
|
||||||
<Contact client:visible />
|
<Contact client:visible />
|
||||||
</div>
|
</div>
|
||||||
|
<script is:inline>
|
||||||
|
location.search.includes("?uwu") &&
|
||||||
|
document.documentElement.classList.add("uwu");
|
||||||
|
</script>
|
||||||
|
<style is:global>
|
||||||
|
.uwu #uwu {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue