diff --git a/src/App.js b/src/App.js
index f01f0c413..b590e3ca2 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,8 +1,4 @@
/* eslint-disable */
-
-import styled from 'styled-components';
-import { useState } from 'react';
-import { Link, useNavigate } from 'react-router-dom';
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import Blog from './Pages/blog';
import BSE from './Pages/BSE';
@@ -10,43 +6,19 @@ import SYJ from './Pages/SYJ';
import JY from './Pages/jy';
import KNH from './Pages/KNH';
import KSJ from './Pages/ksj';
-import Welcome from '/Welcome';
-
-const MainWrap = styled.div`
- position: absolute;
- width: 100%;
- height: 25rem;
- align-items: center;
- flex-direction: column;
- display: flex;
- text-align: center;
- background-color: darkblue;
-`;
+import Welcome from './Welcome';
-const Title = styled.div`
- color: darkorange;
- width: 100%;
- font-size: 8rem;
-`;
-const Name = styled.div`
- display: flex;
- font-weight: bold;
- font-size: 1.5rem;
- position: relative;
- bottom: 12rem;
- font-family: 'Raleway', sans-serif;
-`;
function App() {
return (
} />
} />
- } />
- } />
- } />
- } />
- } />
+ } />
+ } />
+ } />
+ } />
+ } />
);
diff --git a/src/Welcome.js b/src/Welcome.js
index adae8ac91..610c6c695 100644
--- a/src/Welcome.js
+++ b/src/Welcome.js
@@ -33,24 +33,58 @@ const Name = styled.div`
bottom: 12rem;
font-family: 'Raleway', sans-serif;
`;
+const Names = styled.div`
+ padding: 5rem;
+`;
function Welcome() {
+ let navigate = useNavigate();
+
return (
-
- {
- // modal == true?
: null
- }
FRM-Team
- BSE
- KSJ
- LJY
- KNH
- SYJ
+ {
+ navigate('/BSE');
+ }}
+ >
+ {' '}
+ BSE
+
+ {
+ navigate('/SYJ');
+ }}
+ >
+ SYJ
+
+ {
+ navigate('/KSJ');
+ }}
+ >
+ KSJ
+
+ {
+ navigate('/KNH');
+ }}
+ >
+ KNH
+
+ {
+ navigate('/LJY');
+ }}
+ >
+ LJY
+
+
+
diff --git a/src/index.js b/src/index.js
index d563c0fb1..7a6abde66 100644
--- a/src/index.js
+++ b/src/index.js
@@ -3,11 +3,14 @@ import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
+import { BrowserRouter } from 'react-router-dom';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
-
+
+
+
);