From 69aeb7889ac136a8e4fbe7de1330298e30345479 Mon Sep 17 00:00:00 2001
From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>
Date: Wed, 22 Oct 2025 13:59:12 +0400
Subject: feat/frontend: switch to vite, update node to v22 (#281)

---
 frontend/src/pages/About.tsx | 60 ++++++++++++++++++++++----------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

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

diff --git a/frontend/src/pages/About.tsx b/frontend/src/pages/About.tsx
index a8b7826..e4abdf4 100644
--- a/frontend/src/pages/About.tsx
+++ b/frontend/src/pages/About.tsx
@@ -1,40 +1,40 @@
-import React from 'react';
-import ReactMarkdown from 'react-markdown';
-import { Helmet } from 'react-helmet';
+import React from "react";
+import ReactMarkdown from "react-markdown";
+import { Helmet } from "react-helmet";
 
-import '@css/About.css';
+import "@css/About.css";
 
 const About: React.FC = () => {
 
-    const [aboutText, setAboutText] = React.useState<string>("");
+  const [aboutText, setAboutText] = React.useState<string>("");
 
-    React.useEffect(() => {
-        const fetchReadme = async () => {
-            try {
-                const response = await fetch(
-                    'https://raw.githubusercontent.com/pektezol/lphub/main/README.md'
-                );
-                if (!response.ok) {
-                    throw new Error('Failed to fetch README');
-                }
-                const readmeText = await response.text();
-                setAboutText(readmeText);
-            } catch (error) {
-                console.error('Error fetching README:', error);
-            }
-        };
-        fetchReadme();
-    }, []);
+  React.useEffect(() => {
+    const fetchReadme = async () => {
+      try {
+        const response = await fetch(
+          "https://raw.githubusercontent.com/pektezol/lphub/main/README.md"
+        );
+        if (!response.ok) {
+          throw new Error("Failed to fetch README");
+        }
+        const readmeText = await response.text();
+        setAboutText(readmeText);
+      } catch (error) {
+        console.error("Error fetching README:", error);
+      }
+    };
+    fetchReadme();
+  }, []);
 
 
-    return (
-        <div id="about">
-            <Helmet>
-                <title>LPHUB | About</title>
-            </Helmet>
-            <ReactMarkdown>{aboutText}</ReactMarkdown>
-        </div>
-    );
+  return (
+    <div id="about">
+      <Helmet>
+        <title>LPHUB | About</title>
+      </Helmet>
+      <ReactMarkdown>{aboutText}</ReactMarkdown>
+    </div>
+  );
 };
 
 export default About;
-- 
cgit v1.2.3

