Skip to content

Commit 2271072

Browse files
authored
Website: remove snow (#3566)
1 parent 0c22de8 commit 2271072

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

aksel.nav.no/website/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
"react-markdown": "^9.0.1",
6767
"react-responsive-masonry": "2.2.0",
6868
"react-rx": "^2.1.3",
69-
"react-snowfall": "^2.2.0",
7069
"remark-gfm": "^4.0.0",
7170
"sanity": "3.59.0",
7271
"sanity-plugin-iframe-pane": "^3.1.6",

aksel.nav.no/website/pages/index.tsx

-12
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { groq } from "next-sanity";
44
import Link from "next/link";
55
import { GetStaticProps } from "next/types";
66
import { useState } from "react";
7-
import Snowfall from "react-snowfall";
87
import {
98
CompassIcon,
109
ComponentIcon,
@@ -208,17 +207,6 @@ const Forside = ({ page, tema, blocks }: PageProps["props"]) => {
208207
Vi trenger testere fra team i Nav for darkmode og theming!
209208
</Link>
210209
</div>
211-
{!pause && (
212-
<div aria-hidden>
213-
<Snowfall
214-
style={{ zIndex: 1 }}
215-
color="rgba(230, 241, 248, 0.9)"
216-
speed={reducedMotion || pause ? [0, 0] : [0.1, 0.2]}
217-
wind={reducedMotion || pause ? [0, 0] : [-0.2, 0.2]}
218-
snowflakeCount={600}
219-
/>
220-
</div>
221-
)}
222210
<div className="z-20 pb-28">
223211
<div className="relative mx-auto mb-12 mt-20 grid w-full place-items-center px-4 text-center sm:mt-36 sm:max-w-[632px] sm:px-6">
224212
<Heading

0 commit comments

Comments
 (0)