From 30e4f547c22975a0a03530f72ef2127a17a79ce7 Mon Sep 17 00:00:00 2001 From: Kata Date: Tue, 19 Mar 2019 21:46:54 -0500 Subject: [PATCH] remove next boilerplate code --- ui/components/head.js | 44 -------------------------------- ui/components/nav.js | 59 ------------------------------------------- 2 files changed, 103 deletions(-) delete mode 100644 ui/components/head.js delete mode 100644 ui/components/nav.js diff --git a/ui/components/head.js b/ui/components/head.js deleted file mode 100644 index e70c183..0000000 --- a/ui/components/head.js +++ /dev/null @@ -1,44 +0,0 @@ -import React from 'react' -import NextHead from 'next/head' -import { string } from 'prop-types' - -const defaultDescription = '' -const defaultOGURL = '' -const defaultOGImage = '' - -const Head = props => ( - - - {props.title || ''} - - - - - - - - - - - - - - - - -) - -Head.propTypes = { - title: string, - description: string, - url: string, - ogImage: string -} - -export default Head diff --git a/ui/components/nav.js b/ui/components/nav.js deleted file mode 100644 index 6d125a0..0000000 --- a/ui/components/nav.js +++ /dev/null @@ -1,59 +0,0 @@ -import React from 'react' -import Link from 'next/link' - -const links = [ - { href: 'https://github.com/segmentio/create-next-app', label: 'Github' } -].map(link => { - link.key = `nav-link-${link.href}-${link.label}` - return link -}) - -const Nav = () => ( - -) - -export default Nav