Skip to content

Commit

Permalink
use compressed assets
Browse files Browse the repository at this point in the history
  • Loading branch information
JuzerShakir committed Feb 8, 2024
1 parent 98f5ed8 commit afb8fb4
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
Binary file added app/assets/images/backgrounds/default.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/backgrounds/default.png
Binary file not shown.
Binary file added app/assets/images/backgrounds/home.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/backgrounds/home.png
Binary file not shown.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/base/_base.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: url("backgrounds/default.png") no-repeat center center;
background: url("backgrounds/default.jpg") no-repeat center center;
background-size: cover;
background-attachment: fixed;
}
2 changes: 1 addition & 1 deletion app/assets/stylesheets/pages/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:has(#home) {
rgba(255, 255, 255, 0.75),
rgba(255, 255, 255, 0.75)
),
url(backgrounds/home.png);
url(backgrounds/home.jpg);
background-size: cover;
background-position: center;
}
Expand Down

0 comments on commit afb8fb4

Please sign in to comment.