diff --git a/public/OurCode-icon.png b/public/OurCode-icon.png new file mode 100644 index 0000000..8284a53 Binary files /dev/null and b/public/OurCode-icon.png differ diff --git a/src/actions.js b/src/actions.js index 420f913..f874ac0 100644 --- a/src/actions.js +++ b/src/actions.js @@ -136,19 +136,6 @@ export const updateFilePath = (filePath) => { }; -/* - nav-bar navigation - */ - - -export const clickedOnForward = () => { - return {type: reduxStoreActions.action_click_forward}; -}; - -export const clickedOnBack = () => { - return {type: reduxStoreActions.action_click_back}; -}; - /* RulePad */ diff --git a/src/index.css b/src/index.css index a0df80e..0837a6d 100644 --- a/src/index.css +++ b/src/index.css @@ -305,10 +305,22 @@ body { justify-content: center; } +/*-- Nav bar --*/ + .navbar { margin-bottom: 0; } +.navbar-brand { + display: flex; + align-items: center; +} + +.navbar-icon { + width: 40px; + height: 40px; +} + /*!*** rule Generator GUI ***!*/ .guiBoundingBox { diff --git a/src/ui/navBar.js b/src/ui/navBar.js index 25cd178..212652d 100644 --- a/src/ui/navBar.js +++ b/src/ui/navBar.js @@ -5,19 +5,23 @@ import React, {Component} from "react"; import "../App.css"; -import {FaArrowLeft, FaArrowRight} from "react-icons/fa"; import {Nav, Navbar, NavItem} from "react-bootstrap"; import {connect} from "react-redux"; -import {clickedOnBack, clickedOnForward} from "../actions"; import {hashConst} from "./uiConstants"; import {featureConfig} from "../config"; export class NavBar extends Component { render() { return ( - - + + + + + Logo + + + +