Skip to content

add for routes in workspace #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 4 additions & 18 deletions projects/lib-workspace/src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<fs-nav-frame [navFrameConfig]="navFrameConfig" [navRoutes]="navRoutes">
<fs-nav-frame-toolbar>
<!-- <ng-template #tbcontent>hallo</ng-template> -->
<fs-nav-frame-toolbar-start>Current App Title</fs-nav-frame-toolbar-start>

<fs-nav-frame-toolbar-center>
Expand All @@ -26,26 +25,14 @@
</fs-nav-frame-toolbar>

<fs-nav-frame-sidebar>
<fs-nav-frame-sidebar-item routerLink="home">
<mat-icon class="icon">home</mat-icon>
<span class="title">Home</span>

<fs-nav-frame-sidebar-item *ngFor="let route of navRoutes" routerLink="{{route.path}}">
<mat-icon class="icon">{{route.icon}}</mat-icon>
<span class="title">{{route.title}}</span>
</fs-nav-frame-sidebar-item>
<fs-nav-frame-sidebar-item routerLink="nav-frame">
<mat-icon class="icon">pivot_table_chart</mat-icon>
<span class="title">Nav Frame</span>
</fs-nav-frame-sidebar-item>

<!-- <fs-nav-frame-sidebar-item routerLink="home"></fs-nav-frame-sidebar-item>

<fs-nav-frame-sidebar-item routerLink="nav-frame">
<fs-sidebar-item-icon>
<mat-icon>pivot_table_chart</mat-icon>
</fs-sidebar-item-icon>
<fs-sidebar-item-title>Nav Frame</fs-sidebar-item-title>
</fs-nav-frame-sidebar-item> -->
</fs-nav-frame-sidebar>

<!-- <fs-nav-frame-sidebar> -->
<fs-nav-user-profile >
<!-- profilePicture="https://material.angular.io/assets/img/examples/shiba1.jpg" -->
<fs-nav-user-profile-name>Some User</fs-nav-user-profile-name>
Expand All @@ -60,7 +47,6 @@
</button>
</fs-nav-user-profile-actions>
</fs-nav-user-profile>
<!-- </fs-nav-frame-sidebar> -->

<fs-nav-frame-content>
<router-outlet></router-outlet>
Expand Down