diff --git a/src/App.css b/src/App.css index 74b5e05..6e66d4f 100644 --- a/src/App.css +++ b/src/App.css @@ -36,3 +36,24 @@ transform: rotate(360deg); } } + +.dropdown-button { + background-color: #61dafb; + color: black; + padding: 10px 20px; + margin: 10px; + border: none; + border-radius: 5px; + font-weight: bold; + cursor: pointer; + transition: background-color 0.2s ease; +} + +.dropdown-button:hover { + background-color: #4bb0e5; +} + +.dropdown { + margin-top: 10px; + text-align: left; +} diff --git a/src/App.js b/src/App.js index 501a597..701004c 100644 --- a/src/App.js +++ b/src/App.js @@ -1,20 +1,64 @@ -import logo from "./logo.svg"; +import React, { useState, useEffect } from "react"; import "./App.css"; function App() { + const [loading, setLoading] = useState(true); + const [showJobs, setShowJobs] = useState(false); + const [showGrades, setShowGrades] = useState(false); + + useEffect(() => { + const timeout = setTimeout(() => setLoading(false), 1000); // preload effect + return () => clearTimeout(timeout); + }, []); + + if (loading) { + return ( +
Josh Patra's Portfolio
- - Learn React - +Computer Science Student at [Your University]
+GPA: 3.87
+