This commit is contained in:
2024-12-15 12:02:54 +01:00
parent 9e6ef73ccb
commit 292d1b6bcc
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,6 @@ export default defineConfig({
output: "static", output: "static",
image: { image: {
service: sharpImageService(), service: sharpImageService(),
domains: [ "vzge.me" ]
}, },
compressHTML: true, compressHTML: true,
site: "https://steamwar.de", site: "https://steamwar.de",

View File

@ -168,7 +168,7 @@ const prefixColorMap: {
<Card extraClasses={`pt-8 pb-10 px-8 w-fit shadow-md ${prefixColorMap[prefix]}`} client:idle> <Card extraClasses={`pt-8 pb-10 px-8 w-fit shadow-md ${prefixColorMap[prefix]}`} client:idle>
<figure class="flex flex-col items-center" style="width: 150px"> <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={`https://vzge.me/bust/150/${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"
alt={v.name + "s bust"} width="150" height="150"/> alt={v.name + "s bust"} width="150" height="150"/>
</figure> </figure>