From d45959adfa9918395b095327fd4a8c67671f3881 Mon Sep 17 00:00:00 2001 From: Eray C Date: Mon, 1 Nov 2021 15:47:55 +0100 Subject: [PATCH] feat: Add a Navbar to all views --- src/App.jsx | 8 ++++---- src/components/Navbar.jsx | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 src/components/Navbar.jsx diff --git a/src/App.jsx b/src/App.jsx index a76ca64..bcc2377 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -2,7 +2,7 @@ import * as React from "react"; import "./index.css"; // Components -import { Loading } from "./components/Loading"; +// import { Loading } from "./components/Loading"; import { Navbar } from "./components/Navbar"; // Views @@ -47,9 +47,9 @@ class App extends React.Component { return (
- {/* */} - {/* */} - + + + {/* */} {/* */} {/* */}
diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx new file mode 100644 index 0000000..7d05259 --- /dev/null +++ b/src/components/Navbar.jsx @@ -0,0 +1,14 @@ +import * as React from "react"; + +import "../index.css"; +import logo_colored from "../assets/logo_colored.png"; + +export class Navbar extends React.Component { + render() { + return ( +
+ magic_kebab_logo +
+ ); + } +}