diff --git a/src/App.js b/src/App.js index da07e7f..addf8a0 100644 --- a/src/App.js +++ b/src/App.js @@ -1,7 +1,6 @@ import React from 'react'; import { ChakraProvider, Box, theme } from '@chakra-ui/react'; -import Footer from './Components/Footer'; -import Events from './Components/Events/events'; +import Events from './Pages/events'; import './App.css'; import HomePage from './Pages/HomePage'; import './App.css'; diff --git a/src/Components/Events/events.js b/src/Pages/events.jsx similarity index 91% rename from src/Components/Events/events.js rename to src/Pages/events.jsx index 562cd36..06da911 100644 --- a/src/Components/Events/events.js +++ b/src/Pages/events.jsx @@ -8,19 +8,19 @@ import { Flex, Text, } from '@chakra-ui/react'; -import bgimage from './bgimage.png'; -import jellyfish from './jellyfish.svg'; -import horsewheel from './horsewheel.svg'; -import spartanhelmet from './spartanhelmet.svg'; -import helmet_animated from './helmet_animated.svg'; -import swords from './sword.png'; -import sword_animated from './swordhover.png'; -import box from './boxclosed.png'; -import box_animated from './boxopen.png'; -import seaweed from './seaweed.svg'; -import trans from '../../assets/1024px-HD_transparent_picture.png'; +import bgimage from '../assets/bgimage.png'; +import jellyfish from '../assets/jellyfish.svg'; +import horsewheel from '../assets/horsewheel.svg'; +import spartanhelmet from '../assets/spartanhelmet.svg'; +import helmet_animated from '../assets/helmet_animated.svg'; +import swords from '../assets/sword.png'; +import sword_animated from '../assets/swordhover.png'; +import box from '../assets/boxclosed.png'; +import box_animated from '../assets/boxopen.png'; +import seaweed from '../assets/seaweed.svg'; +import trans from '../assets/1024px-HD_transparent_picture.png'; -function Events() { +export default function Events() { const [isHoveringSword, setIsHoveringSword] = useState(false); const [isHoveringBox, setIsHoveringBox] = useState(false); const [isHoveringHelmet, setIsHoveringHelmet] = useState(false); @@ -244,4 +244,3 @@ function Events() { ); } -export default Events; diff --git a/src/Components/Events/Checking_Boxes__8_Box_Words-removebg-preview 1.png b/src/assets/Checking_Boxes__8_Box_Words-removebg-preview 1.png similarity index 100% rename from src/Components/Events/Checking_Boxes__8_Box_Words-removebg-preview 1.png rename to src/assets/Checking_Boxes__8_Box_Words-removebg-preview 1.png diff --git a/src/Components/Events/bgimage.png b/src/assets/bgimage.png similarity index 100% rename from src/Components/Events/bgimage.png rename to src/assets/bgimage.png diff --git a/src/Components/Events/box.png b/src/assets/box.png similarity index 100% rename from src/Components/Events/box.png rename to src/assets/box.png diff --git a/src/Components/Events/box.svg b/src/assets/box.svg similarity index 100% rename from src/Components/Events/box.svg rename to src/assets/box.svg diff --git a/src/Components/Events/box2.svg b/src/assets/box2.svg similarity index 100% rename from src/Components/Events/box2.svg rename to src/assets/box2.svg diff --git a/src/Components/Events/boxclosed.png b/src/assets/boxclosed.png similarity index 100% rename from src/Components/Events/boxclosed.png rename to src/assets/boxclosed.png diff --git a/src/Components/Events/boxopen.png b/src/assets/boxopen.png similarity index 100% rename from src/Components/Events/boxopen.png rename to src/assets/boxopen.png diff --git a/src/Components/Events/gateway.svg b/src/assets/gateway.svg similarity index 100% rename from src/Components/Events/gateway.svg rename to src/assets/gateway.svg diff --git a/src/Components/Events/helmet_animated.svg b/src/assets/helmet_animated.svg similarity index 100% rename from src/Components/Events/helmet_animated.svg rename to src/assets/helmet_animated.svg diff --git a/src/Components/Events/horsewheel.svg b/src/assets/horsewheel.svg similarity index 100% rename from src/Components/Events/horsewheel.svg rename to src/assets/horsewheel.svg diff --git a/src/Components/Events/jellyfish.svg b/src/assets/jellyfish.svg similarity index 100% rename from src/Components/Events/jellyfish.svg rename to src/assets/jellyfish.svg diff --git a/src/Components/Events/oldmask.svg b/src/assets/oldmask.svg similarity index 100% rename from src/Components/Events/oldmask.svg rename to src/assets/oldmask.svg diff --git a/src/Components/Events/rock21.svg b/src/assets/rock21.svg similarity index 100% rename from src/Components/Events/rock21.svg rename to src/assets/rock21.svg diff --git a/src/Components/Events/seaweed.svg b/src/assets/seaweed.svg similarity index 100% rename from src/Components/Events/seaweed.svg rename to src/assets/seaweed.svg diff --git a/src/Components/Events/spartanhelmet.svg b/src/assets/spartanhelmet.svg similarity index 100% rename from src/Components/Events/spartanhelmet.svg rename to src/assets/spartanhelmet.svg diff --git a/src/Components/Events/sword.png b/src/assets/sword.png similarity index 100% rename from src/Components/Events/sword.png rename to src/assets/sword.png diff --git a/src/Components/Events/sword.svg b/src/assets/sword.svg similarity index 100% rename from src/Components/Events/sword.svg rename to src/assets/sword.svg diff --git a/src/Components/Events/sword_animated.svg b/src/assets/sword_animated.svg similarity index 100% rename from src/Components/Events/sword_animated.svg rename to src/assets/sword_animated.svg diff --git a/src/Components/Events/swordhover.png b/src/assets/swordhover.png similarity index 100% rename from src/Components/Events/swordhover.png rename to src/assets/swordhover.png