Skip to content

Commit

Permalink
Minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystal-Spider committed May 12, 2024
1 parent 462be22 commit 7d3f6d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 8 additions & 1 deletion src/app/core/model/icons.const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,11 @@ const ICONS = {
}
} as const;

export {ICONS, IconSize};
/**
* Valid icon names.
*
* @typedef {IconName}
*/
type IconName = keyof (typeof ICONS['modIcon'] & typeof ICONS['platformIcon']);

export {ICONS, IconSize, IconName};
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<div class="sidebar-toggle-button">
<mat-icon (click)="toggleSidebar()">menu</mat-icon>
</div>
<div class="sidebar-toggle-title" [routerLink]="['']" [tabIndex]="expanded ? 0 : -1">
<span>Crystal Nest</span>
</div>
<a class="sidebar-toggle-title" [routerLink]="['']" [tabIndex]="expanded ? 0 : -1">Crystal Nest</a>
</div>
<mat-nav-list>
<mat-list-item [routerLink]="['/generator']" [tabIndex]="expanded ? 0 : -1">
Expand Down

0 comments on commit 7d3f6d1

Please sign in to comment.