From e5281296d3238c7f26210317e67c0c2a4a9d3a22 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 22 Feb 2025 15:47:03 -0500 Subject: Added a news section; Added columns --- src/pages/index.astro | 47 +++++++++++++++++++++++++++++++++++------------ 1 file changed, 35 insertions(+), 12 deletions(-) (limited to 'src/pages') diff --git a/src/pages/index.astro b/src/pages/index.astro index e633ba9..5d0b858 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,9 +1,8 @@ --- import Layout from '../layouts/Layout.astro'; import sites from '../components/sites.json'; +import news from '../components/news.json'; -// Welcome to Astro! Wondering what to do next? Check out the Astro documentation at https://docs.astro.build -// Don't want to use any of this? Delete everything in this file, the `assets`, `components`, and `layouts` directories, and start fresh. --- @@ -11,17 +10,30 @@ import sites from '../components/sites.json';

Welcome to bits & Bytes Minecraft!

IP: bnbmc.net

Must be an active member of the bits & Bytes Discord to join. -
- {sites.map((site) => ( - - ))} +
+
+ {sites.map((site) => ( + + ))} +
+
+

News

+ {news.map((article) => ( +

{article.title}

+

{article.content}

+ ))} +
-- cgit v1.2.3