navbar maj
This commit is contained in:
@@ -3,11 +3,27 @@
|
||||
}
|
||||
|
||||
.app-layout {
|
||||
height: 100vh;
|
||||
height: 150vh;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.main-title {
|
||||
color:#eabf63;
|
||||
}
|
||||
|
||||
.top-nav {
|
||||
line-height: 64px;
|
||||
background-color: #2c2c2c;
|
||||
}
|
||||
|
||||
.top-nav a {
|
||||
display: block;
|
||||
background-color: #4c4c4c;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
color: #eabf63;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
@@ -15,22 +31,21 @@
|
||||
height: 64px;
|
||||
padding-right: 24px;
|
||||
line-height: 64px;
|
||||
background: #001529;
|
||||
background: #1c1c1c;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
display: inline-block;
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
vertical-align: middle;
|
||||
height: 70px;
|
||||
width: 130px;
|
||||
}
|
||||
|
||||
.logo h1 {
|
||||
display: inline-block;
|
||||
margin: 0 0 0 15px;
|
||||
color: #fff;
|
||||
margin: 0 0 0 10px;
|
||||
color: #eabf63;
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
font-size: 22px;
|
||||
font-family: Avenir,Helvetica Neue,Arial,Helvetica,sans-serif;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
<nz-header>
|
||||
<div class="logo">
|
||||
<a>
|
||||
<img src="../logo.svg" alt="logo">
|
||||
<h1>Pyrofêtes P4</h1>
|
||||
<img src="../logo-navbar.svg" alt="logo">
|
||||
<h1>Gestion des relations</h1>
|
||||
</a>
|
||||
</div>
|
||||
<ul nz-menu class="top-nav" nzTheme="dark" nzMode="horizontal">
|
||||
<li nz-menu-item routerLinkActive="ant-menu-item-selected" routerLink="/customers">Clients</li>
|
||||
<li nz-menu-item routerLinkActive="ant-menu-item-selected" routerLink="/providers">Prestataires</li>
|
||||
<li nz-menu-item routerLinkActive="ant-menu-item-selected" routerLink="/staff">Artificiers</li>
|
||||
<li nz-menu-item routerLinkActive="ant-menu-item-selected" routerLink="/opportunities">Opportunités</li>
|
||||
<li nz-menu-item class="nav-item" routerLinkActive="ant-menu-item-selected" routerLink="/customers"><nz-icon nzType="shop" nzTheme="outline" /> Clients</li>
|
||||
<li nz-menu-item class="nav-item" routerLinkActive="ant-menu-item-selected" routerLink="/providers"><nz-icon nzType="solution" nzTheme="outline" /> Prestataires</li>
|
||||
<li nz-menu-item class="nav-item" routerLinkActive="ant-menu-item-selected" routerLink="/staff"><nz-icon nzType="fire" nzTheme="fill" /> Artificiers</li>
|
||||
<li nz-menu-item class="nav-item" routerLinkActive="ant-menu-item-selected" routerLink="/opportunities"><nz-icon nzType="stock" nzTheme="outline" /> Opportunités</li>
|
||||
</ul>
|
||||
</nz-header>
|
||||
<nz-content>
|
||||
|
||||
@@ -2,10 +2,11 @@ import { Component } from '@angular/core';
|
||||
import {RouterLink, RouterLinkActive, RouterOutlet} from '@angular/router';
|
||||
import { NzLayoutModule } from 'ng-zorro-antd/layout';
|
||||
import { NzMenuModule } from 'ng-zorro-antd/menu';
|
||||
import {NzIconDirective} from "ng-zorro-antd/icon";
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
imports: [RouterOutlet, NzLayoutModule, NzMenuModule, RouterLinkActive, RouterLink],
|
||||
imports: [RouterOutlet, NzLayoutModule, NzMenuModule, RouterLinkActive, RouterLink, NzIconDirective],
|
||||
templateUrl: './app.html',
|
||||
styleUrl: './app.css'
|
||||
})
|
||||
|
||||
@@ -1 +1 @@
|
||||
<p>providers works!</p>
|
||||
<app-providers-card-form></app-providers-card-form>
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {ProvidersCardForm} from "./providers-card-form/providers-card-form";
|
||||
|
||||
@Component({
|
||||
selector: 'app-providers',
|
||||
imports: [],
|
||||
imports: [
|
||||
ProvidersCardForm
|
||||
],
|
||||
templateUrl: './providers.html',
|
||||
styleUrl: './providers.css',
|
||||
})
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Pyrofètes Frontend</title>
|
||||
<base href="/">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||
<link rel="icon" type="image/x-icon" href="./public/logo-navbar.svg">
|
||||
</head>
|
||||
<body>
|
||||
<app-root></app-root>
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
// Override less variables to here
|
||||
// View all variables: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/style/themes/default.less
|
||||
|
||||
// @primary-color: #1890ff;
|
||||
@primary-color: #1c1c1c;
|
||||
|
||||
Reference in New Issue
Block a user