@@ -12,15 +12,25 @@ export function Venue(props: VenueProps) {
12
12
< section
13
13
{ ...props }
14
14
style = { {
15
+ ...( { "--photo" : `url(${ locationPhoto . src } )` } as { } ) ,
15
16
...props . style ,
16
- backgroundImage : `linear-gradient(0deg, hsl(var(--color-sec-light)) 0%, hsl(var(--color-sec-light)) 100%), url(${ locationPhoto . src } )` ,
17
17
backgroundBlendMode : "overlay, normal" ,
18
18
backgroundSize : "cover" ,
19
19
} }
20
- className = { clsx ( "gql-conf-section relative" , props . className ) }
20
+ className = { clsx (
21
+ "gql-conf-section relative bg-[linear-gradient(0deg,hsl(var(--color-sec-light))_0%,hsl(var(--color-sec-light))_100%),var(--photo)] dark:bg-[linear-gradient(0deg,#181f01_0%,#283502_100%),var(--photo)]" ,
22
+ props . className ,
23
+ ) }
21
24
>
22
- < div className = "flex gap-x-12 gap-y-10 bg-white/10 p-4 backdrop-blur-3xl dark:border-sec-darker max-lg:flex-col lg:p-16 xl:*:flex-1" >
23
- < article className = "flex shrink-0 flex-col gap-6 max-xl:max-w-[476px]" >
25
+ < div className = "relative flex gap-x-12 gap-y-10 bg-white/10 p-4 dark:border-sec-darker max-lg:flex-col lg:p-16 xl:*:flex-1" >
26
+ < div
27
+ className = "absolute inset-0 backdrop-blur-3xl"
28
+ style = { {
29
+ maskImage :
30
+ "radial-gradient(circle at center, #fff 65%, rgb(255 0 0/.8) 99%)" ,
31
+ } }
32
+ />
33
+ < article className = "relative flex shrink-0 flex-col gap-6 max-xl:max-w-[476px]" >
24
34
< h2 className = "typography-h2" >
25
35
A place of innovation && nbsp ; creation
26
36
</ h2 >
@@ -38,7 +48,7 @@ export function Venue(props: VenueProps) {
38
48
Google Maps
39
49
</ Button >
40
50
</ article >
41
- < div className = "flex-1" >
51
+ < div className = "relative flex-1" >
42
52
< h3 className = "mb-6 typography-h3" > How to get to the venue?</ h3 >
43
53
< Accordion
44
54
className = "[&_svg]:fill-neu-900"
0 commit comments