Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified src/assets/favicon.ico
Binary file not shown.
Binary file removed src/assets/images/nusight.jpg
Binary file not shown.
35 changes: 35 additions & 0 deletions src/client/components/navigation/icons/nusight.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 0 additions & 12 deletions src/client/components/navigation/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@
background-color: #0a2938;
}

.header__title {
display: flex;
justify-content: center;
align-items: center;
margin: 0;
background-color: #fff;
height: 60px;
font-size: 1.2rem;
color: #1197d3;
font-weight: 500;
}

.header__list {
list-style-type: none;
margin: 0;
Expand Down
4 changes: 3 additions & 1 deletion src/client/components/navigation/view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import CubeIcon from './icons/cube.svg'
import EyeIcon from './icons/eye.svg'
import MapIcon from './icons/map.svg'
import NUClearIcon from './icons/nuclear.svg'
import NUsightIcon from './icons/nusight.svg'
import OrderingIcon from './icons/ordering.svg'
import ScatterIcon from './icons/scatter.svg'
import SpeedometerIcon from './icons/speedometer.svg'
Expand All @@ -29,7 +30,8 @@ const NavigationItemView = ({ exact = false, url, Icon, children = undefined }:

export const NavigationView = () => (
<header className={style.header}>
<h1 className={style.header__title}>NUsight</h1>
<NUsightIcon width={60} height={60}/>

<ul className={style.header__list}>
<NavigationItemView exact url='/' Icon={SpeedometerIcon}>Dashboard</NavigationItemView>
<NavigationItemView url='/localisation' Icon={MapIcon}>Localisation</NavigationItemView>
Expand Down