diff --git a/public/night-sky.webp b/public/night-sky.webp index dd3a39f..8550338 100644 Binary files a/public/night-sky.webp and b/public/night-sky.webp differ diff --git a/src/App.js b/src/App.js index 5b0a128..290cae4 100644 --- a/src/App.js +++ b/src/App.js @@ -4,16 +4,18 @@ import Viewport from './components/Viewport'; import InfoCard from "./components/InfoCard"; import SolarSystem from "./components/SolarSystem"; import LoadingScreen from "./components/LoadingScreen"; -import { useState } from "react"; +import { useState, useEffect } from "react"; import "./index.css"; function App() { const [appLoaded, setAppLoaded] = useState(false); - + + useEffect(() => { setTimeout(() => { setAppLoaded(true); }, 3000); + }, []); if (!appLoaded) { return (