File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { styled } from "next-yak";
44export default function IntroHeader ( ) {
55 return (
66 < Frame >
7- < MapContainer />
87 < RotatorLayer aria-hidden = "true" >
98 < DeferredIntroHeaderRotator />
109 </ RotatorLayer >
@@ -20,35 +19,6 @@ const Frame = styled.div`
2019 margin-bottom: -2.5rem;
2120` ;
2221
23- const MapContainer = styled . div `
24- display: flex;
25- flex-direction: row;
26- gap: 1rem;
27- align-items: center;
28- justify-content: center;
29- position: relative;
30- border-radius: 1rem;
31- width: 100%;
32- max-width: 36rem;
33- height: 16rem;
34- margin-bottom: -2.5rem;
35-
36- &::before {
37- content: "";
38- position: absolute;
39- inset: 0;
40- background-image: url("/map-tiles/hero.jpg");
41- background-size: cover;
42- background-position: center;
43- mask-image: radial-gradient(black 0%, transparent 74%);
44- border-radius: inherit;
45- z-index: -1;
46- opacity: 1;
47- transform: scale(1, 1) rotateX(0deg) translateY(0);
48- transform-origin: bottom center;
49- }
50- ` ;
51-
5222const RotatorLayer = styled . div `
5323 position: absolute;
5424 inset: 0;
You can’t perform that action at this time.
0 commit comments