diff --git a/package.json b/package.json index cb6d0dc..fe9d468 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,8 @@ "@angular/platform-browser-dynamic": "15.2.6", "@angular/platform-server": "15.2.6", "@angular/router": "15.2.6", + "@angular/material": "15.2.6", + "@angular/cdk": "15.2.6", "@sendgrid/mail": "^7.2.1", "@stripe/stripe-js": "^1.54.1", "ag-charts-angular": "^9.3.1", diff --git a/src/app/app.module.ts b/src/app/app.module.ts index d9d768c..8918197 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -2,6 +2,11 @@ import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { HttpClientModule } from '@angular/common/http'; +import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; +import { MatButtonModule } from '@angular/material/button'; +import { MatInputModule } from '@angular/material/input'; +import { MatToolbarModule } from '@angular/material/toolbar'; +import { MatFormFieldModule } from '@angular/material/form-field'; import { AppComponent } from './app.component'; import { AppRoutingModule } from './app-routing.module'; @@ -54,6 +59,7 @@ export const firebaseConfig = { BrowserModule, FormsModule, HttpClientModule, + BrowserAnimationsModule, AngularFireModule.initializeApp(firebaseConfig), AngularFirestoreModule.enablePersistence({synchronizeTabs:true}), AngularFireStorageModule, @@ -64,6 +70,10 @@ export const firebaseConfig = { Ng2ImgMaxModule, PipeModule.forRoot(), AgChartsAngular, + MatButtonModule, + MatInputModule, + MatToolbarModule, + MatFormFieldModule, ], providers: [ UserInterfaceService, diff --git a/src/app/login.component.ts b/src/app/login.component.ts index d0f6b5a..b51e35e 100644 --- a/src/app/login.component.ts +++ b/src/app/login.component.ts @@ -14,33 +14,41 @@ import { first } from 'rxjs/operators';
-
New member
-
Existing member
-
- - -
-
- -
Forgot password?
-
-
- - - -
+ + +
+ + Email + + + + Password + +
+ visibility + visibility +
+
+
+
+ + +
+
+ + Confirm password + +
+ visibility + visibility +
+
+ + First name (one word) + + + +
{{messageUser}}
diff --git a/src/app/profile.component.ts b/src/app/profile.component.ts index 3c9a81d..cabbfba 100644 --- a/src/app/profile.component.ts +++ b/src/app/profile.component.ts @@ -41,7 +41,7 @@ import { ChangeDetectorRef } from '@angular/core' {{focusUserLastMessageObj?.userPresentation}} Level {{focusUserLastMessageObj?.contract?.levelTimeAdjusted|number:'1.1-1'}} Waiting for contract signature (Level {{focusUserLastMessageObj?.contract?.level|number:'1.1-1'}}) -
Sign contract
+
Created in {{focusUserLastMessageObj?.createdTimestamp|date:'MMMM yyyy'}}
@@ -52,11 +52,11 @@ import { ChangeDetectorRef } from '@angular/core'
-
inbox
-
history
-
chain
-
forecast
-
New message to {{focusUserLastMessageObj?.name}}
+ + + + +
@@ -78,7 +78,7 @@ import { ChangeDetectorRef } from '@angular/core' (click)="router.navigate(['chat',message.payload.doc.data()?.chain])">
- Join +
event
diff --git a/src/styles.css b/src/styles.css index b0db970..53862e3 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1,3 +1,11 @@ +@import '~@angular/material/prebuilt-themes/indigo-pink.css'; + +/* Customize Material components to match app palette */ +.mat-toolbar { + background-color: #222C32; + color: #B0BAC0; +} + *, *:before, *:after { box-sizing: border-box; font-family: verdana;