mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: stuff
This commit is contained in:
1 parent
615d7f06aa
commit
433621b384
5 files changed
+40
-6
No files matched your search
@@ -36,6 +36,8 @@ import { theme } from '../../stitches.config';
|
||||
|
||||
const DISCRIMINATOR_WIDTH = 32;
|
||||
|
||||
// https://i.imgur.com/rUPie9G.jpeg
|
||||
|
||||
export function Hero() {
|
||||
const wideFormat = useWideFormat(512);
|
||||
const [showSearch, setShowSearch] = useState(false);
|
||||
|
||||
+16
-6
@@ -1,14 +1,24 @@
|
||||
import { times } from 'lodash';
|
||||
import { Hero } from './components/Hero';
|
||||
import { Heading } from '@radix-ui/themes';
|
||||
import { TOOLS } from '../constants/tools';
|
||||
import { imgur } from '../core/blitzkit/imgur';
|
||||
|
||||
export default function Page() {
|
||||
const tool = TOOLS[0];
|
||||
|
||||
return (
|
||||
<>
|
||||
<Hero />
|
||||
{/* <Hero /> */}
|
||||
|
||||
{times(64, () => (
|
||||
<p>test {Math.random()}</p>
|
||||
))}
|
||||
<div
|
||||
style={{
|
||||
background: `url(${imgur(tool.image)})`,
|
||||
height: '50vh',
|
||||
backgroundSize: 'cover',
|
||||
backgroundPosition: 'center',
|
||||
}}
|
||||
>
|
||||
<Heading>Tankopedia</Heading>
|
||||
</div>
|
||||
|
||||
<div style={{ flex: 1 }} />
|
||||
</>
|
||||
|
||||
Reference in new issue
Block a user