Skip to content

Commit 86023cb

Browse files
authored
Merge branch 'main' into fix/address
2 parents 98946be + 3f6e7fd commit 86023cb

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/app/components/detail/detail.component.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<div class="text p-4 bg-gray-100 rounded-lg shadow-md">
22
<div class="headline text-2xl font-bold text-gray-800">
3-
{{ activity?.name }}
3+
{{ activity?.name }} | {{ activity?.type?.name }}
44
</div>
55
<div class="adresse mt-2 text-gray-600">
66
<p>
77
@if(activity?.number && activity?.street) {
88
<span>{{activity?.street}} {{activity?.number}}</span>,
99
}
10-
{{activity?.zip}} {{activity?.city}}</p>
10+
{{activity?.zip}} {{activity?.city}} {{activity?.country}}</p>
1111
</div>
1212
@if (activity?.age_restriction) {
1313
<div class="minimal-age mt-2 text-red-500">
@@ -41,9 +41,11 @@
4141
</div>
4242
}
4343
<div class="buttons mt-6 flex gap-4">
44-
<button type="button" class="btn" onclick="history.back()">
45-
<i class="bi bi-arrow-left"></i>
46-
<p class="ml-2">Zurück</p>
44+
<button type="button" class="btn">
45+
<a class="flex items-center" onclick="history.back()">
46+
<i class="bi bi-arrow-left"></i>
47+
<p class="ml-2">Zurück</p>
48+
</a>
4749
</button>
4850
@if (activity?.website) {
4951
<button type="button" class="btn">

src/app/services/airtable.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export class AirtableService {
7373
number: record.fields['number'] as string,
7474
zip: record.fields['zip'] as string,
7575
city: record.fields['city'] as string,
76+
country: record.fields['country'] as string,
7677
latitude: record.fields['latitude'] as number,
7778
longitude: record.fields['longitude'] as number,
7879
website: record.fields['website'] as string,

src/app/types/activity.interface.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export interface Activity {
99
number?: string;
1010
zip: string;
1111
city: string;
12+
country: string;
1213
latitude: number;
1314
longitude: number;
1415
website?: string;

src/app/types/interest.interface.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)