import React from "react" import navStyles from "./nav.module.css" import { Link } from "gatsby" let pages = [ ["home", "/", navStyles.desktopOnly], ["zeiten & location", "treff", ""], ["events", "events", ""], ["über uns", "about", ""], ["kontakt", "kontakt", ""], ["verein", "verein", ""], ["supporte uns", "support", ""], ] export default ({ path }) => { // nav items should always be active in the staticly generated html const isSSR = typeof window === "undefined" const activeClasses = link => isSSR && path === "/" + link ? " " + navStyles.navItemActive : "" return ( <>
{/* todo: fix image links in prod by using the gatsby component */} CTDO-Logo Chaostreff Dortmund
) }