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

@@ -1,5 +1,26 @@
import React from "react";
import React, { Component } from "react";
import isToday from "date-fns/is_today";
const Year = () => <div>Year</div>;
import Seek from "../../Seek";
class Year extends Component {
render() {
const {
match: {
params: { year }
}
} = this.props;
return (
<div>
<Seek
title={year}
prev={"Asdf"}
next={"asdf"}
disableNext={isToday(new Date())}
/>
</div>
);
}
}
export default Year;