From fe7b96840e345f921649a97c9d0172ce164c00b6 Mon Sep 17 00:00:00 2001 From: RafaeloxMC <53903394+RafaeloxMC@users.noreply.github.com> Date: Fri, 2 Aug 2024 13:23:07 +0200 Subject: [PATCH 1/2] Add show all button --- src/app/components/for-you-page/for-you-page.component.html | 3 ++- src/app/components/for-you-page/for-you-page.component.ts | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/components/for-you-page/for-you-page.component.html b/src/app/components/for-you-page/for-you-page.component.html index c5bd0e0..659daf4 100644 --- a/src/app/components/for-you-page/for-you-page.component.html +++ b/src/app/components/for-you-page/for-you-page.component.html @@ -7,11 +7,12 @@

Für dich vorgeschlagene Aktivit } -
+
+
} @else {
diff --git a/src/app/components/for-you-page/for-you-page.component.ts b/src/app/components/for-you-page/for-you-page.component.ts index f78eca3..548394e 100644 --- a/src/app/components/for-you-page/for-you-page.component.ts +++ b/src/app/components/for-you-page/for-you-page.component.ts @@ -3,14 +3,15 @@ import { Activity } from '../../types/activity.interface'; import { AirtableService } from '../../services/airtable.service'; import { ActivityCardComponent } from '../activity-card/activity-card.component'; import { NgIf } from '@angular/common'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; @Component({ selector: 'app-for-you-page', standalone: true, imports: [ ActivityCardComponent, - NgIf + NgIf, + RouterLink ], templateUrl: './for-you-page.component.html', styleUrl: './for-you-page.component.scss' From 066b0b3f2c2ef5b7487583035c87efd3b6621ffe Mon Sep 17 00:00:00 2001 From: RafaeloxMC <53903394+RafaeloxMC@users.noreply.github.com> Date: Fri, 2 Aug 2024 13:25:46 +0200 Subject: [PATCH 2/2] Update for-you-page.component.html --- .../for-you-page/for-you-page.component.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/app/components/for-you-page/for-you-page.component.html b/src/app/components/for-you-page/for-you-page.component.html index 659daf4..8d00b40 100644 --- a/src/app/components/for-you-page/for-you-page.component.html +++ b/src/app/components/for-you-page/for-you-page.component.html @@ -7,12 +7,15 @@

Für dich vorgeschlagene Aktivit }

-
- + -
} @else {