diff --git a/angular.json b/angular.json index eba094a3d..710f733d8 100644 --- a/angular.json +++ b/angular.json @@ -111,6 +111,123 @@ } } } + }, + "profile": { + "projectType": "application", + "schematics": {}, + "root": "projects/profile", + "sourceRoot": "projects/profile/src", + "prefix": "app", + "architect": { + "build": { + "builder": "@angular-devkit/build-angular:browser", + "options": { + "outputPath": "dist/profile", + "index": "projects/profile/src/index.html", + "main": "projects/profile/src/main.ts", + "polyfills": "projects/profile/src/polyfills.ts", + "tsConfig": "projects/profile/tsconfig.app.json", + "aot": true, + "assets": [ + "projects/profile/src/favicon.ico", + "projects/profile/src/assets" + ], + "styles": [ + "projects/profile/src/styles.css" + ], + "scripts": [] + }, + "configurations": { + "production": { + "fileReplacements": [ + { + "replace": "projects/profile/src/environments/environment.ts", + "with": "projects/profile/src/environments/environment.prod.ts" + } + ], + "optimization": true, + "outputHashing": "all", + "sourceMap": false, + "extractCss": true, + "namedChunks": false, + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": true, + "budgets": [ + { + "type": "initial", + "maximumWarning": "2mb", + "maximumError": "5mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "6kb", + "maximumError": "10kb" + } + ] + } + } + }, + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "options": { + "browserTarget": "profile:build" + }, + "configurations": { + "production": { + "browserTarget": "profile:build:production" + } + } + }, + "extract-i18n": { + "builder": "@angular-devkit/build-angular:extract-i18n", + "options": { + "browserTarget": "profile:build" + } + }, + "test": { + "builder": "@angular-devkit/build-angular:karma", + "options": { + "main": "projects/profile/src/test.ts", + "polyfills": "projects/profile/src/polyfills.ts", + "tsConfig": "projects/profile/tsconfig.spec.json", + "karmaConfig": "projects/profile/karma.conf.js", + "assets": [ + "projects/profile/src/favicon.ico", + "projects/profile/src/assets" + ], + "styles": [ + "projects/profile/src/styles.css" + ], + "scripts": [] + } + }, + "lint": { + "builder": "@angular-devkit/build-angular:tslint", + "options": { + "tsConfig": [ + "projects/profile/tsconfig.app.json", + "projects/profile/tsconfig.spec.json", + "projects/profile/e2e/tsconfig.json" + ], + "exclude": [ + "**/node_modules/**" + ] + } + }, + "e2e": { + "builder": "@angular-devkit/build-angular:protractor", + "options": { + "protractorConfig": "projects/profile/e2e/protractor.conf.js", + "devServerTarget": "profile:serve" + }, + "configurations": { + "production": { + "devServerTarget": "profile:serve:production" + } + } + } + } } }, "defaultProject": "test-ng7", diff --git a/src/app/app.module.ts b/src/app/app.module.ts index a3c5151d4..90b24d298 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -8,6 +8,7 @@ import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { AuthGuard } from './shared'; import { LanguageTranslationModule } from './shared/modules/language-translation/language-translation.module'; +import { ProfileComponent } from './profile/profile.component'; @NgModule({ imports: [ @@ -18,7 +19,7 @@ import { LanguageTranslationModule } from './shared/modules/language-translation LanguageTranslationModule, AppRoutingModule ], - declarations: [AppComponent], + declarations: [AppComponent, ProfileComponent], providers: [AuthGuard], bootstrap: [AppComponent] }) diff --git a/src/app/layout/bs-element/bs-element.component.html b/src/app/layout/bs-element/bs-element.component.html index 9c5d8dfe3..c87c81b30 100644 --- a/src/app/layout/bs-element/bs-element.component.html +++ b/src/app/layout/bs-element/bs-element.component.html @@ -18,7 +18,7 @@

Buttons


- + @@ -373,4 +373,44 @@

Dark card title

+ + +
+
+

Fluid jumbotron

+

This is a modified jumbotron!! Enjoy it!

+
+
+ + +
+
+ + +
+
+ + +
+ + + +
diff --git a/src/app/layout/bs-element/bs-element.component.ts b/src/app/layout/bs-element/bs-element.component.ts index c04154081..b247859f6 100644 --- a/src/app/layout/bs-element/bs-element.component.ts +++ b/src/app/layout/bs-element/bs-element.component.ts @@ -11,4 +11,5 @@ export class BsElementComponent implements OnInit { constructor() {} ngOnInit() {} + } diff --git a/src/app/layout/components/header/header.component.html b/src/app/layout/components/header/header.component.html index 66adda30c..83c3f3121 100644 --- a/src/app/layout/components/header/header.component.html +++ b/src/app/layout/components/header/header.component.html @@ -31,6 +31,17 @@   + +