-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 70897e7
Showing
30 changed files
with
46,566 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# See https://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
/dist | ||
/.next | ||
|
||
# misc | ||
.DS_Store | ||
.env | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
are scooters in new york yet? | ||
@hipcityreg | ||
@mikedemarais |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import NextHead from 'next/head' | ||
import { string } from 'prop-types' | ||
|
||
const defaultDescription = '' | ||
const defaultOGURL = '' | ||
const defaultOGImage = '' | ||
|
||
const Head = (props) => ( | ||
<div> | ||
<NextHead> | ||
<meta charSet="UTF-8" /> | ||
<title>{props.title || ''}</title> | ||
<meta name="description" content={props.description || defaultDescription} /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<link rel="icon" href="/static/favicon.ico" /> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/normalize.css" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css" /> | ||
<meta property="og:url" content={props.url || defaultOGURL} /> | ||
<meta property="og:title" content={props.title || ''} /> | ||
<meta property="og:description" content={props.description || defaultDescription} /> | ||
<meta name="twitter:site" content={props.url || defaultOGURL} /> | ||
<meta name="twitter:card" content="summary_large_image" /> | ||
<meta name="twitter:image" content={props.ogImage || defaultOGImage} /> | ||
<meta property="og:image" content={props.ogImage || defaultOGImage} /> | ||
<meta property="og:image:width" content="1200" /> | ||
<meta property="og:image:height" content="630" /> | ||
</NextHead> | ||
<style jsx global>{` | ||
*, *:before, *:after { | ||
box-sizing: inherit; | ||
} | ||
html { | ||
box-sizing: border-box; | ||
} | ||
html, body { | ||
height: 100%; | ||
margin: 0; | ||
padding: 0; | ||
width: 100%; | ||
} | ||
`}</style> | ||
</div> | ||
) | ||
|
||
Head.propTypes = { | ||
title: string, | ||
description: string, | ||
url: string, | ||
ogImage: string | ||
} | ||
|
||
export default Head |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { Fragment } from 'react'; | ||
|
||
export default () => ( | ||
<Fragment> | ||
<h1 className="title"> | ||
<span className="scooter"> | ||
<a className="link" href="//instagram.com/p/BlZRT8TnzNG">🛴</a> | ||
</span> | ||
<span> | ||
<a className="link" href="//instagram.com/p/BlBm5qHF0Gd">🗽</a> | ||
<a className="link" href="//instagram.com/p/BkZCX6sBYjn">❓</a> | ||
</span> | ||
</h1> | ||
|
||
<style jsx>{` | ||
.link { | ||
text-decoration: none; | ||
} | ||
.scooter { | ||
font-size: 84px; | ||
} | ||
.title { | ||
font-size: 96px; | ||
line-height: 1.15; | ||
} | ||
`}</style> | ||
</Fragment> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module.exports = { | ||
assetPrefix: process.env.NODE_ENV === 'production' ? '/are-scooters-in-new-york' : '', | ||
webpack: (config) => { | ||
// Fixes npm packages that depend on `fs` module | ||
config.node = { | ||
fs: 'empty' | ||
} | ||
|
||
return config | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html><html><head><meta charSet="utf-8" class="next-head next-head"/><meta name="viewport" content="width=device-width, initial-scale=1.0" class="next-head"/><title class="next-head">: An unexpected error has occurred</title><link rel="preload" href="/are-scooters-in-new-york/_next/d125a84a-48b1-4842-8eab-9ef88ba368ce/page/_app.js" as="script"/><link rel="preload" href="/are-scooters-in-new-york/_next/d125a84a-48b1-4842-8eab-9ef88ba368ce/page/_error.js" as="script"/><link rel="preload" href="/are-scooters-in-new-york/_next/static/commons/main-e11ff24791eec3ef6089.js" as="script"/></head><body><div id="__next"><div style="color:#000;background:#fff;font-family:-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body { margin: 0 }</style><div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle"><h2 style="font-size:14px;font-weight:normal;line-height:inherit;margin:0;padding:0">An unexpected error has occurred<!-- -->.</h2></div></div></div></div><div id="__next-error"></div><script> | ||
__NEXT_DATA__ = {"props":{"pageProps":{}},"page":"/_error","pathname":"/_error","query":{},"buildId":"d125a84a-48b1-4842-8eab-9ef88ba368ce","assetPrefix":"/are-scooters-in-new-york","nextExport":true,"err":null,"chunks":[]} | ||
module={} | ||
__NEXT_LOADED_PAGES__ = [] | ||
__NEXT_LOADED_CHUNKS__ = [] | ||
|
||
__NEXT_REGISTER_PAGE = function (route, fn) { | ||
__NEXT_LOADED_PAGES__.push({ route: route, fn: fn }) | ||
} | ||
|
||
__NEXT_REGISTER_CHUNK = function (chunkName, fn) { | ||
__NEXT_LOADED_CHUNKS__.push({ chunkName: chunkName, fn: fn }) | ||
} | ||
|
||
false | ||
</script><script async="" id="__NEXT_PAGE__/_app" src="/are-scooters-in-new-york/_next/d125a84a-48b1-4842-8eab-9ef88ba368ce/page/_app.js"></script><script async="" id="__NEXT_PAGE__/_error" src="/are-scooters-in-new-york/_next/d125a84a-48b1-4842-8eab-9ef88ba368ce/page/_error.js"></script><script src="/are-scooters-in-new-york/_next/static/commons/main-e11ff24791eec3ef6089.js" async=""></script></body></html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
out/_next/d125a84a-48b1-4842-8eab-9ef88ba368ce/page/_app.js.map
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.