aboutsummaryrefslogtreecommitdiff
path: root/src/components/Header.js
blob: 4eceb6d6ed027923aa06aa09b38a9d91a5d0440a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import React from "react";
import { Tab, Tabs, Typography } from "@material-ui/core";
import styled from 'styled-components';

const Header = () => (
  <HeaderWrapper>
    <Tabs>
      <Typography variant="h4" id="logo"> ChronoCube </Typography>
      <Tab label="Home" />
      <Tab label="App" />
      <Tab label="Scoreboard" />
      <Tab label="News" />
    </Tabs>
  </HeaderWrapper>

);

const HeaderWrapper = styled.div`
  border-bottom: 1px solid black;
  background-color: darkgrey;
  & .MuiTab-wrapper {
    padding: 10px;
  }
  & .MuiTypography-root {
    font-weight: bold;
    padding: 10px;
    margin-right: 50px;
    margin-left: 30px;
  }
`;

export default Header;