From b04689353ff2e9daca2c9fb2ab8cd5a0b7309f93 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 17 Jul 2023 17:26:18 -0400 Subject: New page; Post now sorts by dates --- app/page.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'app/page.js') diff --git a/app/page.js b/app/page.js index ec05d34..60f5965 100644 --- a/app/page.js +++ b/app/page.js @@ -1,8 +1,16 @@ +import getPostMetadata from "@/components/updates/getPostMetadata"; +import PostPreview from "@/components/updates/PostPreview"; +import Link from "next/link"; + export const metadata = { title: 'Home - Government of Alure Regions', description: 'The official website of the Government of Alure Regions', } export default function Home() { + const postMetadata = getPostMetadata(); + const postPreviews = postMetadata.slice(0,3).map((post) => ( + + )); return (
@@ -51,10 +59,12 @@ export default function Home() {

About Alure Regions

-

Founded in July 2023, the goal of Alure Regions is to have more freedom on our regions.

-

Originally Alee Isle Regions then formed to become Southeastern Islands and then split from it.

-

We strife on trying to become stronger and better, as small regions.

+

Alure Regions was founded in July 2023 with the goal of achieving greater autonomy in our regions.

+

Originally known as Alee Isle Regions, we later became Southeastern Islands before branching out on our own.

+

We are committed to continuous improvement and growth as small regions.

Latest Updates

+
{postPreviews}
+

View more

) -- cgit v1.2.3