Redesign Cards
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Chaoscaot 2024-08-13 10:56:47 +02:00
Ursprung be4967f34b
Commit 38728774fd

Datei anzeigen

@ -155,8 +155,8 @@ const latestPost = posts.sort((a, b) => dayjs(b.data.created).unix() - dayjs(a.d
<h2 class="dark:text-white text-4xl font-bold">{t("home.prefix." + prefix.replace("PREFIX_", "").toLowerCase())}</h2> <h2 class="dark:text-white text-4xl font-bold">{t("home.prefix." + prefix.replace("PREFIX_", "").toLowerCase())}</h2>
<div class="flex my-4 md:flex-row flex-col flex-wrap justify-center"> <div class="flex my-4 md:flex-row flex-col flex-wrap justify-center">
{players.map(v => ( {players.map(v => (
<Card extraClasses="pt-8 pb-10 px-8" client:idle> <Card extraClasses="pt-8 pb-10 px-8 w-fit" client:idle>
<figure class="flex flex-col items-center"> <figure class="flex flex-col items-center" style="width: 150px">
<figcaption class="text-center mb-4 text-2xl">{v.name}</figcaption> <figcaption class="text-center mb-4 text-2xl">{v.name}</figcaption>
<Image src={`${import.meta.env.PUBLIC_API_SERVER}/data/skin/${v.uuid}`} <Image src={`${import.meta.env.PUBLIC_API_SERVER}/data/skin/${v.uuid}`}
class="transition duration-300 ease-in-out hover:scale-110 hover:backdrop-blur-lg hover:drop-shadow-2xl" class="transition duration-300 ease-in-out hover:scale-110 hover:backdrop-blur-lg hover:drop-shadow-2xl"