diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index f77720b..14d17d8 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -8,8 +8,8 @@ import {ListComponent} from "./list/list.component"; @NgModule({ imports: [RouterModule.forRoot([ {path: 'home', component: HomeComponent}, - {path: ':location', component: ListComponent}, - {path: ':location/detail/:id', component: DetailComponent}, + {path: 'location/:location', component: ListComponent}, + {path: 'location/:location/:id', component: DetailComponent}, {path: '**', redirectTo: 'home'} ])], exports: [RouterModule], diff --git a/src/styles.css b/src/styles.css index 2dfd443..7dca88b 100644 --- a/src/styles.css +++ b/src/styles.css @@ -3,3 +3,6 @@ @tailwind components; @tailwind utilities; +body{ + overflow-y: hidden; +}