Skip to content

Commit 6e17f00

Browse files
authored
Merge pull request #225 from w3bdesign/development
Remove commented out code
2 parents d08a426 + b3758a8 commit 6e17f00

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

src/app/globals.css

+1-8
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@
1818

1919
body {
2020
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-
*/
2821
}
2922

3023
@layer utilities {
@@ -42,4 +35,4 @@ body {
4235
display: flex;
4336
flex-direction: column;
4437
min-height: 100vh;
45-
}
38+
}

src/components/Animations/BounceInScroll.component.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const BounceInScroll = ({
3737
<motion.div
3838
initial="offscreen"
3939
whileInView="onscreen"
40-
viewport={{ once: true, amount: viewAmount || 0.2 }}
40+
viewport={{ once: true, amount: viewAmount ?? 0.2 }}
4141
className={cssClass}
4242
data-testid="bounceinscroll"
4343
>

src/components/Index/Hero.component.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ interface IContent {
1818
}
1919

2020
const Hero = ({ content }: IContent) => (
21-
<div
22-
role="article"
21+
<article
2322
aria-label="Kontainer for animasjoner av introtekst"
2423
id="main-hero"
2524
data-testid="main-hero"
@@ -73,7 +72,7 @@ const Hero = ({ content }: IContent) => (
7372
</div>
7473
</div>
7574
</FadeDown>
76-
</div>
75+
</article>
7776
);
7877

7978
export default Hero;

0 commit comments

Comments
 (0)