diff --git a/web/src/App.tsx b/web/src/App.tsx index 7d84f1d..89a1d62 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -10,6 +10,7 @@ import SyncPage from "./pages/SyncPage"; import AuthPage from "./pages/AuthPage"; import FullError from "./comps/FullError"; import {vars} from "./api/api"; +import Footer from "./comps/Footer"; function App() { @@ -43,28 +44,7 @@ function App() {
- +
diff --git a/web/src/comps/Footer.tsx b/web/src/comps/Footer.tsx new file mode 100644 index 0000000..9179f25 --- /dev/null +++ b/web/src/comps/Footer.tsx @@ -0,0 +1,44 @@ +import React from "react"; +import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"; +import {faCodeBranch, faTree, faXmarkCircle} from "@fortawesome/free-solid-svg-icons"; +import GithubLogo from "../assets/githublogo.svg"; + +export default function Footer(): React.ReactElement { + + const commit_hash = process.env.REACT_APP_COMMIT_HASH || "dev"; + + return +} \ No newline at end of file diff --git a/web/src/comps/TopBar.tsx b/web/src/comps/TopBar.tsx index a54945a..27925ec 100644 --- a/web/src/comps/TopBar.tsx +++ b/web/src/comps/TopBar.tsx @@ -12,8 +12,7 @@ import {getSyncStatus} from "../api/global.api"; function NavElement(props: { text: string, icon: any, link: string }) { const navigate = useNavigate(); const is_active = window.location.pathname.startsWith(props.link); - const commit_hash = process.env.REACT_APP_COMMIT_HASH || "dev"; - console.log(commit_hash) + return (
- ,