diff --git a/package-lock.json b/package-lock.json index 4df65eb..6eeb2c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -613,6 +613,14 @@ } } }, + "@angular/material": { + "version": "10.1.3", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-10.1.3.tgz", + "integrity": "sha512-6ygbCVcejFydmZUlOcNreiWQTvL4kOrEp/M51DV70hqffTnxajCzaRe2MQhxisENB/bR8mtMvf8YY3Rsys/HCw==", + "requires": { + "tslib": "^2.0.0" + } + }, "@angular/platform-browser": { "version": "10.0.14", "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-10.0.14.tgz", diff --git a/package.json b/package.json index d4a0650..0de8d9c 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "@angular/core": "~10.0.14", "@angular/forms": "~10.0.14", "@angular/localize": "^10.0.14", + "@angular/material": "^10.1.3", "@angular/platform-browser": "~10.0.14", "@angular/platform-browser-dynamic": "~10.0.14", "@angular/router": "~10.0.14", diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 7506906..462b413 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,6 +1,16 @@ import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; +// Angular Material Components +import {MatToolbarModule} from '@angular/material/toolbar'; +import {MatButtonModule} from '@angular/material/button'; +import {MatTableModule} from '@angular/material/table'; +import {MatInputModule} from '@angular/material/input'; +import {MatMenuModule} from '@angular/material/menu'; +import {MatSlideToggleModule} from '@angular/material/slide-toggle'; +import {MatIconModule} from '@angular/material/icon'; + + import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; @@ -21,6 +31,13 @@ import { BikesComponent } from './pages/bikes/bikes.component'; BrowserModule, AppRoutingModule, BrowserAnimationsModule, + MatToolbarModule, + MatButtonModule, + MatTableModule, + MatInputModule, + MatMenuModule, + MatSlideToggleModule, + MatIconModule ], providers: [], bootstrap: [AppComponent] diff --git a/src/app/components/navbar/navbar.component.html b/src/app/components/navbar/navbar.component.html index 178e74c..de67fa6 100644 --- a/src/app/components/navbar/navbar.component.html +++ b/src/app/components/navbar/navbar.component.html @@ -1,4 +1,4 @@ - + diff --git a/src/app/pages/bikes/bikes.component.html b/src/app/pages/bikes/bikes.component.html index c6d78c3..5dd51de 100644 --- a/src/app/pages/bikes/bikes.component.html +++ b/src/app/pages/bikes/bikes.component.html @@ -1 +1,37 @@ -bikes works + + + +
No. | +{{element.position}} | +Name | +{{element.name}} | +Weight | +
+ |
+ Symbol | +{{element.symbol}} | +
---|