File tree 3 files changed +4
-12
lines changed
3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 18
18
19
19
body {
20
20
color : rgb (var (--foreground-rgb ));
21
-
22
- /* background: radial-gradient(
23
- 600px at 1414px 626px,
24
- rgba(29, 78, 216, 0.15),
25
- transparent 80%
26
- );
27
- */
28
21
}
29
22
30
23
@layer utilities {
42
35
display : flex;
43
36
flex-direction : column;
44
37
min-height : 100vh ;
45
- }
38
+ }
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ const BounceInScroll = ({
37
37
< motion . div
38
38
initial = "offscreen"
39
39
whileInView = "onscreen"
40
- viewport = { { once : true , amount : viewAmount || 0.2 } }
40
+ viewport = { { once : true , amount : viewAmount ?? 0.2 } }
41
41
className = { cssClass }
42
42
data-testid = "bounceinscroll"
43
43
>
Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ interface IContent {
18
18
}
19
19
20
20
const Hero = ( { content } : IContent ) => (
21
- < div
22
- role = "article"
21
+ < article
23
22
aria-label = "Kontainer for animasjoner av introtekst"
24
23
id = "main-hero"
25
24
data-testid = "main-hero"
@@ -73,7 +72,7 @@ const Hero = ({ content }: IContent) => (
73
72
</ div >
74
73
</ div >
75
74
</ FadeDown >
76
- </ div >
75
+ </ article >
77
76
) ;
78
77
79
78
export default Hero ;
You can’t perform that action at this time.
0 commit comments