refractor: login module (#283)

* Refractor components.
* Shift language and footer component to shared module.
* Replace mat-icons by font-awesome icons.
* Add comments.

Fixes #284
This commit is contained in:
Abhay Chawla
2018-08-09 22:28:17 +05:30
committed by GitHub
parent 9eead37c8c
commit 2330f70f2c
33 changed files with 629 additions and 313 deletions
+15 -5
View File
@@ -1,34 +1,44 @@
/** Angular Imports */
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule } from '@angular/forms';
/** Custom Components */
import { FileUploadComponent } from './file-upload/file-upload.component';
import { DeleteDialogComponent } from './delete-dialog/delete-dialog.component';
import { FileUploadComponent } from './file-upload/file-upload.component';
import { FooterComponent } from './footer/footer.component';
import { LanguageSelectorComponent } from './language-selector/language-selector.component';
/** Custom Modules */
import { MaterialModule } from './material.module';
import { IconsModule } from './icons.module';
import { MaterialModule } from './material.module';
/**
* Shared Module
*
* Modules and components that are shared throughout the application should be here.
*/
@NgModule({
imports: [
CommonModule,
IconsModule,
MaterialModule
MaterialModule,
ReactiveFormsModule
],
declarations: [
DeleteDialogComponent,
FileUploadComponent
FileUploadComponent,
FooterComponent,
LanguageSelectorComponent
],
exports: [
FileUploadComponent,
FooterComponent,
LanguageSelectorComponent,
CommonModule,
IconsModule,
MaterialModule
MaterialModule,
ReactiveFormsModule
],
entryComponents: [
DeleteDialogComponent