chore: constants file, styling, and seek component

This commit is contained in:
Kyle Gill
2019-03-27 16:55:23 -06:00
parent f71fb0bb52
commit 043acd30cf
10 changed files with 103 additions and 9 deletions

View File

@@ -2,6 +2,8 @@ import React from "react";
import { Link } from "react-router-dom";
import styled from "@emotion/styled";
import { todayUrl, yearUrl, urls } from "../../utils/date";
import SignOut from "../SignOut";
import { withAuthentication } from "../session";
@@ -37,6 +39,8 @@ const Navbar = ({ authUser }) => (
<NavIcons>
{authUser ? (
<React.Fragment>
<Link to={yearUrl()}>Year</Link>
<Link to={todayUrl()}>Today</Link>
<Link to={"/user"}>Account</Link>
<SignOut />
</React.Fragment>