Skip to content

Commit

Permalink
find service component
Browse files Browse the repository at this point in the history
  • Loading branch information
manoj1995madushanka committed Mar 8, 2019
1 parent 466e523 commit 6770b37
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 2 deletions.
16 changes: 15 additions & 1 deletion src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {Routes} from '@angular/router';
import {InterfaceComponent} from './interface/interface.component';
import {SignupComponent} from './auth/signup/signup.component';
import {LoginComponent} from './auth/login/login.component';
import {BotComponent} from './bot/bot.component';

const routes: Routes = [
{path: '', component: InterfaceComponent},
{path:'signup', component:SignupComponent},
{path:'login',component:LoginComponent},
{path:'bot',component:BotComponent},

];

@NgModule({
declarations: [],
imports: [
CommonModule
]
],
exports: []
})
export class AppRoutingModule { }
4 changes: 3 additions & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { GiveServiceComponent } from './give-service/give-service.component';
import { ForumComponent } from './forum/forum.component';
import { ContactUsComponent } from './interface/contact-us/contact-us.component';
import { PrivacyPolicyComponent } from './interface/privacy-policy/privacy-policy.component';
import {FindServiceComponent} from './findService/findService.component';

@NgModule({
declarations: [
Expand All @@ -35,7 +36,8 @@ import { PrivacyPolicyComponent } from './interface/privacy-policy/privacy-polic
GiveServiceComponent,
ForumComponent,
ContactUsComponent,
PrivacyPolicyComponent
PrivacyPolicyComponent,
FindServiceComponent
],
imports: [
BrowserModule
Expand Down
1 change: 1 addition & 0 deletions src/app/findService/findService.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>find service works</p>
Empty file.
15 changes: 15 additions & 0 deletions src/app/findService/findService.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'app-findservice',
templateUrl: './findService.component.html',
styleUrls: ['./findService.component.scss']
})
export class FindServiceComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}

0 comments on commit 6770b37

Please sign in to comment.