aboutsummaryrefslogtreecommitdiff
path: root/src/components/Header.js
blob: cd217fc41078bc4d5c58afc7bf1f335dc1c435df (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
33
34
35
import React from "react";
import {
  AppBar,
  Tabs,
  Tab,
  Typography
} from "@material-ui/core";
import styled from 'styled-components';

const Header = () => (
  <AppBar position="static">
    <TabsWrapper>
      <Typography variant="h4" id="logo"> ChronoCube </Typography>
      <Tab label="Home" />
      <Tab label="App" />
      <Tab label="Scoreboard" />
      <Tab label="News" />
    </TabsWrapper>
  </AppBar>
);

const TabsWrapper = styled(Tabs)`
  border-bottom: 1px solid black;
  & .MuiTab-wrapper {
    padding: 10px;
  }
  & .MuiTypography-root {
    font-weight: bold;
    padding: 10px;
    margin-right: 50px;
    margin-left: 30px;
  }
`;

export default Header;