Skip to content

Commit

Permalink
refactor: Update background image URL in Layout.astro
Browse files Browse the repository at this point in the history
The background image URL in the Layout.astro file has been updated to "/public/images/background.png" with the properties "no-repeat center center fixed" and "background-size: cover". This change improves the appearance and layout of the website.
  • Loading branch information
amonsalv committed Aug 16, 2024
1 parent 05ef374 commit 72ef309
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file added public/images/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const { firstColor, secondColor } = background;
body,
figure {
background: linear-gradient(var(--firstColor), var(--secondColor));
/* background: url("/public/background.png"); */
background: url("/public/images/background.png") no-repeat center center fixed;
background-size: cover;
min-height: 100vh;
width: 100%;
margin: 0;
Expand Down

0 comments on commit 72ef309

Please sign in to comment.