Skip to content

Commit

Permalink
Merge branch 'main' into fix/address
Browse files Browse the repository at this point in the history
  • Loading branch information
not-Dystro authored Aug 1, 2024
2 parents 98946be + 3f6e7fd commit 86023cb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
12 changes: 7 additions & 5 deletions src/app/components/detail/detail.component.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<div class="text p-4 bg-gray-100 rounded-lg shadow-md">
<div class="headline text-2xl font-bold text-gray-800">
{{ activity?.name }}
{{ activity?.name }} | {{ activity?.type?.name }}
</div>
<div class="adresse mt-2 text-gray-600">
<p>
@if(activity?.number && activity?.street) {
<span>{{activity?.street}} {{activity?.number}}</span>,
}
{{activity?.zip}} {{activity?.city}}</p>
{{activity?.zip}} {{activity?.city}} {{activity?.country}}</p>
</div>
@if (activity?.age_restriction) {
<div class="minimal-age mt-2 text-red-500">
Expand Down Expand Up @@ -41,9 +41,11 @@
</div>
}
<div class="buttons mt-6 flex gap-4">
<button type="button" class="btn" onclick="history.back()">
<i class="bi bi-arrow-left"></i>
<p class="ml-2">Zurück</p>
<button type="button" class="btn">
<a class="flex items-center" onclick="history.back()">
<i class="bi bi-arrow-left"></i>
<p class="ml-2">Zurück</p>
</a>
</button>
@if (activity?.website) {
<button type="button" class="btn">
Expand Down
1 change: 1 addition & 0 deletions src/app/services/airtable.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export class AirtableService {
number: record.fields['number'] as string,
zip: record.fields['zip'] as string,
city: record.fields['city'] as string,
country: record.fields['country'] as string,
latitude: record.fields['latitude'] as number,
longitude: record.fields['longitude'] as number,
website: record.fields['website'] as string,
Expand Down
1 change: 1 addition & 0 deletions src/app/types/activity.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export interface Activity {
number?: string;
zip: string;
city: string;
country: string;
latitude: number;
longitude: number;
website?: string;
Expand Down
4 changes: 0 additions & 4 deletions src/app/types/interest.interface.ts

This file was deleted.

0 comments on commit 86023cb

Please sign in to comment.