user works!
diff --git a/frontend/src/app/views/area/components/user/user.component.scss b/frontend/src/app/views/area/components/user/user.component.scss new file mode 100644 index 00000000..e69de29b diff --git a/frontend/src/app/views/area/components/user/user.component.ts b/frontend/src/app/views/area/components/user/user.component.ts new file mode 100644 index 00000000..6fd5a202 --- /dev/null +++ b/frontend/src/app/views/area/components/user/user.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-user', + templateUrl: './user.component.html', + styleUrls: ['./user.component.scss'] +}) +export class UserComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/frontend/src/app/views/area/donors/donors-routing.module.ts b/frontend/src/app/views/area/donors/donors-routing.module.ts new file mode 100644 index 00000000..6ca942b4 --- /dev/null +++ b/frontend/src/app/views/area/donors/donors-routing.module.ts @@ -0,0 +1,11 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; +import { DonorsComponent } from './donors.component'; + +const routes: Routes = [{ path: '', component: DonorsComponent }]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class DonorsRoutingModule {} diff --git a/frontend/src/app/views/area/donors/donors.component.html b/frontend/src/app/views/area/donors/donors.component.html new file mode 100644 index 00000000..2fbfbc80 --- /dev/null +++ b/frontend/src/app/views/area/donors/donors.component.html @@ -0,0 +1,48 @@ + +People willing to help
+ + +| Qty | +{{ element.itemQuantity }} | +Name | +{{ element.postedByUser.name }} | +Item(s) | +{{ element.itemName }} | +Contact | +{{ element.postedByUser.mobile }} | +
|---|
| Item Name | +{{ element.itemName }} | +Item Quantity | +{{ element.itemQuantity }} | +
|---|
Heroes on the ground
+ + +| Qty | +{{ element.itemQuantity }} | +Name | +{{ element.postedByUser.name }} | +Item(s) | +{{ element.itemName }} | +Location | +{{ element.location.locationName }} | +Contact | +{{ element.postedByUser.mobile }} | +
|---|
If you are in distress let us know.
+If you want to help people in distress you are welcome to join us.
+Workers on the ground... we will be nothing without you
+Lend your space for keeping important stuff safe
+not-found works!
diff --git a/frontend/src/app/views/not-found/not-found.component.scss b/frontend/src/app/views/not-found/not-found.component.scss new file mode 100644 index 00000000..e69de29b diff --git a/frontend/src/app/views/not-found/not-found.component.ts b/frontend/src/app/views/not-found/not-found.component.ts new file mode 100644 index 00000000..8a117dc2 --- /dev/null +++ b/frontend/src/app/views/not-found/not-found.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-not-found', + templateUrl: './not-found.component.html', + styleUrls: ['./not-found.component.scss'] +}) +export class NotFoundComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/frontend/src/app/views/not-found/not-found.module.ts b/frontend/src/app/views/not-found/not-found.module.ts new file mode 100644 index 00000000..4f6e1753 --- /dev/null +++ b/frontend/src/app/views/not-found/not-found.module.ts @@ -0,0 +1,15 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; + +import { NotFoundRoutingModule } from './not-found-routing.module'; +import { NotFoundComponent } from './not-found.component'; + + +@NgModule({ + declarations: [NotFoundComponent], + imports: [ + CommonModule, + NotFoundRoutingModule + ] +}) +export class NotFoundModule { } diff --git a/frontend/src/app/views/register/register-routing.module.ts b/frontend/src/app/views/register/register-routing.module.ts new file mode 100644 index 00000000..bf616f92 --- /dev/null +++ b/frontend/src/app/views/register/register-routing.module.ts @@ -0,0 +1,16 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; +import { RegisterComponent } from './register.component'; + +const routes: Routes = [ + { + path: '', + component: RegisterComponent + } +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class RegisterRoutingModule {} diff --git a/frontend/src/app/views/register/register.component.html b/frontend/src/app/views/register/register.component.html new file mode 100644 index 00000000..6506a53d --- /dev/null +++ b/frontend/src/app/views/register/register.component.html @@ -0,0 +1,84 @@ +