Skip to content

Commit

Permalink
Experimental new hero
Browse files Browse the repository at this point in the history
  • Loading branch information
danirod committed Sep 18, 2024
1 parent 6fbcaba commit b1029fc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Binary file added app/javascript/six/assets/computer.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 9 additions & 3 deletions app/javascript/six/front/hero.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
.fronthero {
background-image: url("assets/hero.png");
background-color: var(--makigas-brand-darker);
background-repeat: repeat;
background-image: url("assets/computer.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
color: white;
padding-top: 6rem;
padding-bottom: 4rem;
text-align: center;

@include desktop-layout {
padding-top: 10rem;
padding-bottom: 8rem;
}

&__title {
font-family: var(--font-title);
font-size: 1.5rem;
Expand Down
1 change: 1 addition & 0 deletions esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const options = {
target: ["es2020"],
platform: "browser",
loader: {
".jpg": "file",
".png": "file",
".svg": "file",
".woff": "file",
Expand Down

0 comments on commit b1029fc

Please sign in to comment.