mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-22 13:26:17 +01:00
feat: start of strings
This commit is contained in:
1 parent
0209d48475
commit
4ed4395535
5 files changed
+80
-1583
No files matched your search
@@ -1,45 +1,44 @@
|
||||
---
|
||||
import "@fontsource-variable/roboto-flex/wdth.css";
|
||||
import { TextField } from "./TextField";
|
||||
---
|
||||
|
||||
<style is:global>
|
||||
@import "@radix-ui/colors/violet-dark.css";
|
||||
@import "@radix-ui/colors/plum-dark.css";
|
||||
|
||||
<style>
|
||||
.home-hero {
|
||||
background-image: url(/assets/home-hero.webp);
|
||||
background-size: cover;
|
||||
background-position: top;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
.wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
gap: var(--space-7);
|
||||
.wallpaper {
|
||||
width: 100%;
|
||||
background-image: url(/assets/home-hero.webp);
|
||||
background-size: cover;
|
||||
background-position: top;
|
||||
height: 13rem;
|
||||
|
||||
background: linear-gradient(var(--gray-a11), var(--gray-1));
|
||||
padding: var(--space-9);
|
||||
.wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
gap: var(--space-7);
|
||||
|
||||
h1 {
|
||||
font-weight: 900;
|
||||
font-size: 3rem;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
background: linear-gradient(transparent, var(--gray-1));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 40rem) {
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
}
|
||||
input {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="home-hero">
|
||||
<div class="wrapper">
|
||||
<h1>BlitzKit 2.0</h1>
|
||||
|
||||
<TextField placeholder="Search..." className="search" type="search" />
|
||||
<div class="wallpaper">
|
||||
<div class="wrapper"></div>
|
||||
</div>
|
||||
|
||||
<TextField placeholder="asdasdasd" />
|
||||
</div>
|
||||
Reference in new issue
Block a user