blob: dffa5b6b7051c506a09a552ae88abecc9722624f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
import cn from "classnames";
import styles from "./turbohero-background.module.css";
export function TurboheroBackground(): JSX.Element {
return (
<div
className={cn(
"![perspective:1000px] sm:![perspective:1000px] md:![perspective:1000px] lg:![perspective:1000px]",
styles.container
)}
>
<div
className="z-[100] absolute inset-0 [--gradient-stop-1:0px] [--gradient-stop-2:50%]"
style={{
background:
"linear-gradient(to top, rgba(0,0,0,0) 0px, var(--geist-foreground) 50%)",
}}
/>
<div
style={{
transform: "rotateX(75deg)",
position: "absolute",
top: 0,
bottom: 0,
left: 0,
right: 0,
}}
>
<div className={styles.lines} />
</div>
</div>
);
}
|