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

49 lines
956 B
Plaintext
Raw Normal View History

2025-12-19 21:25:55 -06:00
---
2026-01-08 20:02:24 -06:00
import { MagnifyingGlassIcon } from "@radix-ui/react-icons";
2025-12-19 22:23:03 -06:00
import { TextField } from "./TextField";
2026-01-08 20:02:24 -06:00
const strings = { home: { search: "test" } };
2025-12-19 21:25:55 -06:00
---
2026-01-03 13:29:15 -06:00
<style>
2025-12-19 21:25:55 -06:00
.home-hero {
2026-01-03 13:29:15 -06:00
display: flex;
flex-direction: column;
align-items: center;
2025-12-19 21:25:55 -06:00
2026-01-03 13:29:15 -06:00
.wallpaper {
width: 100%;
background-image: url(/assets/home-hero.webp);
background-size: cover;
background-position: top;
height: 13rem;
2025-12-19 22:23:03 -06:00
2026-01-03 13:29:15 -06:00
.wrapper {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: var(--space-7);
2025-12-19 21:25:55 -06:00
2026-01-03 13:29:15 -06:00
width: 100%;
height: 100%;
background: linear-gradient(transparent, var(--gray-1));
2025-12-19 21:25:55 -06:00
}
2026-01-03 13:29:15 -06:00
}
2025-12-19 21:25:55 -06:00
2026-01-03 13:29:15 -06:00
input {
width: 100%;
2025-12-19 21:25:55 -06:00
}
}
</style>
<div class="home-hero">
2026-01-03 13:29:15 -06:00
<div class="wallpaper">
<div class="wrapper"></div>
2025-12-19 21:25:55 -06:00
</div>
2026-01-03 13:29:15 -06:00
2026-01-08 20:02:24 -06:00
<TextField placeholder={strings.home.search}>
<MagnifyingGlassIcon />
</TextField>
2025-12-19 21:25:55 -06:00
</div>