mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-29 04:44:23 +01:00
hero
This commit is contained in:
1 file changed
+11
-3
@@ -1,9 +1,11 @@
|
||||
---
|
||||
import { alias } from "@blitzkit/core";
|
||||
import { MagnifyingGlassIcon } from "@radix-ui/react-icons";
|
||||
import { literals } from "@blitzkit/i18n";
|
||||
// import { MagnifyingGlassIcon } from "@radix-ui/react-icons";
|
||||
import { api } from "../api/dynamic";
|
||||
import { Heading } from "./Heading";
|
||||
import { TextField } from "./TextField";
|
||||
import { Text } from "./Text";
|
||||
// import { TextField } from "./TextField";
|
||||
|
||||
interface Props {
|
||||
locale: string;
|
||||
@@ -60,7 +62,7 @@ const season = SEASONS[Math.floor(((month + 2) % 12) / 3)];
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--space-4);
|
||||
gap: var(--space-2);
|
||||
|
||||
background: linear-gradient(var(--black-a8), var(--gray-1));
|
||||
|
||||
@@ -84,8 +86,14 @@ const season = SEASONS[Math.floor(((month + 2) % 12) / 3)];
|
||||
<div class="hero">
|
||||
<Heading weight="black">{strings.common.name}</Heading>
|
||||
|
||||
<Text lowContrast>
|
||||
{literals(strings.website.home.hero.credit, { name: "TrèsAbhi" })}
|
||||
</Text>
|
||||
|
||||
{/* hidden for now
|
||||
<TextField className="search" placeholder="Search tanks...">
|
||||
<MagnifyingGlassIcon />
|
||||
</TextField>
|
||||
*/}
|
||||
</div>
|
||||
</section>
|
||||
Reference in new issue
Block a user