diff --git a/frontend/src/components/AnimatedRoute.jsx b/frontend/src/components/AnimatedRoute.jsx
deleted file mode 100644
index 5a11edb1..00000000
--- a/frontend/src/components/AnimatedRoute.jsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from "react";
-import {Routes, Route} from 'react-router-dom';
-import Home from "../pages/Home.jsx";
-import PlayButton from "../pages/PlayButton.js";
-import Field from "../pages/Field";
-import Login42 from "../pages/Login42.js";
-import Messages from "../pages/Messages.jsx";
-import { useLocation } from "react-router-dom";
-import {AnimatePresence} from "framer-motion";
-
-function AnimatedRoute () {
- const location = useLocation();
- return (
-
-
- }/>
- }/>
- }/>
- }/>
- }/>
-
-
- )
-}
-
-export default AnimatedRoute
\ No newline at end of file
diff --git a/frontend/src/components/App.jsx b/frontend/src/components/App.jsx
index 2458e2e3..5a11edb1 100644
--- a/frontend/src/components/App.jsx
+++ b/frontend/src/components/App.jsx
@@ -1,6 +1,6 @@
import React from "react";
import {Routes, Route} from 'react-router-dom';
-import Home from "../pages/Home.js";
+import Home from "../pages/Home.jsx";
import PlayButton from "../pages/PlayButton.js";
import Field from "../pages/Field";
import Login42 from "../pages/Login42.js";
diff --git a/frontend/src/components/Win_Loss.jsx b/frontend/src/components/Win_Loss.jsx
index 65436f9a..89349668 100644
--- a/frontend/src/components/Win_Loss.jsx
+++ b/frontend/src/components/Win_Loss.jsx
@@ -10,14 +10,14 @@ const CardWrapper = styled.div`
display: flex;
flex-direction: column;
padding: 15px;
- background-color: black;
+ // background-color: black;
// border-radius: 30px;
// width: 350px;
// transition: 200ms;
- margin-top: 50px;
- &:hover {
- cursor: pointer;
- box-shadow: 2px 2px 10px #b6b6b6;
+ // margin-top: 50px;
+ // &:hover {
+ // cursor: pointer;
+ // box-shadow: 2px 2px 10px #b6b6b6;
}
`
diff --git a/frontend/src/index.js b/frontend/src/index.js
index 33bbe09a..51ae5e7f 100644
--- a/frontend/src/index.js
+++ b/frontend/src/index.js
@@ -13,7 +13,7 @@ import Head from './pages/Head';
import reportWebVitals from './reportWebVitals';
// import Messages from './pages/Messages';
import { BrowserRouter } from 'react-router-dom';
-import AnimatedRoute from './components/AnimatedRoute';
+import AnimatedRoute from './components/App';
import './styles/App.css'
const root = ReactDOM.createRoot(document.getElementById('root'));
diff --git a/frontend/src/pages/Home.jsx b/frontend/src/pages/Home.jsx
index 74357c06..8224bbc9 100644
--- a/frontend/src/pages/Home.jsx
+++ b/frontend/src/pages/Home.jsx
@@ -1,31 +1,43 @@
-import React from "react";
+import { React, useState } from "react";
import '../styles/Profile.css'
import '../styles/App.css'
import DefaultPicture from "../assets/profile.jpg";
-// import WinLoss from "../components/Win_Loss";
+import WinLoss from "../components/Win_Loss";
import { motion } from 'framer-motion'
// import {AiOutlineHistory} from 'react-icons/ai'
-import { Link } from "react-router-dom";
-import UserProfile from "../DataBase/DataProfileUser";
+// import { Link } from "react-router-dom";
+// import UserProfile from "../DataBase/DataProfileUser";
+function Profile () {
+ return (
+
+

+
Dipper Ratman
+
+ )
+}
+
function Home () {
- let name = UserProfile.UserName
+ const [move, setmove ] = useState(false);
return (
-
-

-
Dipper Ratman
-
-
+
+
+
)
diff --git a/frontend/src/styles/App.css b/frontend/src/styles/App.css
index a41169e4..3b9cd18f 100644
--- a/frontend/src/styles/App.css
+++ b/frontend/src/styles/App.css
@@ -1,5 +1,6 @@
.App {
text-align: center;
+ /* height: 100vh; */
background-color: black;
}
diff --git a/frontend/src/styles/Profile.css b/frontend/src/styles/Profile.css
index e9a41091..ea271b00 100644
--- a/frontend/src/styles/Profile.css
+++ b/frontend/src/styles/Profile.css
@@ -1,6 +1,5 @@
.profile {
flex-direction: row;
- height: 100vh;
color: white;
}
@@ -15,12 +14,22 @@
margin-top: 20px;
}
+.home{
+ /* margin-top: -100px; */
+ display: block;
+ /* flex-direction: column; */
+ /* background-color: black; */
+ text-align: center;
+
+}
.history{
+ display: inline-block;
color: white;
background-color: #5843e4;
border-radius: 4px;
- padding: 8px 8px 8px 8px;
+ margin: 10px;
+ /* padding: 8px 8px 8px 8px; */
font-size: 30px;
text-decoration: none;
}