Skip to content

Commit

Permalink
Design review updates
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusKjeldgaard committed Nov 29, 2024
1 parent 327a140 commit bad5462
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
5 changes: 5 additions & 0 deletions apps/cookbook/src/app/page/header/header.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ header {
justify-self: start;
}

svg {
height: 100%;
width: 100%;
}

.text {
opacity: 0;
animation: enter utils.get-transition-duration('long') ease-in-out $text-delay forwards;
Expand Down
27 changes: 14 additions & 13 deletions apps/cookbook/src/app/page/side-nav/side-nav.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,20 @@ <h2 class="kirby-text-normal">Components</h2>
</button>
</div>
<ul>
<li *ngFor="let item of filteredShowcaseRoutes; let isLast = last">
<a
*ngFor="let link of item"
[routerLink]="link.path"
routerLinkActive="is-selected"
(click)="closeMenu()"
class="list-item-link"
#componentLink
>
{{ link.name }}
</a>
<hr *ngIf="!isLast" />
</li>
<ng-container *ngFor="let item of filteredShowcaseRoutes; let isLast = last">
<li *ngFor="let link of item">
<a
[routerLink]="link.path"
routerLinkActive="is-selected"
(click)="closeMenu()"
class="list-item-link"
#componentLink
>
{{ link.name }}
</a>
</li>
<hr aria-hidden="true" *ngIf="!isLast" />
</ng-container>
</ul>
</kirby-card>
</section>

0 comments on commit bad5462

Please sign in to comment.