Adds hero component
This commit is contained in:
+1
-7
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user