mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2024-12-25 22:10:43 -05:00
feat; add bg image
This commit is contained in:
parent
f6f084fa5d
commit
9e81ce23d8
3 changed files with 6 additions and 0 deletions
BIN
restaurant/src/background.jpg
Normal file
BIN
restaurant/src/background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 977 KiB |
|
@ -8,6 +8,8 @@ body, html {
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: var(--font-size);
|
||||
background: url('./background.jpg');
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
header {
|
||||
|
|
|
@ -26,6 +26,10 @@ module.exports = {
|
|||
test: /\.css$/i,
|
||||
use: ['style-loader', 'css-loader'],
|
||||
},
|
||||
{
|
||||
test: /\.(png|svg|jpg|jpeg|gif)$/i,
|
||||
type: 'asset/resource',
|
||||
}
|
||||
],
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue