-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #322 from ReadAlongs/dev.ap/navbar
feat: add navbar navigation
- Loading branch information
Showing
23 changed files
with
660 additions
and
432 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,2 +1,33 @@ | ||
<mat-toolbar> | ||
<span i18n="Welcome message for app" id="welcome-header"> | ||
ReadAlong Studio | ||
</span> | ||
<span class="nav-spacer"></span> | ||
<div class="nav__buttons"> | ||
<button | ||
class="nav__button" | ||
mat-button | ||
[color]="currentURL === '/' ? 'accent' : ''" | ||
[routerLink]="''" | ||
> | ||
Studio | ||
</button> | ||
<button | ||
class="nav__button" | ||
mat-button | ||
[color]="currentURL === '/editor' ? 'accent' : ''" | ||
[routerLink]="'editor'" | ||
> | ||
<mat-icon>edit</mat-icon> | ||
Editor | ||
</button> | ||
<button class="nav__button" mat-button (click)="openPrivacyDialog()"> | ||
<mat-icon>policy</mat-icon> | ||
Privacy | ||
</button> | ||
</div> | ||
</mat-toolbar> | ||
<router-outlet></router-outlet> | ||
<div class="version">@readalongs/studio-web version: {{ version }}</div> | ||
<div class="footer"> | ||
<div class="version">@readalongs/studio-web version: {{ version }}</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
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.