diff --git a/components/Navigation/Navigation.module.scss b/components/Navigation/Navigation.module.scss index c233eb8..97c0f82 100644 --- a/components/Navigation/Navigation.module.scss +++ b/components/Navigation/Navigation.module.scss @@ -34,3 +34,18 @@ transform: scale(1.1); } } + +.mobile { + display: none; +} +@media screen and (max-width: 800px) { + .nav { + min-height: 3rem; + } + .desktop { + display: none; + } + .mobile { + display: inherit; + } +} diff --git a/components/Navigation/Navigation.tsx b/components/Navigation/Navigation.tsx index e3f514c..7310c4b 100644 --- a/components/Navigation/Navigation.tsx +++ b/components/Navigation/Navigation.tsx @@ -2,34 +2,39 @@ import styles from "./Navigation.module.scss"; import GractwoLogo from "../logo"; import Link from "next/link"; +import config from "../../data/config.json"; + const PageNavigation = () => { let username: string = ""; return ( <>