File tree Expand file tree Collapse file tree 4 files changed +8
-15
lines changed Expand file tree Collapse file tree 4 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ const BingoThumbnail = (props: BingoThumbnailProps) => {
11
11
let extraStyles ;
12
12
13
13
if ( props . item . state === 'APPROVED' ) {
14
- extraStyles = "filter backdrop-colorize bg-green-500 bg- opacity-75" ;
14
+ extraStyles = "filter backdrop-colorize bg-green-500 opacity-75" ;
15
15
} else if ( props . item . state === 'DENIED' ) {
16
- extraStyles = "bg-red-500 bg- opacity-75" ;
16
+ extraStyles = "bg-red-500 opacity-75" ;
17
17
} else {
18
- extraStyles = "bg- opacity-75 filter backdrop-grayscale backdrop-brightness-50"
18
+ extraStyles = "opacity-75 filter backdrop-grayscale backdrop-brightness-50"
19
19
}
20
20
21
21
let icon ;
@@ -30,14 +30,14 @@ const BingoThumbnail = (props: BingoThumbnailProps) => {
30
30
31
31
return (
32
32
< div >
33
- < a className = { "relative" } href = { `#picture-${ props . item . id } ` } >
34
- < div className = { "absolute h-full w-full text-white flex items-center justify-center " + extraStyles } >
33
+ < a className = "relative flex w-full aspect-square" href = { `#picture-${ props . item . id } ` } >
34
+ < div className = { "absolute h-full w-full text-white flex items-center justify-center z-20 " + extraStyles } >
35
35
{ icon }
36
36
</ div >
37
37
< img
38
38
key = { props . item . id }
39
39
src = { getPictureUrl ( props . item . id , true ) }
40
- className = "w-full aspect-square bg-bg-primary outline outline-2 outline-border dark:bg-dark-bg-primary dark:outline-dark-border"
40
+ className = "w-full bg-bg-primary outline outline-2 outline-border dark:bg-dark-bg-primary dark:outline-dark-border"
41
41
alt = "Image showing one of the secret locations"
42
42
/>
43
43
</ a >
Original file line number Diff line number Diff line change @@ -35,13 +35,6 @@ const BingoPage = () => {
35
35
36
36
const totalPoints = pictures . length * 20 ;
37
37
38
-
39
- // grid of pictures, 5x5
40
- // height of grid should be the same as the width
41
- // width should be 100% of the parent
42
- // grid should have a gap of 0
43
- // every image should be square and cover the whole space
44
- // the url of the picture uses getPictureUrl(picture.id)
45
38
return (
46
39
< div >
47
40
< div className = "w-full mb-8 flex flex-col gap-2" >
Original file line number Diff line number Diff line change 1
1
{
2
2
"rewrites" : [{
3
3
"source" : " /api/:path" ,
4
- "destination" : " https://localhost:8080 /:path"
4
+ "destination" : " https://intro.svindicium.nl/api /:path"
5
5
},{
6
6
"source" : " /(.*)" ,
7
7
"destination" : " /index.html"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default defineConfig({
18
18
} ,
19
19
server : {
20
20
proxy : {
21
- '/api' : 'http ://localhost:3080 '
21
+ '/api' : 'https ://intro.svindicium.nl '
22
22
}
23
23
}
24
24
} )
You can’t perform that action at this time.
0 commit comments