-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compact header kick off, more buttons, styling overall
- Loading branch information
Fabricius Seifert
committed
Feb 24, 2024
1 parent
66d5704
commit 3858b45
Showing
11 changed files
with
76 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.c_CompactHeader { | ||
height: 135px; | ||
display: flex; | ||
margin: 0 0 2rem; | ||
border-bottom: 1px solid #eeebe2; | ||
box-shadow: 0 0 20px 10px #eb5b5920; | ||
align-items: center; | ||
} | ||
|
||
.c_CompactHeader__inner { | ||
display: flex; | ||
max-width: 1000px; | ||
margin: 0 auto; | ||
align-items: center; | ||
flex: 1; | ||
} | ||
|
||
.c_CompactHeader__logo { | ||
display: block; | ||
width: 270px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
import { html } from "../utils.js"; | ||
|
||
export default () => { | ||
return html`<header> | ||
<h1><a href="/">Tractor Store</a></h1> | ||
return html`<header class="c_CompactHeader"> | ||
<div class="c_CompactHeader__inner"> | ||
<a class="c_CompactHeader__link" href="/"> | ||
<img | ||
class="c_CompactHeader__logo" | ||
src="/cdn/img/logo.svg" | ||
alt="Micro Frontends - Tractor Store" | ||
/> | ||
</a> | ||
</div> | ||
</header>`; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,5 +32,6 @@ export default ({ req }) => { | |
<div class="c_MiniCart__quantity">${quantity || ""}</div> | ||
`, | ||
})} | ||
</div>`; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ | |
display: flex; | ||
flex-wrap: wrap; | ||
list-style: none; | ||
margin-top: 3rem; | ||
padding: 0; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters