Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

Commit 028c190

Browse files
committed
codelab: define unique page titles
1 parent 5694f1c commit 028c190

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/app/app-routing.module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import { ShopComponent } from './shop/shop.component';
2121

2222
// TODO: #4. Define unique page titles
2323
const routes: Routes = [
24-
{ path: 'shop', component: ShopComponent },
25-
{ path: 'about', component: AboutComponent },
26-
{ path: 'locate', component: LocationComponent },
24+
{ path: 'shop', component: ShopComponent, title: 'Our Shop – a11y in Angular' },
25+
{ path: 'about', component: AboutComponent, title: 'Our Story - a11y in Angular' },
26+
{ path: 'locate', component: LocationComponent, title: 'Find Us - a11y in Angular' },
2727
{ path: '', redirectTo: '/shop', pathMatch: 'full' },
2828
{ path: '**', component: ShopComponent },
2929
];

0 commit comments

Comments
 (0)