Skip to content

Commit

Permalink
Merge pull request #225 from w3bdesign/development
Browse files Browse the repository at this point in the history
Remove commented out code
  • Loading branch information
w3bdesign authored Jul 24, 2024
2 parents d08a426 + b3758a8 commit 6e17f00
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
9 changes: 1 addition & 8 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@

body {
color: rgb(var(--foreground-rgb));

/* background: radial-gradient(
600px at 1414px 626px,
rgba(29, 78, 216, 0.15),
transparent 80%
);
*/
}

@layer utilities {
Expand All @@ -42,4 +35,4 @@ body {
display: flex;
flex-direction: column;
min-height: 100vh;
}
}
2 changes: 1 addition & 1 deletion src/components/Animations/BounceInScroll.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const BounceInScroll = ({
<motion.div
initial="offscreen"
whileInView="onscreen"
viewport={{ once: true, amount: viewAmount || 0.2 }}
viewport={{ once: true, amount: viewAmount ?? 0.2 }}
className={cssClass}
data-testid="bounceinscroll"
>
Expand Down
5 changes: 2 additions & 3 deletions src/components/Index/Hero.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ interface IContent {
}

const Hero = ({ content }: IContent) => (
<div
role="article"
<article
aria-label="Kontainer for animasjoner av introtekst"
id="main-hero"
data-testid="main-hero"
Expand Down Expand Up @@ -73,7 +72,7 @@ const Hero = ({ content }: IContent) => (
</div>
</div>
</FadeDown>
</div>
</article>
);

export default Hero;

0 comments on commit 6e17f00

Please sign in to comment.