-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(daffio): clean up docs and marketing header styles (#2715)
- Loading branch information
Showing
13 changed files
with
59 additions
and
47 deletions.
There are no files selected for viewing
30 changes: 15 additions & 15 deletions
30
apps/daffio/src/app/core/header/components/header/header.component.html
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,21 @@ | ||
<nav daff-navbar color="theme" class="daffio-header__navbar"> | ||
<daff-container size="md"> | ||
<div class="daffio-header__left"> | ||
<div class="daffio-header__logo"> | ||
<ng-content select="[daffio-logo]"></ng-content> | ||
</div> | ||
<div class="daffio-header__menu-container"> | ||
<div class="daffio-header__menu"> | ||
<div class="daffio-header__theme-toggle"> | ||
<ng-content select="[theme-toggle]"></ng-content> | ||
</div> | ||
<ng-content select="[daffioHeaderItem]"></ng-content> | ||
<div class="daffio-header__button"> | ||
<ng-content select="[quickstart-button]"></ng-content> | ||
</div> | ||
</div> | ||
<div class="daffio-header__bars"> | ||
<ng-content select="[sidebar-button]"></ng-content> | ||
</div> | ||
<div class="daffio-header__menu"> | ||
<ng-content select="[daffioHeaderItem]"></ng-content> | ||
</div> | ||
</daff-container> | ||
</div> | ||
<div class="daffio-header__right"> | ||
<div class="daffio-header__theme-toggle"> | ||
<ng-content select="[theme-toggle]"></ng-content> | ||
</div> | ||
<div class="daffio-header__button"> | ||
<ng-content select="[quickstart-button]"></ng-content> | ||
</div> | ||
<div class="daffio-header__bars"> | ||
<ng-content select="[sidebar-button]"></ng-content> | ||
</div> | ||
</div> | ||
</nav> |
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
4 changes: 2 additions & 2 deletions
4
apps/daffio/src/app/core/header/containers/docs-header/docs-header.component.html
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
5 changes: 5 additions & 0 deletions
5
apps/daffio/src/app/core/header/containers/docs-header/docs-header.component.scss
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,5 @@ | ||
// @use 'utilities' as daff; | ||
|
||
// .daffio-docs-header { | ||
// padding: 0 24px; | ||
// } |
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
6 changes: 3 additions & 3 deletions
6
apps/daffio/src/app/core/header/containers/marketing-header/marketing-header.component.html
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,14 +1,14 @@ | ||
<daffio-header> | ||
<daffio-header class="daffio-marketing-header"> | ||
<a routerLink="/" daffio-logo> | ||
<daff-branding-logo type="full"></daff-branding-logo> | ||
</a> | ||
<daff-theme-switch-button theme-toggle></daff-theme-switch-button> | ||
<a daffioHeaderItem routerLink="{{ link.path }}" *ngFor="let link of links">{{ link.title }}</a> | ||
<a daffioHeaderItem href="https://github.com/sponsors/graycoreio" target="_blank">Sponsor</a> | ||
<a daff-button color="theme-contrast" href="https://github.com/graycoreio/daffodil" rel="noopener noreferrer" target="_blank" quickstart-button>Get Started</a> | ||
<a daff-button color="theme-contrast" size="sm" href="https://github.com/graycoreio/daffodil" rel="noopener noreferrer" target="_blank" quickstart-button>Get Started</a> | ||
<button daff-icon-button color="theme-contrast" aria-label="Open Main Navigation Sidebar" | ||
sidebar-button | ||
(click)="openSidebar()"> | ||
<fa-icon [icon]="faBars"></fa-icon> | ||
</button> | ||
</daffio-header> | ||
</daffio-header> |
13 changes: 13 additions & 0 deletions
13
apps/daffio/src/app/core/header/containers/marketing-header/marketing-header.component.scss
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,13 @@ | ||
// @use 'utilities' as daff; | ||
|
||
// .daffio-marketing-header { | ||
// padding: 0 24px; | ||
|
||
// @include daff.breakpoint(mobile) { | ||
// padding: 0 48px; | ||
// } | ||
|
||
// @include daff.breakpoint(small-laptop) { | ||
// 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
:host { | ||
display: block; | ||
display: flex; | ||
width: 100%; | ||
} |