Skip to content

Commit 40b3040

Browse files
committed
fix: bg
1 parent faeb0d1 commit 40b3040

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

.idea/workspace.xml

Lines changed: 14 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/pages/home/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Box } from '@mui/material';
22
import Hero from 'components/Hero';
33
import Categories from './Categories';
4+
import background from '@assets/background.svg';
45

56
export default function Home() {
67
return (
@@ -9,7 +10,7 @@ export default function Home() {
910
xs: 1,
1011
md: 3,
1112
lg: 5,
12-
background: 'url(assets/background.svg)',
13+
background: `url(${background})`,
1314
backgroundColor: '#F5F5FA'
1415
}}
1516
display={'flex'}

0 commit comments

Comments
 (0)