-
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.
1 parent
9842c44
commit f2ba625
Showing
6 changed files
with
40 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
10 changes: 9 additions & 1 deletion
10
libs/pictures/src/lib/containers/pictures/pictures.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 +1,9 @@ | ||
<p>pictures works!</p> | ||
<mat-card class="info"> | ||
<mat-card-title><h1>In the news</h1></mat-card-title> | ||
<mat-card-subtitle>An assortment of art based on breaking news items.</mat-card-subtitle> | ||
</mat-card> | ||
<mat-list role="list"> | ||
<mat-list-item role="listitem"><a href="/Mike%20Richards">Mike Richards</a></mat-list-item> | ||
<mat-list-item role="listitem">Kylie Jenner</mat-list-item> | ||
<mat-list-item role="listitem">Item 3</mat-list-item> | ||
</mat-list> |
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 @@ | ||
.info { | ||
width: 90%; | ||
height: 100%; | ||
margin: 16px; | ||
} |
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
15 changes: 9 additions & 6 deletions
15
libs/trendy-layout/src/lib/containers/trendy-layout/trendy-layout.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,22 +1,25 @@ | ||
<mat-toolbar color="primary" fxLayout="row"> | ||
<h1>BREAKING ART</h1> | ||
<div class="right-nav">Paintings</div> | ||
</mat-toolbar> | ||
<mat-sidenav-container> | ||
<mat-sidenav | ||
class="mat-elevation-z8" | ||
mode="side" | ||
position="end" | ||
[opened]="(isHandset$ | async) === (false)" | ||
[opened]="(isHandset$ | async) === false" | ||
md-theme="default" | ||
> | ||
<button mat-button class="menu-button"> | ||
<mat-icon>home</mat-icon> | ||
<span>Home</span> | ||
<span>Ad</span> | ||
</button> | ||
</mat-sidenav> | ||
<mat-sidenav-content class="content mat-elevation-z8" | ||
[ngClass]="{'nav-open': (isHandset$ | async) === (false)}"> | ||
<mat-sidenav-content | ||
class="content mat-elevation-z8" | ||
[ngClass]="{ 'nav-open': (isHandset$ | async) === false }" | ||
> | ||
<ng-content></ng-content> | ||
<mat-toolbar color="primary" class="footer" *ngIf="(isHandset$ | async) === true"> | ||
<span>Footer ad</span> | ||
</mat-toolbar> | ||
</mat-sidenav-content> | ||
</mat-sidenav-container> |
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 |
---|---|---|
|
@@ -21,3 +21,7 @@ mat-sidenav { | |
box-shadow: none; | ||
font-size: 2rem; | ||
} | ||
|
||
.footer { | ||
width: 100%; | ||
} |