Adds hero component

This commit is contained in:
2026-10-11 18:35:24 +02:00
parent ce4aeb7e9c
commit ebcb1f7729
13 changed files with 214 additions and 44 deletions
+1 -7
View File
@@ -1,5 +1,4 @@
import { createSystem, defaultConfig, defineConfig } from '@chakra-ui/react';
import heroImage from './assets/hero-1.jpg';
const config = defineConfig({
cssVarsRoot: ':where(:root, :host)',
@@ -7,12 +6,7 @@ const config = defineConfig({
preflight: true,
globalCss: {
body: {
backgroundImage: `url(${heroImage})`,
backgroundPosition: 'top center',
backgroundSize: 'cover',
backgroundRepeat: 'no-repeat',
height: '100vh',
width: '100vw',
height: '250vh',
},
},
theme: {