diff --git a/src/app/app.component.css b/src/app/app.component.css
index 50b0158..067be35 100644
--- a/src/app/app.component.css
+++ b/src/app/app.component.css
@@ -22,9 +22,6 @@ p-toolbar {
border:none;
}
-
-
-
p-toolbar .ui-button {
background-color: transparent ;
opacity: 1;
@@ -32,3 +29,8 @@ p-toolbar .ui-button {
border: none;
}
+p-dialog div > * {
+ margin: auto !important;
+}
+
+
diff --git a/src/app/app.component.html b/src/app/app.component.html
index 7a70cd6..8a60a68 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -12,15 +12,14 @@
-
-
+
-
+
Log In
@@ -38,6 +37,91 @@
+
+
+
+ Sign In
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 3658f5e..06b41b6 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -12,8 +12,11 @@ export class AppComponent implements OnInit{
items : MenuItem[];
- public Connected : false;
- display: boolean = false;
+ connected : boolean = false;
+ displayLogInModal: boolean = false;
+ displaySignInModal: boolean = false;
+ displayPersonalField: boolean = false;
+ birthday: Date;
constructor(){}
ngOnInit(){
@@ -26,8 +29,14 @@ export class AppComponent implements OnInit{
public logIn()
{
- this.display = true;
+ this.displayLogInModal = true;
+ this.connected = true;
console.log('helloooo');
// change route -> /login
}
+ public signUp()
+ {
+ this.displaySignInModal = true;
+
+ }
}
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 4b10c23..bbf9c40 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -16,6 +16,10 @@ import { ButtonModule } from 'primeng/button';
import { SplitButtonModule } from 'primeng/splitbutton';
import {DialogModule} from 'primeng/dialog';
import {InputTextModule} from 'primeng/inputtext';
+import {CalendarModule} from 'primeng/calendar';
+import { FormsModule } from '@angular/forms';
+
+
@@ -40,7 +44,11 @@ import {InputTextModule} from 'primeng/inputtext';
ButtonModule,
SplitButtonModule,
DialogModule,
- InputTextModule
+ InputTextModule,
+ CalendarModule,
+ FormsModule,
+
+
],