updated
This commit is contained in:
BIN
public/icon.png
Normal file
BIN
public/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
@@ -9,24 +9,39 @@
|
||||
<div class="sidebar-logo">
|
||||
<a href="https://ng.ant.design/" target="_blank">
|
||||
<img src="https://ng.ant.design/assets/img/logo.svg" alt="logo">
|
||||
<h1>Ant Design of Angular</h1>
|
||||
<h1>My Library</h1>
|
||||
</a>
|
||||
</div>
|
||||
<ul nz-menu nzTheme="dark" nzMode="inline" [nzInlineCollapsed]="isCollapsed">
|
||||
<ul nz-menu nzTheme="dark" nzMode="inline" [nzInlineCollapsed]="isCollapsed" class="text-xl" >
|
||||
<li nz-menu-item nzMatchRouter>
|
||||
<a routerLink="/welcome">Welcome</a>
|
||||
<a routerLink="/welcome">
|
||||
<nz-icon nzType="home"></nz-icon>
|
||||
<span>Welcome</span>
|
||||
</a>
|
||||
</li>
|
||||
<li nz-menu-item nzMatchRouter>
|
||||
<a routerLink="/book">Book</a>
|
||||
<a routerLink="/book">
|
||||
<nz-icon nzType="book"></nz-icon>
|
||||
<span>Book</span>
|
||||
</a>
|
||||
</li>
|
||||
<li nz-menu-item nzMatchRouter>
|
||||
<a routerLink="/author">Author</a>
|
||||
<a routerLink="/author">
|
||||
<nz-icon nzType="user"></nz-icon>
|
||||
<span>Author</span>
|
||||
</a>
|
||||
</li>
|
||||
<li nz-menu-item nzMatchRouter>
|
||||
<a routerLink="/loan">Loan</a>
|
||||
<a routerLink="/loan">
|
||||
<nz-icon nzType="file-done"></nz-icon>
|
||||
<span>Loan</span>
|
||||
</a>
|
||||
</li>
|
||||
<li nz-menu-item nzMatchRouter>
|
||||
<a routerLink="/user">User</a>
|
||||
<a routerLink="/user">
|
||||
<nz-icon nzType="team"></nz-icon>
|
||||
<span>User</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nz-sider>
|
||||
|
||||
@@ -6,5 +6,5 @@ export const routes: Routes = [
|
||||
{path: 'book', loadChildren: () => import('./pages/book/book.routes').then(m => m.BOOK_ROUTES)},
|
||||
{path: 'author', loadChildren: () => import('./pages/author/author.routes').then(m => m.AUTHOR_ROUTES)},
|
||||
{path: 'loan', loadChildren: () => import('./pages/loan/loan.routes').then(m => m.LOAN_ROUTES)},
|
||||
{ path: 'user', loadChildren: () => import('./pages/user/user.routes').then(m => m.USER_ROUTES) }
|
||||
{path: 'user', loadChildren: () => import('./pages/user/user.routes').then(m => m.USER_ROUTES)}
|
||||
];
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {Component} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-author',
|
||||
imports: [],
|
||||
templateUrl: './author.html',
|
||||
styleUrl: './author.css',
|
||||
selector: 'app-author',
|
||||
imports: [],
|
||||
templateUrl: './author.html',
|
||||
styleUrl: './author.css',
|
||||
})
|
||||
export class Author {
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>LibraryFrontend</title>
|
||||
<base href="/">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||
<meta charset="utf-8">
|
||||
<title>LibraryFrontend</title>
|
||||
<base href="/">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||
</head>
|
||||
<body>
|
||||
<app-root></app-root>
|
||||
<app-root></app-root>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user