Commit 1215db86 authored by Federico's avatar Federico
Browse files

Add about button in navbar

parent 427b0691
Pipeline #905 failed with stage
......@@ -6,6 +6,8 @@ import logo from '../../logo.svg';
import Query from './Query';
import { useDispatch } from 'react-redux';
import { openAboutModal } from '../about/aboutSlice';
import Button from "react-bootstrap/Button";
import Form from "react-bootstrap/Form";
export default function CNavbar() {
const dispatch = useDispatch();
......@@ -14,14 +16,18 @@ export default function CNavbar() {
<Navbar fixed="top" bg="light" expand="lg">
<Navbar.Brand href="#home" onClick={() => dispatch(openAboutModal())}>
<img alt="" src={logo} width="35" height="35" className="d-inline-block align-bottom" />{' '}
<img alt="" src={logo} width="30" height="30" className="d-inline-block align-top" />{' '}
&nbsp; Mímir // A Visual Browser for the Federal Archives
<Navbar.Toggle aria-controls="basic-navbar-nav" />
<Navbar.Collapse id="basic-navbar-nav">
<Nav className="mr-auto">{/*<Nav.Link href="#home">Home</Nav.Link>*/}</Nav>
<Query />
<Button className="ml-sm-2" variant="link" onClick={() => dispatch(openAboutModal())}>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment