From e88454553087986c39e993d246dd9e91ffa66c2d Mon Sep 17 00:00:00 2001 From: zepp Date: Thu, 20 Feb 2025 00:08:58 -0500 Subject: [PATCH] create news about emma array with news items use js to map the array and add list items for each news item --- src/pages/index.astro | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index de53c62..fc480d7 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -8,6 +8,12 @@ const backgroundColor = "#ffd4de"; const backgroundColorNightMode = "#240046"; const textColorNightMode = "#f1dac4"; const linkColorNightMode = "#4cc9f0"; + +const emmaNews = [ + `01-16-2025 - i'm focusing on studying and trying to get used to the idea of pursuing interests because i can. i wrote a blog post today about how hard the concept is to me`, + `01-23-2025 - i'm working on moving my blog to blog.emmas.place it is hosted on weblog.lol, a part of the omg.lol service`, + `02-20-2025 - i've been spending time learning how to use astro instead of handcoding my site. with time there will be a lot here. i like the way content is managed in astro` +]; --- @@ -56,15 +62,7 @@ const linkColorNightMode = "#4cc9f0";

news about emma