From cc029a52f944f7d3cb5015a4534a4f93050bc9ea Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 13 Aug 2021 17:57:22 +0200 Subject: [PATCH 1/2] Make the number of events fit the page on Explore Close #826 Signed-off-by: Thomas Citharel --- js/src/views/Search.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/views/Search.vue b/js/src/views/Search.vue index 5dda05424..5f2eb36e8 100644 --- a/js/src/views/Search.vue +++ b/js/src/views/Search.vue @@ -212,9 +212,9 @@ interface ISearchTimeOption { end?: Date | null; } -const EVENT_PAGE_LIMIT = 10; +const EVENT_PAGE_LIMIT = 12; -const GROUP_PAGE_LIMIT = 10; +const GROUP_PAGE_LIMIT = 12; const DEFAULT_RADIUS = 25; // value to set if radius is null but location set From 23b8da2085f6250ca66f3f07d2f385a15358a881 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 13 Aug 2021 18:04:37 +0200 Subject: [PATCH 2/2] Add link from homepage last published events section to search page Signed-off-by: Thomas Citharel --- js/src/views/Home.vue | 44 ++++++++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/js/src/views/Home.vue b/js/src/views/Home.vue index 3aca6994d..00f54da48 100644 --- a/js/src/views/Home.vue +++ b/js/src/views/Home.vue @@ -62,14 +62,21 @@

-
-
- +
+
+
+ +
+ + {{ $t("View everything") }} >> +
{{ $t("No events found") @@ -308,14 +315,21 @@

-
-
- +
+
+
+ +
+ + {{ $t("View everything") }} >> +
{{ $t("No events found") }}
@@ -635,7 +649,7 @@ main > div > .container { } .columns { - margin: 1rem auto 3rem; + margin: 1rem auto 0; } }