diff --git a/package-lock.json b/package-lock.json index 96a2f08..05d07ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -283,6 +283,23 @@ "tslib": "^1.9.0" } }, + "@angular/cdk": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-8.0.2.tgz", + "integrity": "sha512-Tv9M0vuTp7Ogk7mRiEpzBG9x5289FXe+WH0VKqN4zTzF/taTgGEuJBLDcFrwQMW0mFpGP7acVOiopgH+nClytg==", + "requires": { + "parse5": "^5.0.0", + "tslib": "^1.7.1" + }, + "dependencies": { + "parse5": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.0.tgz", + "integrity": "sha512-fxNG2sQjHvlVAYmzBZS9YlDp6PTSSDwa98vkD4QgVDDCAo84z5X1t5XyJQ62ImdLXx5NdIIfihey6xpum9/gRQ==", + "optional": true + } + } + }, "@angular/cli": { "version": "7.1.4", "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-7.1.4.tgz", diff --git a/package.json b/package.json index d7be56f..939b659 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "dependencies": { "@angular-devkit/build-ng-packagr": "^0.13.8", "@angular/animations": "^7.1.4", + "@angular/cdk": "^8.0.2", "@angular/common": "~7.1.0", "@angular/compiler": "~7.1.0", "@angular/core": "~7.1.0", diff --git a/src/app/app.component.css b/src/app/app.component.css index fbaf3dc..6696841 100644 --- a/src/app/app.component.css +++ b/src/app/app.component.css @@ -1,24 +1,22 @@ -#Mytoolbar:first-child{ - background: none; - background-color:transparent; - border-color: none !important; - margin: 0; - padding: 0; - position: absolute; - z-index: 9999 !important; +p-toolbar{ + height: 33px } -.dropShadow { - box-shadow: 0 10px 60px 10px black; - z-index: 12; +p-toolbar img{ + height: 33px; + padding-left: 50px; +} +p-toolbar button{ + background: none; + border: none; + color: #3366ff; } -.ui-toolbar.ui-widget-header{ - background: none; - background-image: none; - background-color:transparent !important; - border-color: none !important; - margin: 0; - padding: 0; - position: absolute; - z-index: 9999 !important; + +.splitBtn{ + background: none !important; + } +.ui-inputgroup{ + padding-top: 10px; + padding-bottom: 10px +} \ No newline at end of file diff --git a/src/app/app.component.html b/src/app/app.component.html index 9be8f1d..e2d6cc7 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,20 +1,43 @@
- - - - - - + MyMirror
- - - + + + + + + + +
+ + + + Log In + + +
+ + +
+
+ + +
+ + + + +
+ + + diff --git a/src/app/app.component.ts b/src/app/app.component.ts index fbc1981..600a1b2 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,6 +1,7 @@ import { Component, OnInit } from '@angular/core'; import {MenuItem} from 'primeng/api'; + @Component({ selector: 'app-root', templateUrl: './app.component.html', @@ -18,12 +19,17 @@ export class AppComponent implements OnInit{ {label: 'Delete', icon: 'pi pi-times'} ]; + } - public LogIn() + display: boolean = false; + + + public logIn() { + this.display = true; console.log('helloooo'); // change route -> /login } diff --git a/src/app/app.module.ts b/src/app/app.module.ts index d0be489..4b10c23 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -14,6 +14,11 @@ import { BorderCardDirective } from './directives/border-card.directive'; import { ToolbarModule } from 'primeng/toolbar'; import { ButtonModule } from 'primeng/button'; import { SplitButtonModule } from 'primeng/splitbutton'; +import {DialogModule} from 'primeng/dialog'; +import {InputTextModule} from 'primeng/inputtext'; + + + @@ -33,7 +38,10 @@ import { SplitButtonModule } from 'primeng/splitbutton'; CarouselModule.forRoot(), ToolbarModule, ButtonModule, - SplitButtonModule + SplitButtonModule, + DialogModule, + InputTextModule + ], providers: [], diff --git a/src/assets/images/home-page/be.png b/src/assets/images/home-page/be.png new file mode 100644 index 0000000..823c30a Binary files /dev/null and b/src/assets/images/home-page/be.png differ diff --git a/src/assets/images/home-page/de.png b/src/assets/images/home-page/de.png new file mode 100644 index 0000000..760b513 Binary files /dev/null and b/src/assets/images/home-page/de.png differ diff --git a/src/assets/images/home-page/en.png b/src/assets/images/home-page/en.png new file mode 100644 index 0000000..99ecd6c Binary files /dev/null and b/src/assets/images/home-page/en.png differ diff --git a/src/assets/images/home-page/es.png b/src/assets/images/home-page/es.png new file mode 100644 index 0000000..b92d57a Binary files /dev/null and b/src/assets/images/home-page/es.png differ diff --git a/src/assets/images/home-page/fr.png b/src/assets/images/home-page/fr.png new file mode 100644 index 0000000..295f448 Binary files /dev/null and b/src/assets/images/home-page/fr.png differ diff --git a/src/assets/images/home-page/it.png b/src/assets/images/home-page/it.png new file mode 100644 index 0000000..5777d2e Binary files /dev/null and b/src/assets/images/home-page/it.png differ