From 3d1d630d2e9bc5991c64b0a9f48e8098eab998d2 Mon Sep 17 00:00:00 2001 From: Israe Elibrahimi <50199415+israeElibr@users.noreply.github.com> Date: Thu, 9 Feb 2023 17:03:59 +0100 Subject: [PATCH] monDolibar --- .../components/header/header.component.html | 4 +- src/app/pages/pages-menu.ts | 69 +++++++++++++++++-- src/index.html | 2 +- 3 files changed, 67 insertions(+), 8 deletions(-) diff --git a/src/app/@theme/components/header/header.component.html b/src/app/@theme/components/header/header.component.html index 6fdc5d35..0f601ebd 100644 --- a/src/app/@theme/components/header/header.component.html +++ b/src/app/@theme/components/header/header.component.html @@ -3,9 +3,9 @@ - + - + {{ theme.name }} diff --git a/src/app/pages/pages-menu.ts b/src/app/pages/pages-menu.ts index a3a4f18e..bff84cb2 100644 --- a/src/app/pages/pages-menu.ts +++ b/src/app/pages/pages-menu.ts @@ -1,13 +1,72 @@ -import { NbMenuItem } from '@nebular/theme'; +import { NbMenuItem } from "@nebular/theme"; export const MENU_ITEMS: NbMenuItem[] = [ { - title: 'E-commerce', - icon: 'shopping-cart-outline', - link: '/pages/dashboard', + title: "E-commerce", + icon: "shopping-cart-outline", + link: "/pages/dashboard", home: true, }, -] + { + title: "Auth", + icon: "lock-outline", + children: [ + { + title: "Login", + link: "/auth/login", + }, + { + title: "Reset Password", + link: "/auth/reset-password", + }, + ], + }, + { + title: "Forms", + icon: "edit-2-outline", + children: [ + { + title: "Form Inputs", + link: "/pages/forms/inputs", + }, + { + title: "Form Layouts", + link: "/pages/forms/layouts", + }, + { + title: "Buttons", + link: "/pages/forms/buttons", + }, + { + title: "Datepicker", + link: "/pages/forms/datepicker", + }, + ], + }, + { + title: "UI Features", + icon: "keypad-outline", + link: "/pages/ui-features", + children: [ + { + title: "Grid", + link: "/pages/ui-features/grid", + }, + { + title: "Icons", + link: "/pages/ui-features/icons", + }, + { + title: "Typography", + link: "/pages/ui-features/typography", + }, + { + title: "Animated Searches", + link: "/pages/ui-features/search-fields", + }, + ], + }, +]; // export const MENU_ITEMS: NbMenuItem[] = [ // { // title: 'E-commerce', diff --git a/src/index.html b/src/index.html index 5192560c..3fc04c71 100644 --- a/src/index.html +++ b/src/index.html @@ -2,7 +2,7 @@ - ngx-admin Demo Application + Mon Dolibar