From 97be0afd140c7c9e1fd03ba5ab4e486d90907129 Mon Sep 17 00:00:00 2001
From: Wolfboy248 <georgejvindkarlsen@gmail.com>
Date: Tue, 19 Aug 2025 13:23:56 +0200
Subject: organised pages, started work on theme

---
 frontend/src/pages/Rules.tsx | 37 -------------------------------------
 1 file changed, 37 deletions(-)
 delete mode 100644 frontend/src/pages/Rules.tsx

(limited to 'frontend/src/pages/Rules.tsx')

diff --git a/frontend/src/pages/Rules.tsx b/frontend/src/pages/Rules.tsx
deleted file mode 100644
index 9c7885c..0000000
--- a/frontend/src/pages/Rules.tsx
+++ /dev/null
@@ -1,37 +0,0 @@
-import React from "react";
-import ReactMarkdown from "react-markdown";
-import { Helmet } from "react-helmet";
-
-const Rules: React.FC = () => {
-  const [rulesText, setRulesText] = React.useState<string>("");
-
-  React.useEffect(() => {
-    const fetchRules = async () => {
-      try {
-        const response = await fetch(
-          "https://raw.githubusercontent.com/pektezol/lphub/main/RULES.md"
-        );
-        if (!response.ok) {
-          throw new Error("Failed to fetch README");
-        }
-        const rulesText = await response.text();
-        setRulesText(rulesText);
-      } catch (error) {
-        console.error("Error fetching Rules:", error);
-      }
-      // setRulesText(rulesText)
-    };
-    fetchRules();
-  }, []);
-
-  return (
-    <main className="ml-16 p-8 text-foreground font-[--font-barlow-semicondensed-regular] prose prose-invert max-w-none">
-      <Helmet>
-        <title>LPHUB | Rules</title>
-      </Helmet>
-      <ReactMarkdown>{rulesText}</ReactMarkdown>
-    </main>
-  );
-};
-
-export default Rules;
-- 
cgit v1.2.3

