From e6dad1976a63a63af52c2bc5c9c568086028705d Mon Sep 17 00:00:00 2001 From: Nikhil M Warrier Date: Tue, 3 Mar 2026 09:19:21 +0530 Subject: Update homepage and fonts --- src/pages/index.astro | 63 +++++++++++++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 30 deletions(-) (limited to 'src/pages') diff --git a/src/pages/index.astro b/src/pages/index.astro index 9549a7c..c884146 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -6,7 +6,7 @@ import PageHead from '@/components/PageHead.astro' import { buttonVariants } from '@/components/ui/button' import { SITE } from '@/consts' import Layout from '@/layouts/Layout.astro' -import { getRecentPosts, getRecentEvents } from '@/lib/data-utils' +import { getRecentEvents, getRecentPosts } from '@/lib/data-utils' const blog = await getRecentPosts(SITE.featuredPostCount) const events = await getRecentEvents(SITE.featuredEventsCount) @@ -16,55 +16,58 @@ const events = await getRecentEvents(SITE.featuredEventsCount)
-

er·u·dite

-

- /ˈer(y)əˌdīt/ • adjective +

+ Software belongs to the people. +

+

+ We are a community of hackers, builders, and privacy advocates dedicated + to Free and Open Source Software.

-

Latest events

+

Events

    { - events.map((event) => ( -
  • - -
  • - )) + events.map((event) => ( +
  • + +
  • + )) }
- See all posts → + href="/events" + class={buttonVariants({ variant: 'ghost' }) + ' group'} + > + See all posts →
-

Latest posts

+

Blog posts

    { - blog.map((post) => ( -
  • - -
  • - )) + blog.map((post) => ( +
  • + +
  • + )) }
- See all posts → + href="/blog" + class={buttonVariants({ variant: 'ghost' }) + ' group'} + > + See all posts →
-- cgit v1.2.3