rework frontend
Build / Build-image (push) Failing after 6s

This commit is contained in:
2026-09-24 15:59:14 +02:00
parent 74aa9f4216
commit 91f661361d
3 changed files with 26 additions and 2 deletions
+26 -2
View File
@@ -29,6 +29,7 @@ function openWish() {
<template v-else>
<div class="large-container" @mouseover="hover = true" @mouseleave="hover = false">
<div class="backdrop" v-if="hover">
<img :src="'/skonk/large/backdrop_filter.png'" :style="'width: 100%; height: 100%; filter: hue-rotate(' + wish.color + 'deg) saturate(0.8)'">
</div>
<img :src="'/skonk/large/' + wish.type + '.png'" class="large large-icon">
<div class="large-text">
@@ -39,6 +40,10 @@ function openWish() {
{{ wish.title }}
</div>
</div>
<div class="cursor" v-if="hover">
<img :src="'/skonk/cursor_corner.png'" class="cursor">
<img :src="'/skonk/cursor_corner.png'" class="cursor opposite-corner">
</div>
</div>
</template>
@@ -49,14 +54,29 @@ function openWish() {
<style scoped>
.backdrop {
position: absolute;
background-color: red;
width: 100%;
height: 100%;
filter: opacity(10%);
filter: opacity(20%);
z-index: -1;
}
img.cursor{
width: 40px;
height: 40px;
}
.opposite-corner {
rotate: 180deg;
right: 0;
bottom: 0;
}
.cursor {
position: absolute;
width: 100%;
height: 100%;
z-index: 10;
}
.large-container {
display: flex;
height: 100px;
flex-direction: row;
justify-content: left;
margin: 10px;
@@ -72,6 +92,10 @@ function openWish() {
}
.large-icon {
text-align: center;
display: block;
max-width: 100%;
max-height: 100%;
width: auto;
margin: 10px;
}