-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
89 additions
and
269 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,20 @@ | ||
<patchwork-header> | ||
<header class="Grid | Header"> | ||
<div class="Header__main"> | ||
<ssr-slot name="primary"> | ||
<a class="Header__logo" href="/"> | ||
<span class="Header__name">{{heading}}</span> | ||
<ssr-if condition="tag"> | ||
<span class="Header__tag">{{tag}}</span> | ||
</ssr-if> | ||
</a> | ||
</ssr-slot> | ||
<ssr-slot name="secondary"> | ||
<ssr-if condition="menu.length"> | ||
<pw-button icon label="Toggle Menu" classes="{{['Hamburger']}}" popovertarget="nav" popovertargetaction="toggle"> | ||
<ssr-fragment slot="icon"><icon-menu /></ssr-fragment> | ||
</pw-button> | ||
<pw-nav menu="{{menu}}" /> | ||
<header class="Grid | Header"> | ||
<div class="Header__main"> | ||
<ssr-slot name="primary"> | ||
<a class="Header__logo" href="/"> | ||
<span class="Header__name">{{heading}}</span> | ||
<ssr-if condition="tag"> | ||
<span class="Header__tag">{{tag}}</span> | ||
</ssr-if> | ||
</ssr-slot> | ||
</div> | ||
</header> | ||
</patchwork-header> | ||
|
||
<ssr-fragment portal="head"> | ||
<script type="module" src="/scripts/patchwork-header.js?v={{deployHash}}"></script> | ||
</ssr-fragment> | ||
</a> | ||
</ssr-slot> | ||
<ssr-slot name="secondary"> | ||
<ssr-if condition="menu.length"> | ||
<pw-button icon label="Toggle Menu" classes="{{['Hamburger']}}" popovertarget="nav" popovertargetaction="toggle"> | ||
<ssr-fragment slot="icon"><icon-menu /></ssr-fragment> | ||
</pw-button> | ||
<pw-nav menu="{{menu}}" /> | ||
</ssr-if> | ||
</ssr-slot> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
<patchwork-hero> | ||
<div class="Grid | Hero"> | ||
<div class="Hero__main"> | ||
<ssr-slot name="image" /> | ||
<ssr-slot name="main"> | ||
<ssr-slot name="heading"> | ||
<h1 class="Hero__heading">{{heading}}</h1> | ||
</slot> | ||
<ssr-slot name="intro"> | ||
<div class="Hero__intro"> | ||
<p>{{description}}</p> | ||
</div> | ||
</ssr-slot> | ||
<div class="Grid | Hero"> | ||
<div class="Hero__main"> | ||
<ssr-slot name="image" /> | ||
<ssr-slot name="main"> | ||
<ssr-slot name="heading"> | ||
<h1 class="Hero__heading">{{heading}}</h1> | ||
</slot> | ||
<ssr-slot name="intro"> | ||
<div class="Hero__intro"> | ||
<p>{{description}}</p> | ||
</div> | ||
</ssr-slot> | ||
</div> | ||
</ssr-slot> | ||
</div> | ||
</patchwork-hero> | ||
|
||
<ssr-fragment portal="head"> | ||
<script type="module" src="/scripts/patchwork-hero.js?v={{deployHash}}"></script> | ||
</ssr-fragment> | ||
</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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -45,8 +45,6 @@ patchwork-body { | |
} | ||
|
||
patchwork-dialog, | ||
patchwork-header, | ||
patchwork-hero, | ||
patchwork-nav { | ||
display: contents; | ||
} |
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
Oops, something went wrong.