Indicate that panquia is on fire

This commit is contained in:
eggy 2022-12-19 15:41:40 -05:00
parent 0eef57a376
commit 2789dc375f
3 changed files with 46 additions and 5 deletions

View File

@ -4,13 +4,17 @@ const props = defineProps<{
href: string; href: string;
img: string; img: string;
unclickable?: boolean; unclickable?: boolean;
broken?: boolean;
}>(); }>();
const imgUrl = `/images/services/${props.img}`; const imgUrl = `/images/services/${props.img}`;
</script> </script>
<template> <template>
<a :href="unclickable ? '' : href" :class="['no-underline', { unclickable }]"> <a
:href="unclickable ? '' : href"
:class="['no-underline', { unclickable: unclickable || broken, broken }]"
>
<div class="card flex flex-col items-center justify-around"> <div class="card flex flex-col items-center justify-around">
<img class="m-0" :src="imgUrl" /> <img class="m-0" :src="imgUrl" />
<h3 class="m-0">{{ props.name }}</h3> <h3 class="m-0">{{ props.name }}</h3>
@ -36,6 +40,26 @@ img {
box-shadow: 0 0.1rem 0.5rem 0 gray; box-shadow: 0 0.1rem 0.5rem 0 gray;
} }
a.broken::before {
content: "PANQUIA IS ON FIRE";
position: absolute;
color: red;
transform: rotate(-45deg);
font-size: 1.5rem;
text-align: center;
z-index: 2;
top: 40%;
left: -12.5%;
width: 125%;
font-family: "Roboto", sans-serif;
font-weight: bold;
}
a.broken > .card {
filter: grayscale(100%);
opacity: 0.4;
}
html.dark .card { html.dark .card {
border: 0.2rem solid rgb(126, 93, 98); border: 0.2rem solid rgb(126, 93, 98);
background: rgb(110, 90, 92); background: rgb(110, 90, 92);

View File

@ -40,8 +40,9 @@ import { projects } from "@/data/projects";
<p>and other things that I'm forgetting right now.</p> <p>and other things that I'm forgetting right now.</p>
<p> <p>
I have two server machines at home a Dell OptiPlex 780 and a Dell I have two server machines at home a Dell OptiPlex 780 and a Dell
Latitude E5520. One of them is a laptop and I'm surprised it hasn't burnt Latitude E5520. One of them is a laptop and
up yet. <s>I'm surprised it hasn't burnt up yet </s>
<span class="redphasis">it has burnt up.</span>
</p> </p>
<h3>OptiPlex 780 ("asvyn")</h3> <h3>OptiPlex 780 ("asvyn")</h3>
<ul> <ul>
@ -58,6 +59,10 @@ import { projects } from "@/data/projects";
<li><strong>RAM:</strong> 10 GB</li> <li><strong>RAM:</strong> 10 GB</li>
<li><strong>Storage:</strong> 300 GB hard drive</li> <li><strong>Storage:</strong> 300 GB hard drive</li>
<li><strong>OS:</strong> Arch Linux</li> <li><strong>OS:</strong> Arch Linux</li>
<li>
<strong>Status: </strong>
<span class="redphasis">ON FIRE.</span>
</li>
</ul> </ul>
</div> </div>
</template> </template>
@ -71,4 +76,9 @@ ul {
margin: 0; margin: 0;
line-height: 1.35; line-height: 1.35;
} }
.redphasis {
font-weight: bold;
color: red;
}
</style> </style>

View File

@ -36,7 +36,12 @@
> >
Kobo Cloud Kobo Cloud
</ServiceCard> </ServiceCard>
<ServiceCard name="Plex" href="https://plex.eggworld.me" img="plex.webp"> <ServiceCard
name="Plex"
href="https://plex.eggworld.me"
img="plex.webp"
broken
>
Ad-filled media server Ad-filled media server
</ServiceCard> </ServiceCard>
@ -44,6 +49,7 @@
name="Jellyfin" name="Jellyfin"
href="https://jellyfin.eggworld.me" href="https://jellyfin.eggworld.me"
img="jellyfin.webp" img="jellyfin.webp"
broken
> >
FOSS media server FOSS media server
</ServiceCard> </ServiceCard>
@ -52,7 +58,8 @@
name="Minecraft" name="Minecraft"
href="minecraft.eggworld.me" href="minecraft.eggworld.me"
img="minecraft.webp" img="minecraft.webp"
:unclickable="true" unclickable
broken
> >
Whitelisted Whitelisted
</ServiceCard> </ServiceCard>