feat: start on header

This commit is contained in:
TrèsAbhi committed 2026-01-08 20:39:44 -06:00
1 parent 51b2d1ce86
commit 220e4388d4
10 files changed
+102 -16

No files matched your search

@@ -1,5 +1,7 @@
---
import { MagnifyingGlassIcon } from "@radix-ui/react-icons";
import { BlitzKitIcon } from "../icons/BlitzKit";
import { Code } from "./Code";
import { TextField } from "./TextField";
const strings = { home: { search: "test" } };
@@ -9,16 +11,25 @@ const strings = { home: { search: "test" } };
.home-hero {
display: flex;
flex-direction: column;
justify-content: end;
align-items: center;
padding: 0 var(--space-4);
position: relative;
.wallpaper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: calc(100% - var(--space-5) / 2);
z-index: -1;
background-image: url(/assets/home-hero.webp);
background-size: cover;
background-position: top;
height: 13rem;
.wrapper {
.gradient {
display: flex;
align-items: center;
justify-content: center;
@@ -32,7 +43,30 @@ const strings = { home: { search: "test" } };
}
}
input {
.name {
margin: var(--space-6) 0;
.icon-wrapper {
position: relative;
width: var(--space-6);
height: var(--space-6);
.icon {
width: 100%;
height: 100%;
}
.version {
position: absolute;
top: 0;
right: 0;
transform: translateX(100%);
}
}
}
.text-field {
width: 100%;
}
}
@@ -40,7 +74,14 @@ const strings = { home: { search: "test" } };
<div class="home-hero">
<div class="wallpaper">
<div class="wrapper"></div>
<div class="gradient"></div>
</div>
<div class="name">
<div class="icon-wrapper">
<BlitzKitIcon className="icon" />
<Code className="version">2.0</Code>
</div>
</div>
<TextField placeholder={strings.home.search}>