From 6492ed547bfa6f2ea9f79e309c6a4fbf9f7806b9 Mon Sep 17 00:00:00 2001 From: Odin Ugedal Date: Tue, 4 Sep 2018 17:30:58 +0200 Subject: [PATCH] Fix header --- components/Frontpage/WelcomeScreen.js | 1 - components/Header/index.js | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/components/Frontpage/WelcomeScreen.js b/components/Frontpage/WelcomeScreen.js index 0eb7a25b..378b4b5a 100644 --- a/components/Frontpage/WelcomeScreen.js +++ b/components/Frontpage/WelcomeScreen.js @@ -3,7 +3,6 @@ import React from 'react'; import { createFragmentContainer, graphql } from 'react-relay'; import { type WelcomeScreen_currentMetaData } from './__generated__/WelcomeScreen_currentMetaData.graphql'; import Countdown from '../Countdown'; -import { itdageneBlue } from '../../utils/colors'; import Link from 'next/link'; import Flex, { FlexItem } from 'styled-flex-component'; import styled from 'styled-components'; diff --git a/components/Header/index.js b/components/Header/index.js index 85aa149d..f44e67b1 100644 --- a/components/Header/index.js +++ b/components/Header/index.js @@ -34,7 +34,7 @@ const StyledMenuItem = styled('span')` const items = [ { key: 'home', name: 'HJEM', to: '/' }, { key: 'about-us', name: 'OM itDAGENE', to: '/om-itdagene' }, - { key: 'program', name: 'PROGRAM', to: '/info?side=program' }, + { key: 'program', name: 'PROGRAM', to: '/program' }, { key: 'joblistings', name: 'JOBBANNONSER', to: '/jobbannonser' } ]; @@ -58,20 +58,20 @@ type State = { }; export const OnOther = styled('div')` - @media only screen and (max-width: 767px) { + @media only screen and (max-width: 991px) { display: none; } `; export const OnMobile = styled('div')` display: none; - @media only screen and (max-width: 767px) { + @media only screen and (max-width: 991px) { display: block; } `; const ItdageneLogo = styled('img')` height: 60px; - @media only screen and (max-width: 767px) { + @media only screen and (max-width: 991px) { height: 35px; } `;