Files
blitzkit/packages/website-ue/src/components/HomeHero.astro
T

45 lines
936 B
Plaintext
Raw Normal View History

2025-12-19 21:25:55 -06:00
---
import "@fontsource-variable/roboto-flex/wdth.css";
2025-12-19 22:23:03 -06:00
import { TextField } from "./TextField";
2025-12-19 21:25:55 -06:00
---
<style is:global>
@import "@radix-ui/colors/violet-dark.css";
@import "@radix-ui/colors/plum-dark.css";
.home-hero {
background-image: url(/assets/home-hero.webp);
background-size: cover;
background-position: top;
.wrapper {
display: flex;
align-items: center;
justify-content: center;
2025-12-19 22:23:03 -06:00
flex-direction: column;
gap: var(--space-7);
2025-12-19 21:25:55 -06:00
background: linear-gradient(var(--gray-a11), var(--gray-1));
padding: var(--space-9);
h1 {
font-weight: 900;
font-size: 3rem;
}
@media (max-width: 40rem) {
h1 {
font-size: 2rem;
}
}
}
}
</style>
<div class="home-hero">
<div class="wrapper">
<h1>BlitzKit 2.0</h1>
2025-12-19 22:23:03 -06:00
<TextField placeholder="Search..." className="search" type="search" />
2025-12-19 21:25:55 -06:00
</div>
</div>