File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ export const routeMeta = {
19
19
@Component ( {
20
20
imports : [ CommunityCard , FormsModule ] ,
21
21
template : `
22
- <section class="max-w-screen-xl mx-auto px-6 lg:px-0 ">
22
+ <section class="max-w-screen-xl mx-auto px-6">
23
23
<input
24
24
class="w-full p-2 rounded-lg border-2 border-gray-300"
25
25
type="search"
26
26
placeholder="Search communities"
27
27
[(ngModel)]="search"
28
28
/>
29
- <ul class="grid grid-cols-1 lg :grid-cols-3 gap-6 mt-6">
29
+ <ul class="grid grid-cols-1 md:grid-cols-2 xl :grid-cols-3 gap-6 mt-6">
30
30
@for (community of filteredCommunities(); track community) {
31
31
<li>
32
32
<app-community-card class="h-full" [community]="community" />
Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ export const routeMeta = {
43
43
44
44
@Component ( {
45
45
template : `
46
- <section class="max-w-screen-xl w-full mx-auto px-6 lg:px-0 ">
46
+ <section class="max-w-screen-xl w-full mx-auto px-6">
47
47
<input
48
48
class="w-full p-2 rounded-lg border-2 border-gray-300"
49
49
type="search"
50
50
placeholder="Search events"
51
51
[(ngModel)]="search"
52
52
/>
53
- <ul class="grid grid-cols-1 lg :grid-cols-3 gap-6 mt-6">
53
+ <ul class="grid grid-cols-1 md:grid-cols-2 xl :grid-cols-3 gap-6 mt-6">
54
54
@for (event of filteredEvents(); track event) {
55
55
<li>
56
56
<app-event-card [event]="event" />
@@ -59,9 +59,7 @@ export const routeMeta = {
59
59
</ul>
60
60
61
61
<!-- Show message when search has no results -->
62
- @if (
63
- search().length && !filteredEvents().length && events().length > 0
64
- ) {
62
+ @if (search().length && !filteredEvents().length && events().length > 0) {
65
63
<app-empty-search-message
66
64
[title]="'No events found'"
67
65
[description]="
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ export const routeMeta = {
22
22
@Component ( {
23
23
imports : [ PodcastCard , FormsModule ] ,
24
24
template : `
25
- <section class="max-w-screen-xl w-full mx-auto px-6 lg:px-0 ">
26
- <ul class="grid grid-cols-1 lg :grid-cols-3 gap-6 mt-6">
25
+ <section class="max-w-screen-xl w-full mx-auto px-6">
26
+ <ul class="grid grid-cols-1 md:grid-cols-2 xl :grid-cols-3 gap-6 mt-6">
27
27
@for (podcast of podcasts(); track podcast.name) {
28
28
<li>
29
29
<app-podcast-card [podcast]="podcast" />
You can’t perform that action at this time.
0 commit comments