Ignore:
Timestamp:
10/21/21 20:47:04 (3 years ago)
Author:
Sara Fazliu <67891916+sarafazliu@…>
Branches:
dev
Children:
0757d8f
Parents:
3bb1377
Message:

Added header component

Location:
src/Clients/Angular/finki-chattery
Files:
4 added
5 edited

Legend:

Unmodified
Added
Removed
  • src/Clients/Angular/finki-chattery/angular.json

    r3bb1377 r9e95498  
    9898            "tsConfig": "tsconfig.spec.json",
    9999            "karmaConfig": "karma.conf.js",
    100             "assets": ["src/favicon.ico", "src/assets"],
    101             "styles": ["./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", "src/styles.scss"],
     100            "assets": [
     101              "src/favicon.ico",
     102              "src/assets"
     103            ],
     104            "styles": [
     105              "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
     106              "src/styles.scss"
     107            ],
    102108            "scripts": []
    103109          }
     
    106112          "builder": "@angular-devkit/build-angular:tslint",
    107113          "options": {
    108             "tsConfig": ["tsconfig.app.json", "tsconfig.spec.json", "e2e/tsconfig.json"],
    109             "exclude": ["**/node_modules/**"]
     114            "tsConfig": [
     115              "tsconfig.app.json",
     116              "tsconfig.spec.json",
     117              "e2e/tsconfig.json"
     118            ],
     119            "exclude": [
     120              "**/node_modules/**"
     121            ]
    110122          }
    111123        },
     
    125137    }
    126138  },
    127   "defaultProject": "finki-chattery"
     139  "defaultProject": "finki-chattery",
     140  "cli": {
     141    "analytics": false
     142  }
    128143}
  • src/Clients/Angular/finki-chattery/src/app/app-routing.module.ts

    r3bb1377 r9e95498  
    11import { NgModule } from '@angular/core';
     2import { CommonModule } from '@angular/common';
    23import { Routes, RouterModule } from '@angular/router';
    34import { AuthorizedGuard } from './core/guards/authorized.guard';
     
    1617
    1718@NgModule({
    18   imports: [RouterModule.forRoot(routes)],
     19  imports: [
     20    CommonModule,
     21    RouterModule.forRoot(routes)
     22  ],
    1923  exports: [RouterModule]
    2024})
  • src/Clients/Angular/finki-chattery/src/app/app.component.html

    r3bb1377 r9e95498  
    1 <main>
     1
     2  <mat-sidenav-container>
     3    <mat-sidenav #sidenav role="navigation">
     4      <!--this is a place for us to add side-nav code-->
     5    </mat-sidenav>
     6    <mat-sidenav-content>
     7      <!--in here all the content must reside. We will add a navigation header as well-->
     8      <app-header></app-header>
     9      <main>
     10        <router-outlet></router-outlet>
     11      </main>
     12    </mat-sidenav-content>
     13  </mat-sidenav-container>
     14
     15
    216  <mat-progress-bar class="global-loader" [class.hidden]="!(loader.isLoading | async)" mode="indeterminate"></mat-progress-bar>
    317  <router-outlet></router-outlet>
  • src/Clients/Angular/finki-chattery/src/app/app.module.ts

    r3bb1377 r9e95498  
    1111import { translateConfiguration, TranslateFromJsonService } from './shared-app/services';
    1212import { SharedMaterialModule } from './shared-material/shared-material.module';
     13import { HeaderComponent } from './navigation/header/header.component';
    1314
    1415@NgModule({
    15   declarations: [AppComponent],
     16  declarations: [AppComponent, HeaderComponent],
    1617  imports: [
    1718    BrowserModule,
  • src/Clients/Angular/finki-chattery/src/styles.scss

    r3bb1377 r9e95498  
    11html,
    22body {
     3  margin: 0;
    34  height: 100%;
    45}
     6/*
    57body {
    6   margin: 0;
    78  font-family: Roboto, sans-serif;
    89}
     
    285286  z-index: 1100 !important;
    286287}
     288*/
Note: See TracChangeset for help on using the changeset viewer.