From 19fc6861e567ac8ca56476152edf11d1abb15661 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Thu, 2 Oct 2025 22:09:33 -0700
Subject: frontend: add link to generated RSS feeds

---
 site/src/pages/Homepage.tsx | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

(limited to 'site/src/pages/Homepage.tsx')

diff --git a/site/src/pages/Homepage.tsx b/site/src/pages/Homepage.tsx
index 74cca3b..2f35280 100644
--- a/site/src/pages/Homepage.tsx
+++ b/site/src/pages/Homepage.tsx
@@ -14,6 +14,7 @@ export default function Home() {
   const { gameId } = useParams<{ gameId?: string }>();
   const [searchParams] = useSearchParams();
   const isMoe = searchParams.has("moe");
+  const rssFeedUrl = import.meta.env.VITE_NEWS_BASE_URL + "/" +gameId + "_news.xml";
   const newsAPIBase = import.meta.env.VITE_NEWS_BASE_URL
 
   const [newsFeedData, setNewsFeedData] = useState<ArcadeNewsAPIData | null>(
@@ -119,12 +120,24 @@ export default function Home() {
               {GameNotes(isMoe)[gameId] && (
                 <div className="text-left">{GameNotes(isMoe)[gameId]}</div>
               )}
+              <div className="mt-2">
+                <a href={rssFeedUrl} className="text-blue-400 hover:underline">
+                  Subscribe via RSS
+                </a>
+              </div>
             </div>
           ) : (
             <div
               className={`${isMoe ? "bg-pink-200 text-pink-900" : "bg-gray-800 text-white"} rounded-lg p-6 text-center shadow-lg`}
             >
               <h1 className="text-2xl font-bold">Welcome to 573-UPDATES</h1>
+              <h2
+                className={`text-2xl font-extrabold mb-4 tracking-widest text-center uppercase glow-neon ${
+                  isMoe ? "text-pink-500" : "text-[#00FF00]"
+                }`}
+              >
+                SECOND STYLE
+              </h2>
               <div className="floating">
                 <img
                   src="/liris.webp"
@@ -135,6 +148,9 @@ export default function Home() {
                 News and Information for various arcade games is aggregated
                 here!
               </p>
+              <p className="mt-2">
+                RSS feeds are available on each game's individual page
+              </p>
               <p className="mt-2">
                 Please see the{" "}
                 <a
-- 
cgit v1.2.3

