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 | fd93e6e | 2022-05-06 20:30:09 +0100 | [diff] [blame^] | 4 | import Link from 'next/link' |
pineafan | df39fd4 | 2021-09-04 16:05:27 +0100 | [diff] [blame] | 5 | |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 6 | class Divider extends Component { |
| 7 | render() { |
| 8 | return ( |
| 9 | <> |
| 10 | <div className={Styles.divider}></div> |
| 11 | </> |
| 12 | ) |
| 13 | } |
| 14 | } |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 15 | |
| 16 | class NavBar extends Component { |
| 17 | constructor(props) { |
| 18 | super(props); |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 19 | } |
pineafan | 54a1e55 | 2021-09-03 17:51:18 +0100 | [diff] [blame] | 20 | |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 21 | render() { |
| 22 | return ( |
| 23 | <> |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 24 | <div className={Styles.container}> |
pineafan | fd93e6e | 2022-05-06 20:30:09 +0100 | [diff] [blame^] | 25 | <Link href="#skipNav" className={Styles.skipNav}><a>Skip navigation</a></Link> |
| 26 | <Link className={Styles.icon} href="/"><img alt="Clicks" className={Styles.icon} src="https://assets.clicks.codes/web/logos/clicks.svg" /></Link> |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 27 | <Divider /> |
pineafan | fd93e6e | 2022-05-06 20:30:09 +0100 | [diff] [blame^] | 28 | <Link className={Styles.icon} href="/rsm"><img alt="RSM" className={Styles.icon} src="https://assets.clicks.codes/bots/rsm/circle.svg" /></Link> |
| 29 | {/* <Link className={Styles.icon} href="/nucleus#"><img alt="Nucleus" className={Styles.icon} src="https://assets.clicks.codes/bots/nucleus/circle.svg" /></Link> */} |
| 30 | <Link className={Styles.icon} href="/clicksforms"><img alt="ClicksForms" className={Styles.icon} src="https://assets.clicks.codes/bots/clicksforms/circle.svg" /></Link> |
| 31 | <Link className={Styles.icon} href="/gps"><img alt="GPS" className={Styles.icon} src="https://assets.clicks.codes/bots/gps/circle.svg" /></Link> |
| 32 | <Link className={Styles.icon} href="/hooky"><img alt="Hooky" className={Styles.icon} src="https://assets.clicks.codes/bots/hooky/circle.svg" /></Link> |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 33 | <Divider /> |
| 34 | <ThemeChangeButton/> |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 35 | </div> |
| 36 | </> |
| 37 | ) |
| 38 | } |
| 39 | } |
| 40 | |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 41 | export default NavBar; |