blob: 6ea02c96c1bd3e1722664d82296f53e583ff086f [file] [log] [blame]
pineafan54a1e552021-09-03 17:51:18 +01001import React, { Component } from "react";
pineafane0283a82022-02-13 10:05:56 +00002import Styles from '../styles/Components/navbar.module.css';
Skyler Turner16c08d32021-11-04 20:06:50 +00003import ThemeChangeButton from './ThemeChangeButton';
pineafandf39fd42021-09-04 16:05:27 +01004
pineafanff3d4522022-05-06 19:51:02 +01005class Divider extends Component {
6 render() {
7 return (
8 <>
9 <div className={Styles.divider}></div>
10 </>
11 )
12 }
13}
pineafana5ce9102021-09-02 17:21:31 +010014
15class NavBar extends Component {
pineafanaa9c4fd2022-06-10 19:58:10 +010016 constructor(props) {
17 super(props);
18 }
pineafan54a1e552021-09-03 17:51:18 +010019
pineafanaa9c4fd2022-06-10 19:58:10 +010020 render() {
21 return (
pineafan7bd0ad62022-10-26 22:11:29 +010022 <div className={Styles.cutoffContainer}>
pineafanb18f0192022-10-27 22:08:36 +010023 <div className={Styles.container + " " + (this.props.subBar ? Styles.slideUp : null)}>
Skyler Turner899f8ff2022-05-07 15:12:20 +010024 <a href="#skipNav" className={Styles.skipNav}>Skip navigation</a>
pineafan3b0852d2022-05-06 20:39:59 +010025 <a className={Styles.icon} href="/"><img alt="Clicks" className={Styles.icon} src="https://assets.clicks.codes/web/logos/clicks.svg" /></a>
pineafanff3d4522022-05-06 19:51:02 +010026 <Divider />
Skyler Greyd4f3b732022-10-07 13:24:16 +010027 <a className={Styles.icon} href="/gps"><img alt="GPS" className={Styles.icon} src="https://assets.clicks.codes/bots/gps/circle.svg" /></a>
pineafan3b0852d2022-05-06 20:39:59 +010028 <a className={Styles.icon} href="/rsm"><img alt="RSM" className={Styles.icon} src="https://assets.clicks.codes/bots/rsm/circle.svg" /></a>
29 {/* <a className={Styles.icon} href="/nucleus#"><img alt="Nucleus" className={Styles.icon} src="https://assets.clicks.codes/bots/nucleus/circle.svg" /></a> */}
30 <a className={Styles.icon} href="/clicksforms"><img alt="ClicksForms" className={Styles.icon} src="https://assets.clicks.codes/bots/clicksforms/circle.svg" /></a>
pineafan3b0852d2022-05-06 20:39:59 +010031 <a className={Styles.icon} href="/hooky"><img alt="Hooky" className={Styles.icon} src="https://assets.clicks.codes/bots/hooky/circle.svg" /></a>
pineafanff3d4522022-05-06 19:51:02 +010032 <Divider />
33 <ThemeChangeButton/>
pineafana5ce9102021-09-02 17:21:31 +010034 </div>
pineafanb18f0192022-10-27 22:08:36 +010035 <div className={Styles.container + " " + (this.props.subBar ? Styles.slideUp : null)}>{this.props.element}</div>
pineafan7bd0ad62022-10-26 22:11:29 +010036 </div>
pineafanaa9c4fd2022-06-10 19:58:10 +010037 )
38 }
pineafana5ce9102021-09-02 17:21:31 +010039}
40
Skyler Turner899f8ff2022-05-07 15:12:20 +010041export default NavBar;