pineafan | 54a1e55 | 2021-09-03 17:51:18 +0100 | [diff] [blame] | 1 | import React, { Component } from "react"; |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 2 | import Styles from '../styles/Components/navbar.module.css'; |
Skyler Turner | 16c08d3 | 2021-11-04 20:06:50 +0000 | [diff] [blame] | 3 | import ThemeChangeButton from './ThemeChangeButton'; |
pineafan | df39fd4 | 2021-09-04 16:05:27 +0100 | [diff] [blame] | 4 | |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 5 | class Divider extends Component { |
| 6 | render() { |
| 7 | return ( |
| 8 | <> |
| 9 | <div className={Styles.divider}></div> |
| 10 | </> |
| 11 | ) |
| 12 | } |
| 13 | } |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 14 | |
| 15 | class NavBar extends Component { |
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 16 | constructor(props) { |
| 17 | super(props); |
| 18 | } |
pineafan | 54a1e55 | 2021-09-03 17:51:18 +0100 | [diff] [blame] | 19 | |
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 20 | render() { |
| 21 | return ( |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 22 | <> |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 23 | <div className={Styles.container}> |
Skyler Turner | 899f8ff | 2022-05-07 15:12:20 +0100 | [diff] [blame] | 24 | <a href="#skipNav" className={Styles.skipNav}>Skip navigation</a> |
pineafan | 3b0852d | 2022-05-06 20:39:59 +0100 | [diff] [blame] | 25 | <a className={Styles.icon} href="/"><img alt="Clicks" className={Styles.icon} src="https://assets.clicks.codes/web/logos/clicks.svg" /></a> |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 26 | <Divider /> |
Skyler Grey | d4f3b73 | 2022-10-07 13:24:16 +0100 | [diff] [blame^] | 27 | <a className={Styles.icon} href="/gps"><img alt="GPS" className={Styles.icon} src="https://assets.clicks.codes/bots/gps/circle.svg" /></a> |
pineafan | 3b0852d | 2022-05-06 20:39:59 +0100 | [diff] [blame] | 28 | <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> |
pineafan | 3b0852d | 2022-05-06 20:39:59 +0100 | [diff] [blame] | 31 | <a className={Styles.icon} href="/hooky"><img alt="Hooky" className={Styles.icon} src="https://assets.clicks.codes/bots/hooky/circle.svg" /></a> |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 32 | <Divider /> |
| 33 | <ThemeChangeButton/> |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 34 | </div> |
| 35 | </> |
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 36 | ) |
| 37 | } |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 38 | } |
| 39 | |
Skyler Turner | 899f8ff | 2022-05-07 15:12:20 +0100 | [diff] [blame] | 40 | export default NavBar; |