Skip to content

Instantly share code, notes, and snippets.

@jessilyneh
Created July 21, 2022 21:57
Show Gist options
  • Select an option

  • Save jessilyneh/689f07f69b05e787d597455d3ed94141 to your computer and use it in GitHub Desktop.

Select an option

Save jessilyneh/689f07f69b05e787d597455d3ed94141 to your computer and use it in GitHub Desktop.

Revisions

  1. jessilyneh created this gist Jul 21, 2022.
    22 changes: 22 additions & 0 deletions mat-toolbar.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    <mat-toolbar color="primary">
    <mat-toolbar-row>
    <button mat-icon-button>
    <mat-icon (click)="sidenav.toggle()">menu</mat-icon>
    </button>
    <h1>SimpleCRM</h1>
    <span class="menu-spacer"></span>
    <div>
    <a mat-button [routerLink]="'/accounts'"> Accounts </a>
    <a mat-button [routerLink]="'/create-account'"> Create Account </a>
    <a mat-button [routerLink]="'/contacts'"> Contacts </a>
    <a mat-button [routerLink]="'/create-contact'"> Create Contact </a>
    <a mat-button [routerLink]="'/activities'"> Activities </a>
    <a mat-button [routerLink]="'/create-activity'"> Create Activity </a>

    </div>
    </mat-toolbar-row>

    <mat-toolbar-row>
    <span style="font-size: 12px;">SimpleCRM helps you easily manage your contacts</span>
    </mat-toolbar-row>
    </mat-toolbar>