-
Notifications
You must be signed in to change notification settings - Fork 29
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
王焕
committed
May 21, 2021
1 parent
233591f
commit 542ff98
Showing
7 changed files
with
737 additions
and
502 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,18 +1,28 @@ | ||
<div class="header"> | ||
<span class="title">Slate Angular Examples</span> | ||
<div class="header" (click)="onBreadClick()"> | ||
<div class="header-logo"> | ||
<a class="logo" href="javescript:;"> | ||
<img src="../assets/logo.svg" alt="slate-angular-logo"> | ||
<img class="title" src="../assets/text.svg"> | ||
</a> | ||
</div> | ||
<div class="link"> | ||
<a target="_blank" href="https://github.com/worktile/slate-angular" class="github">GitHub</a> | ||
<a target="_blank" href="https://docs.slatejs.org/" class="docs">Docs</a> | ||
</div> | ||
</div> | ||
<div class="sidenav"> | ||
<div class="header-bars" (click)="onBreadClick()"> | ||
<span class="material-icons">menu</span> | ||
<span class="header-bars-name">{{ activeNav?.name}} </span> | ||
</div> | ||
<div class="sidenav" [ngClass]="{'animate-sidenav': showSideNav}" (click)="onBreadClick()"> | ||
<div class="nav-menu"> | ||
<div class="menu-item" *ngFor="let item of menus"> | ||
<a [routerLink]="item.url" class="vertical-menu-item level-1" [ngClass]="{'selected': isSelected(item)}" style="position: relative;" target="_self"><span>{{ item.name }}</span> | ||
<a [routerLink]="item.url" class="vertical-menu-item level-1" [ngClass]="{'selected': isSelected(item)}" | ||
style="position: relative;" target="_self"><span>{{ item.name }}</span> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="content"> | ||
<div class="content" [ngClass]="{'sidenav-content': showSideNav}"> | ||
<router-outlet></router-outlet> | ||
</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
Oops, something went wrong.