Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const routes: Routes = [
];

@NgModule({
imports: [RouterModule.forRoot(routes)],
imports: [RouterModule.forRoot(routes, { useHash: true })],
exports: [RouterModule]
})
export class AppRoutingModule { }
4 changes: 2 additions & 2 deletions src/app/input-output/toggle/toggle.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { Component } from '@angular/core';
selector: 'app-toggle',
template: `
<div class="flex items-center">
<img [hidden]="state" src="/assets/lights-on.png" class="self-center p1">
<img [hidden]="!state" src="/assets/lights-off.png" class="self-center p1">
<img [hidden]="state" src="assets/lights-on.png" class="self-center p1">
<img [hidden]="!state" src="assets/lights-off.png" class="self-center p1">
<button (click)="onToggleState()" class="f6 link dim br3 ph3 ml2 pv2 dib black btn-bg">{{label}}</button>
</div>
`,
Expand Down
2 changes: 1 addition & 1 deletion src/app/routes/city-module/city-one.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Component, OnInit } from '@angular/core';
selector: 'app-city-one',
template: `
<div>
<img src="/assets/toronto.jpg"/>
<img src="assets/toronto.jpg"/>
</div>
`,
styles: []
Expand Down
2 changes: 1 addition & 1 deletion src/app/routes/city-module/city-three.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Component, OnInit } from '@angular/core';
selector: 'app-city-three',
template: `
<div>
<img src="/assets/montreal.jpg"/>
<img src="assets/montreal.jpg"/>
</div>
`,
styles: []
Expand Down
2 changes: 1 addition & 1 deletion src/app/routes/city-module/city-two.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Component, OnInit } from '@angular/core';
selector: 'app-city-two',
template: `
<div>
<img src="/assets/nova-scotia.jpg"/>
<img src="assets/nova-scotia.jpg"/>
</div>
`,
styles: []
Expand Down
2 changes: 1 addition & 1 deletion src/app/routes/park-one/park-one.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Component, OnInit } from '@angular/core';
selector: 'app-park-one',
template: `
<div>
<img src="/assets/peyto-lake-banff.jpg" width="600" height="350" />
<img src="assets/peyto-lake-banff.jpg" width="600" height="350" />
</div>
`,
styles: []
Expand Down
2 changes: 1 addition & 1 deletion src/app/routes/park-three/park-three.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Component, OnInit } from '@angular/core';
selector: 'app-park-three',
template: `
<div>
<img src="/assets/bloordale-toronto-park.jpg" width="600" height="350" />
<img src="assets/bloordale-toronto-park.jpg" width="600" height="350" />
</div>
`,
styles: []
Expand Down
2 changes: 1 addition & 1 deletion src/app/routes/park-two/park-two.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Component, OnInit } from '@angular/core';
selector: 'app-park-two',
template: `
<div>
<img src="/assets/mount-yamnuska2-szmurlo.jpg" width="600" height="350" />
<img src="assets/mount-yamnuska2-szmurlo.jpg" width="600" height="350" />
</div>
`,
styles: []
Expand Down