diff --git a/src/App.js b/src/App.js index 18a26ce..daea67e 100644 --- a/src/App.js +++ b/src/App.js @@ -1,23 +1,21 @@ import React, {useState} from "react"; -import {Bluelib, Main} from "bluelib/lib/components"; +import {BaseLink, Bluelib, Main, Title} from "bluelib/lib/components" import {Switch, Route} from "react-router-dom"; import Home from "./routes/Home"; import Error404 from "./routes/Error404"; import Gestinfo from "./routes/Gestinfo"; import style from "./App.module.css"; -import MainTitle from "./components/MainTitle"; import Footer from "./components/Footer"; import Fisica from "./routes/Fisica" export default function App() { const [skin, setSkin] = useState("rygblue"); - const [subtitle, setSubtitle] = useState(null); return ( - + <BaseLink href={"/"}>Unisteffo</BaseLink>
diff --git a/src/components/MainTitle.js b/src/components/MainTitle.js deleted file mode 100644 index 1ab8dff..0000000 --- a/src/components/MainTitle.js +++ /dev/null @@ -1,17 +0,0 @@ -import React from "react"; -import {BaseLink, Title} from "bluelib/lib/components"; -import PropTypes from "prop-types"; - - -export default function MainTitle() { - return ( -
- <BaseLink href={"/"}>Unisteffo</BaseLink> -
- ) -} - - -MainTitle.propTypes = { - subtitle: PropTypes.node -}