-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(www): Updated early access form
- Loading branch information
1 parent
92a7841
commit 7d96252
Showing
6 changed files
with
129 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
interface BackgroundProps { | ||
children: React.ReactNode; | ||
} | ||
|
||
export function Background({ children }: BackgroundProps) { | ||
return ( | ||
<> | ||
<div className="absolute left-0 top-0 -z-50 h-full w-full overflow-hidden"> | ||
<div className="sticky left-0 top-0 h-full w-full overflow-hidden"> | ||
<div className="absolute inset-0 z-[-1] bg-muted-foreground/40" /> | ||
<div className="absolute left-[--x] top-[--y] z-[-1] h-56 w-56 -translate-x-1/2 -translate-y-1/2 rounded-full bg-gradient-radial from-muted-foreground/50 from-0% to-transparent to-90% blur-md" /> | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="100%" | ||
height="100%" | ||
> | ||
<defs> | ||
<pattern | ||
id="dotted-pattern" | ||
width="16" | ||
height="16" | ||
patternUnits="userSpaceOnUse" | ||
> | ||
<circle cx="2" cy="2" r="1" fill="black" /> | ||
</pattern> | ||
<mask id="dots-mask"> | ||
<rect width="100%" height="100%" fill="white" /> | ||
<rect | ||
width="100%" | ||
height="100%" | ||
fill="url(#dotted-pattern)" | ||
/> | ||
</mask> | ||
</defs> | ||
<rect | ||
width="100%" | ||
height="100%" | ||
fill="hsl(var(--background))" | ||
mask="url(#dots-mask)" | ||
/> | ||
</svg> | ||
</div> | ||
</div> | ||
|
||
{children} | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.