From ca33b0f33c7010817f7d27a0427e6c0bb25a852d Mon Sep 17 00:00:00 2001 From: Nikhil M Warrier Date: Sun, 15 Mar 2026 19:01:37 +0530 Subject: Update footer --- src/pages/index.astro | 97 +++++++++++++++++++++++++++------------------------ 1 file changed, 51 insertions(+), 46 deletions(-) (limited to 'src/pages/index.astro') diff --git a/src/pages/index.astro b/src/pages/index.astro index 1e5d956..8b526f7 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -48,50 +48,55 @@ const events = await getRecentEvents(SITE.featuredEventsCount)

-
-

Events

- -
- - See all posts → - -
-
-
-

Blog posts

- -
- - See all posts → - -
-
+ { + events.length > 0 && ( +
+

Events

+ +
+ + See all events + + → + + +
+
+ ) + } + + { + blog.length > 0 && ( +
+

Blog posts

+ +
+ + See all posts{' '} + + → + + +
+
+ ) + } -- cgit v1.2.3