Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add show all button #109

Merged
merged 2 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions src/app/components/for-you-page/for-you-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ <h1 class="text-center mt-2 text-2xl font-bold">Für dich vorgeschlagene Aktivit
<app-activity-card [activity]="activity"></app-activity-card>
}
</div>
<div class="flex justify-center items-center mt-2 mb-2">
<button type="button" class="btn btn-margin" (click)="doReshuffle()">
<i class="bi bi-shuffle"></i>
<div class="flex flex-row justify-center items-center mt-2 mb-2">
<button type="button" class="btn btn-margin flex flex-row" routerLink="/search-result">
<i class="bi bi-search mr-2"></i>
Alle anzeigen
</button>
<button type="button" class="btn btn-margin flex flex-row" (click)="doReshuffle()">
<i class="bi bi-shuffle mr-2"></i>
Neue Vorschläge
</button>
</div>
Expand Down
5 changes: 3 additions & 2 deletions src/app/components/for-you-page/for-you-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Loading