merge
This commit is contained in:
commit
b1b63cfdc6
10
README.md
10
README.md
|
@ -1,10 +0,0 @@
|
||||||
# ETHPrize
|
|
||||||
ETH single page React website
|
|
||||||
|
|
||||||
## Setting up
|
|
||||||
- `git clone git@github.com:Nona-Creative/ETHPrize.git`
|
|
||||||
- `npm install`
|
|
||||||
|
|
||||||
`npm run dev` runs the site at `localhost:3000`
|
|
||||||
|
|
||||||
`npm run deploy` to deploy to `https://nona-creative.github.io/ETHPrize`
|
|
|
@ -0,0 +1 @@
|
||||||
|
module.exports=__NEXT_REGISTER_PAGE("/_app",function(){var e=webpackJsonp([1],{194:function(e,t,r){e.exports=r(195)},195:function(e,t,r){e.exports=r(196)},196:function(e,t,r){e.exports=r(197)},197:function(e,t,r){"use strict";var n=r(21);var a=r(4);Object.defineProperty(t,"__esModule",{value:true});t.createUrl=k;t.Container=t.default=void 0;var u=a(r(40));var o=a(r(42));var l=a(r(198));var i=a(r(36));var c=a(r(31));var p=a(r(9));var f=a(r(10));var s=a(r(32));var d=a(r(33));var v=n(r(13));var h=a(r(44));var y=a(r(95));var m=r(20);var b=r(67);var _=function(e){(0,d.default)(t,e);function t(){(0,p.default)(this,t);return(0,s.default)(this,(t.__proto__||(0,c.default)(t)).apply(this,arguments))}(0,f.default)(t,[{key:"getChildContext",value:function e(){var t=this.props.headManager;return{headManager:t,router:(0,b.makePublicRouterInstance)(this.props.router),_containerProps:(0,i.default)({},this.props)}}},{key:"componentDidCatch",value:function e(t,r){t.info=r;true;window.next.renderError({err:t})}},{key:"render",value:function e(){var t=this.props,r=t.router,n=t.Component,a=t.pageProps;var u=k(r);return v.default.createElement(g,null,v.default.createElement(n,(0,l.default)({},a,{url:u})))}}],[{key:"getInitialProps",value:function(){var e=(0,o.default)(u.default.mark(function e(t){var r,n,a,o;return u.default.wrap(function e(u){while(1)switch(u.prev=u.next){case 0:r=t.Component,n=t.router,a=t.ctx;u.next=3;return(0,m.loadGetInitialProps)(r,a);case 3:o=u.sent;return u.abrupt("return",{pageProps:o});case 5:case"end":return u.stop()}},e,this)}));return function t(r){return e.apply(this,arguments)}}()}]);return t}(v.Component);t.default=_;Object.defineProperty(_,"displayName",{configurable:true,enumerable:true,writable:true,value:"App"});Object.defineProperty(_,"childContextTypes",{configurable:true,enumerable:true,writable:true,value:{_containerProps:h.default.any,headManager:h.default.object,router:h.default.object}});var g=function(e){(0,d.default)(t,e);function t(){(0,p.default)(this,t);return(0,s.default)(this,(t.__proto__||(0,c.default)(t)).apply(this,arguments))}(0,f.default)(t,[{key:"componentDidMount",value:function e(){this.scrollToHash()}},{key:"componentDidUpdate",value:function e(){this.scrollToHash()}},{key:"scrollToHash",value:function e(){var t=this.props.hash;if(!t)return;var r=document.getElementById(t);if(!r)return;setTimeout(function(){return r.scrollIntoView()},0)}},{key:"shouldComponentUpdate",value:function e(t){return!(0,y.default)(this.props,t)}},{key:"render",value:function e(){var t=this.props.children;return v.default.createElement(v.default.Fragment,null,t)}}]);return t}(v.Component);t.Container=g;Object.defineProperty(g,"contextTypes",{configurable:true,enumerable:true,writable:true,value:{_containerProps:h.default.any}});var P=(0,m.execOnce)(function(){false});function k(e){var t=e.pathname,r=e.asPath,n=e.query;return{get query(){P();return n},get pathname(){P();return t},get asPath(){P();return r},back:function t(){P();e.back()},push:function t(r,n){P();return e.push(r,n)},pushTo:function t(r,n){P();var a=n?r:null;var u=n||r;return e.push(a,u)},replace:function t(r,n){P();return e.replace(r,n)},replaceTo:function t(r,n){P();var a=n?r:null;var u=n||r;return e.replace(a,u)}}}},198:function(e,t,r){var n=r(69);function a(){e.exports=a=n||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};return a.apply(this,arguments)}e.exports=a}},[194]);return{page:e.default}});
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
module.exports=__NEXT_REGISTER_PAGE("/",function(){var n=webpackJsonp([2],{191:function(n,e,t){n.exports=t(192)},192:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:true});var r=t(13);var a=t.n(r);var o=t(193);var u=t.n(o);e["default"]=function(){return a.a.createElement("div",{className:"home page-wrapper"},a.a.createElement("h1",null,a.a.createElement("strong",null,"ETHPrize website")," ",a.a.createElement("br",null),"coming soon!"))}},216:function(n,e){n.exports=function(n){var e=[];e.toString=function e(){return this.map(function(e){var r=t(e,n);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")};e.i=function(n,t){"string"===typeof n&&(n=[[null,n,""]]);var r={};for(var a=0;a<this.length;a++){var o=this[a][0];"number"===typeof o&&(r[o]=true)}for(a=0;a<n.length;a++){var u=n[a];if("number"!==typeof u[0]||!r[u[0]]){t&&!u[2]?u[2]=t:t&&(u[2]="("+u[2]+") and ("+t+")");e.push(u)}}};return e};function t(n,e){var t=n[1]||"";var a=n[3];if(!a)return t;if(e&&"function"===typeof btoa){var o=r(a);var u=a.sources.map(function(n){return"/*# sourceURL="+a.sourceRoot+n+" */"});return[t].concat(u).concat([o]).join("\n")}return[t].join("\n")}function r(n){var e=btoa(unescape(encodeURIComponent(JSON.stringify(n))));var t="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+t+" */"}}},[191]);return{page:n.default}});
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:proxima_nova_regular;src:url("/static/fonts/proxima_nova-regular-webfont.eot");src:url("/static/fonts/proxima_nova-regular-webfont.eot?#iefix") format("embedded-opentype"),url("/static/fonts/proxima_nova-regular-webfont.woff2") format("woff2"),url("/static/fonts/proxima_nova-regular-webfont.woff") format("woff"),url("/static/fonts/proxima_nova-regular-webfont.ttf") format("truetype"),url("/static/fonts/proxima_nova-regular-webfont.svg#proxima_nova_rgregular") format("svg");font-weight:400;font-style:normal}*,:after,:before{box-sizing:border-box}body{font-size:1rem;line-height:1.5rem;color:#666}body,button,input{font-family:proxima_nova_regular,sans-serif}.page-wrapper{width:100vw;height:100vh;display:flex;justify-content:center;align-items:center}.page-wrapper h1{text-align:center;font-size:1.5rem;line-height:1;border:1px solid;padding:1.25rem}@media (min-width:768px){.page-wrapper h1{font-size:2.5rem}}.page-wrapper h1 strong{font-weight:700}
|
|
@ -1 +0,0 @@
|
||||||
@import './assets/styles/global.scss';
|
|
|
@ -1,11 +0,0 @@
|
||||||
@font-face {
|
|
||||||
font-family: 'proxima_nova_regular';
|
|
||||||
src: url('/static/fonts/proxima_nova-regular-webfont.eot');
|
|
||||||
src: url('/static/fonts/proxima_nova-regular-webfont.eot?#iefix') format('embedded-opentype'),
|
|
||||||
url('/static/fonts/proxima_nova-regular-webfont.woff2') format('woff2'),
|
|
||||||
url('/static/fonts/proxima_nova-regular-webfont.woff') format('woff'),
|
|
||||||
url('/static/fonts/proxima_nova-regular-webfont.ttf') format('truetype'),
|
|
||||||
url('/static/fonts/proxima_nova-regular-webfont.svg#proxima_nova_rgregular') format('svg');
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
@import './assets/styles/global.scss';
|
|
||||||
|
|
||||||
input,
|
|
||||||
button {
|
|
||||||
font-family: $primary-font;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
// px to rem
|
|
||||||
@function calculateRem($size) {
|
|
||||||
@return $size / $body-font-size * 1rem;
|
|
||||||
}
|
|
|
@ -1,48 +0,0 @@
|
||||||
/* http://meyerweb.com/eric/tools/css/reset/
|
|
||||||
v2.0 | 20110126
|
|
||||||
License: none (public domain)
|
|
||||||
*/
|
|
||||||
|
|
||||||
html, body, div, span, applet, object, iframe,
|
|
||||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
||||||
a, abbr, acronym, address, big, cite, code,
|
|
||||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
|
||||||
small, strike, strong, sub, sup, tt, var,
|
|
||||||
b, u, i, center,
|
|
||||||
dl, dt, dd, ol, ul, li,
|
|
||||||
fieldset, form, label, legend,
|
|
||||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
||||||
article, aside, canvas, details, embed,
|
|
||||||
figure, figcaption, footer, header, hgroup,
|
|
||||||
menu, nav, output, ruby, section, summary,
|
|
||||||
time, mark, audio, video {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
border: 0;
|
|
||||||
font-size: 100%;
|
|
||||||
font: inherit;
|
|
||||||
vertical-align: baseline;
|
|
||||||
}
|
|
||||||
/* HTML5 display-role reset for older browsers */
|
|
||||||
article, aside, details, figcaption, figure,
|
|
||||||
footer, header, hgroup, menu, nav, section {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
body {
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
ol, ul {
|
|
||||||
list-style: none;
|
|
||||||
}
|
|
||||||
blockquote, q {
|
|
||||||
quotes: none;
|
|
||||||
}
|
|
||||||
blockquote:before, blockquote:after,
|
|
||||||
q:before, q:after {
|
|
||||||
content: '';
|
|
||||||
content: none;
|
|
||||||
}
|
|
||||||
table {
|
|
||||||
border-collapse: collapse;
|
|
||||||
border-spacing: 0;
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
// Plugin calls css included in document.js. These styles below are site-specific overrides
|
|
||||||
@import './assets/styles/global.scss';
|
|
|
@ -1,14 +0,0 @@
|
||||||
@import './assets/styles/global.scss';
|
|
||||||
|
|
||||||
*,
|
|
||||||
*::before,
|
|
||||||
*::after {
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: $primary-font;
|
|
||||||
font-size: calculateRem($body-font-size);
|
|
||||||
line-height: calculateRem($body-line-height);
|
|
||||||
color: $text-color;
|
|
||||||
}
|
|
|
@ -1,15 +0,0 @@
|
||||||
// Media Queries
|
|
||||||
$smallMobile: 375px;
|
|
||||||
$bigMobile: 480px;
|
|
||||||
$tablet: 768px;
|
|
||||||
$desktop: 1024px;
|
|
||||||
$monitor: 1220px;
|
|
||||||
$big: 1440px;
|
|
||||||
|
|
||||||
// colors
|
|
||||||
$text-color: #666;
|
|
||||||
|
|
||||||
// text
|
|
||||||
$body-font-size: 16;
|
|
||||||
$body-line-height: 24;
|
|
||||||
$primary-font: 'proxima_nova_regular', sans-serif;
|
|
|
@ -1,3 +0,0 @@
|
||||||
@import './base/variables.scss';
|
|
||||||
@import './base/mixins.scss';
|
|
||||||
@import './base/functions.scss';
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8" class="next-head"/><link rel="preload" href="/_next/ffa7bb5e-9e34-442b-8a89-4b08815bfafc/page/index.js" as="script"/><link rel="preload" href="/_next/ffa7bb5e-9e34-442b-8a89-4b08815bfafc/page/_app.js" as="script"/><link rel="preload" href="/_next/ffa7bb5e-9e34-442b-8a89-4b08815bfafc/page/_error.js" as="script"/><link rel="preload" href="/_next/static/commons/main-c4f1feca86a71c895caa.js" as="script"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/style.css"/><link rel="stylesheet" type="text/css" charset="UTF-8" href="//cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css"/><link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css"/></head><body><div id="__next"><div class="home page-wrapper"><h1><strong>ETHPrize website</strong> <br/>coming soon!</h1></div></div><div id="__next-error"></div><script>
|
||||||
|
__NEXT_DATA__ = {"props":{"pageProps":{}},"page":"/","pathname":"/","query":{},"buildId":"ffa7bb5e-9e34-442b-8a89-4b08815bfafc","assetPrefix":"","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__/" src="/_next/ffa7bb5e-9e34-442b-8a89-4b08815bfafc/page/index.js"></script><script async="" id="__NEXT_PAGE__/_app" src="/_next/ffa7bb5e-9e34-442b-8a89-4b08815bfafc/page/_app.js"></script><script async="" id="__NEXT_PAGE__/_error" src="/_next/ffa7bb5e-9e34-442b-8a89-4b08815bfafc/page/_error.js"></script><script src="/_next/static/commons/main-c4f1feca86a71c895caa.js" async=""></script></body></html>
|
|
@ -1,9 +0,0 @@
|
||||||
const withSass = require('@zeit/next-sass')
|
|
||||||
module.exports =
|
|
||||||
withSass({
|
|
||||||
exportPathMap: function(defaultPathMap) {
|
|
||||||
return {
|
|
||||||
'/': { page: '/' }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,21 +0,0 @@
|
||||||
import Document, { Head, Main, NextScript } from 'next/document';
|
|
||||||
import React from 'react';
|
|
||||||
|
|
||||||
export default class MyDocument extends Document {
|
|
||||||
render() {
|
|
||||||
return (
|
|
||||||
<html lang="en">
|
|
||||||
<Head>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link rel="stylesheet" href="/_next/static/style.css" />
|
|
||||||
<link rel="stylesheet" type="text/css" charset="UTF-8" href="//cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css" />
|
|
||||||
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css" />
|
|
||||||
</Head>
|
|
||||||
<body>
|
|
||||||
<Main />
|
|
||||||
<NextScript />
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,9 +0,0 @@
|
||||||
import React from 'react';
|
|
||||||
import '../styles.scss';
|
|
||||||
|
|
||||||
export default () => (
|
|
||||||
<div className="home page-wrapper">
|
|
||||||
<h1><strong>ETHPrize website</strong> <br />coming soon!</h1>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
|
|
31
styles.scss
31
styles.scss
|
@ -1,31 +0,0 @@
|
||||||
@import './assets/styles/base/reset.scss';
|
|
||||||
@import './assets/styles/base/fonts.scss';
|
|
||||||
@import './assets/styles/base/type.scss';
|
|
||||||
@import './assets/styles/base/forms.scss';
|
|
||||||
@import './assets/styles/base/buttons.scss';
|
|
||||||
@import './assets/styles/base/slick-carousel.scss';
|
|
||||||
@import './assets/styles/global.scss';
|
|
||||||
|
|
||||||
.page-wrapper {
|
|
||||||
width: 100vw;
|
|
||||||
height: 100vh;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
text-align: center;
|
|
||||||
font-size: calculateRem(24);
|
|
||||||
line-height: 1;
|
|
||||||
border: 1px solid;
|
|
||||||
padding: calculateRem(20);
|
|
||||||
|
|
||||||
@media (min-width: $tablet) {
|
|
||||||
font-size: calculateRem(40);
|
|
||||||
}
|
|
||||||
|
|
||||||
strong {
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue