Skip to content

Commit

Permalink
funny 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
NitroGuy10 committed Mar 24, 2024
1 parent 0c0922f commit 821ed8a
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions error.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

<template>
<div>
<Body class="bg-zinc-900 text-zinc-300 overflow-hidden" /> <!-- bg-zinc-800 -->

<div v-for="num in [...Array(40).keys()]" class="absolute top-0 left-0 bottom-0 right-0 spin-cw" :style="'animation-delay: -' + (num / 4) + 's;'">
<p class="text-[3vh] hidden md:inline absolute top-[10%] left-1/2 -translate-x-1/2">404</p>
</div>
<div v-for="num in [...Array(40).keys()]" class="absolute top-0 left-0 bottom-0 right-0 spin-ccw" :style="'animation-delay: -' + (num / 4) + 's;'">
<p class="text-[3vh] hidden md:inline absolute top-[5%] left-1/2 -translate-x-1/2">404</p>
</div>

<div class="flex justify-center items-center h-screen">
<div class="text-center">
<h1 class="text-9xl mb-8">404</h1>
<h1 class="text-5xl sm:text-7xl">LOLOLOLOL</h1>
</div>
</div>
</div>
</template>

<style>
@keyframes spin-cw {
to {
transform: rotate(360deg);
}
}
@keyframes spin-ccw {
to {
transform: rotate(-360deg);
}
}
.spin-cw {
animation: spin-cw 10s linear infinite;
}
.spin-ccw {
animation: spin-ccw 10s linear infinite;
}
</style>

0 comments on commit 821ed8a

Please sign in to comment.