diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts
index 9113578..90657fb 100644
--- a/frontend/src/app/app-routing.module.ts
+++ b/frontend/src/app/app-routing.module.ts
@@ -3,11 +3,13 @@ import {RouterModule, Routes} from '@angular/router';
import {HomeComponent} from './containers/home/home.component';
import {NotfoundComponent} from './containers/notfound/notfound.component';
import {SearchComponent} from './containers/search/search.component';
+import {RegionDetailsComponent} from './containers/region-details/region-details.component';
const routes: Routes = [
{path: 'home', component: HomeComponent},
{path: 'search', component: SearchComponent},
+ {path: 'region/:id', component: RegionDetailsComponent},
{path: '', redirectTo: 'home', pathMatch: 'full'},
{path: '**', component: NotfoundComponent}
];
diff --git a/frontend/src/app/app.component.ts b/frontend/src/app/app.component.ts
index 3ceca05..6906737 100644
--- a/frontend/src/app/app.component.ts
+++ b/frontend/src/app/app.component.ts
@@ -11,6 +11,5 @@ export class AppComponent implements OnInit {
}
ngOnInit(): void {
-
}
}
diff --git a/frontend/src/app/app.module.ts b/frontend/src/app/app.module.ts
index 813e250..1469f21 100644
--- a/frontend/src/app/app.module.ts
+++ b/frontend/src/app/app.module.ts
@@ -25,6 +25,7 @@ import {MatButtonToggleModule, MatCheckboxModule, MatDividerModule} from '@angul
import {FormsModule} from '@angular/forms';
import {RegionComponent} from './components/region/region.component';
import {ResultComponent} from './components/result/result.component';
+import {RegionDetailsComponent} from './containers/region-details/region-details.component';
@NgModule({
@@ -35,7 +36,8 @@ import {ResultComponent} from './components/result/result.component';
SearchComponent,
SearchInputComponent,
RegionComponent,
- ResultComponent
+ ResultComponent,
+ RegionDetailsComponent
],
imports: [
BrowserModule,
diff --git a/frontend/src/app/components/region/region.component.scss b/frontend/src/app/components/region/region.component.scss
index 31c1a57..ef5c040 100644
--- a/frontend/src/app/components/region/region.component.scss
+++ b/frontend/src/app/components/region/region.component.scss
@@ -6,6 +6,8 @@
> .region-img {
flex: 0 0 auto;
width: 100%;
+ height: 15rem;
+ object-fit: cover;
}
> .region-footer {
diff --git a/frontend/src/app/components/result/result.component.scss b/frontend/src/app/components/result/result.component.scss
index d1ccd17..e4d5c72 100644
--- a/frontend/src/app/components/result/result.component.scss
+++ b/frontend/src/app/components/result/result.component.scss
@@ -6,6 +6,8 @@
> .result-img {
flex: 0 0 auto;
width: 100%;
+ height: 15rem;
+ object-fit: cover;
}
> .result-footer {
diff --git a/frontend/src/app/containers/home/home.component.html b/frontend/src/app/containers/home/home.component.html
index e819426..8a89191 100644
--- a/frontend/src/app/containers/home/home.component.html
+++ b/frontend/src/app/containers/home/home.component.html
@@ -1,6 +1,6 @@
{{region.description}}
+