import classNames from "classnames" import Style from "./App.module.css" import Layout from "./components/Layout" import ContextTheme from "./contexts/ContextTheme" import { BrowserRouter } from "react-router-dom" import { Route, Switch } from "react-router" import PageHome from "./routes/PageHome" import PageRepositories from "./routes/PageRepositories" import PageAlerts from "./routes/PageAlerts" import PageSettings from "./routes/PageSettings" import PageSandbox from "./routes/PageSandbox" import useSavedTheme from "./hooks/useSavedTheme" /** * The main component of the webapp, the root of the render tree, what is displayed when the web page is visited. * * @returns {JSX.Element} * @constructor */ export default function App() { const [theme, setAndSaveTheme] = useSavedTheme(); return (
) }