Skip to content

Commit

Permalink
Merge pull request #109 from Sybit-Education/feat/show-all-button
Browse files Browse the repository at this point in the history
Add show all button
  • Loading branch information
AlexanderKugler authored Aug 2, 2024
2 parents 1023913 + 066b0b3 commit 86e3598
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
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

0 comments on commit 86e3598

Please sign in to comment.