-
Notifications
You must be signed in to change notification settings - Fork 0
/
site-blob.tsx
30 lines (30 loc) · 1.36 KB
/
site-blob.tsx
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
export function SiteBlob() {
return (
<>
<div
className="absolute inset-x-0 -top-0 -z-10 transform-gpu overflow-hidden blur-2xl"
aria-hidden="true"
>
<div
className="relative left-[80%] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-[#04027b] to-[#9089fc] opacity-30 sm:w-[30.1875rem] xs:w-[20.1875rem]"
style={{
clipPath:
'polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)',
}}
/>
<div
className="absolute inset-x-0 -top-0 -z-10 transform-gpu overflow-hidden blur-2xl"
aria-hidden="true"
>
<div
className="relative left-[10%] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-[#9089fc] to-[#04027b] opacity-30 sm:w-[30.1875rem] xs:w-[20.1875rem]"
style={{
clipPath:
'polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)',
}}
/>
</div>
</div>
</>
)
}