Skip to content

Commit

Permalink
Merge pull request #40 from JuzerShakir/compress-assets
Browse files Browse the repository at this point in the history
use compressed assets
  • Loading branch information
JuzerShakir authored Feb 8, 2024
2 parents 98f5ed8 + afb8fb4 commit 8b51a12
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 8b51a12

Please sign in to comment.