Skip to content

Commit 0b2bf19

Browse files
committed
feat: update community and podcast cards to utilize dynamic descriptions and clean up unused text
1 parent 7c7c441 commit 0b2bf19

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

src/app/components/cards/community-card.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ import { Community } from '../../../models/community.model';
2020
</div>
2121
</div>
2222
</header>
23-
<p class="text-sm">
24-
Europe's premier Angular conference with world-class speakers
25-
</p>
23+
<p class="text-sm"></p>
2624
<ul class="flex flex-col gap-2 flex-1">
2725
@if (community().eventsUrl) {
2826
<li>

src/app/components/cards/podcast-card.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ import { Podcast } from '../../../models/podcast.model';
3636
</div>
3737
3838
<p class="text-sm leading-relaxed flex-1">
39-
A weekly podcast dedicated to the Angular JavaScript framework and
40-
related technologies.
39+
{{ podcast().description }}
4140
</p>
4241
4342
<a

src/models/podcast.model.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ export type Podcast = {
33
url: string;
44
logo: string;
55
language: string;
6-
}
6+
description: string;
7+
};

0 commit comments

Comments
 (0)