Merge pull request #8 from Nona-Creative/fix/assets-in-production
Fix/assets in production
This commit is contained in:
commit
ac32c86b62
|
@ -1,4 +1,5 @@
|
|||
/out
|
||||
.next
|
||||
node_modules
|
||||
.DS_Store
|
||||
.DS_Store
|
||||
yarn.lock
|
|
@ -1,11 +1,11 @@
|
|||
@font-face {
|
||||
font-family: 'bebas_neuebold';
|
||||
src: url('/static/fonts/bebasneue_bold-webfont.eot');
|
||||
src: url('/static/fonts/bebasneue_bold-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('/static/fonts/bebasneue_bold-webfont.woff2') format('woff2'),
|
||||
url('/static/fonts/bebasneue_bold-webfont.woff') format('woff'),
|
||||
url('/static/fonts/bebasneue_bold-webfont.ttf') format('truetype'),
|
||||
url('/static/fonts/bebasneue_bold-webfont.svg#bebas_neuebold') format('svg');
|
||||
src: url('/nona-creative.github.io-ETHprize/static/fonts/bebasneue_bold-webfont.eot');
|
||||
src: url('/nona-creative.github.io-ETHprize/static/fonts/bebasneue_bold-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('/nona-creative.github.io-ETHprize/static/fonts/bebasneue_bold-webfont.woff2') format('woff2'),
|
||||
url('/nona-creative.github.io-ETHprize/static/fonts/bebasneue_bold-webfont.woff') format('woff'),
|
||||
url('/nona-creative.github.io-ETHprize/static/fonts/bebasneue_bold-webfont.ttf') format('truetype'),
|
||||
url('/nona-creative.github.io-ETHprize/static/fonts/bebasneue_bold-webfont.svg#bebas_neuebold') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
const withSass = require('@zeit/next-sass')
|
||||
const withSass = require('@zeit/next-sass');
|
||||
|
||||
const dev = process && process.env && process.env.NODE_ENV === 'development';
|
||||
|
||||
module.exports =
|
||||
withSass({
|
||||
assetPrefix: dev ? '' : '/nona-creative.github.io-ETHprize',
|
||||
exportPathMap: function(defaultPathMap) {
|
||||
return {
|
||||
'/': { page: '/' }
|
||||
|
|
|
@ -8,7 +8,7 @@ export default class MyDocument extends Document {
|
|||
<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" 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" />
|
||||
<link href="//fonts.googleapis.com/css?family=Roboto+Mono:400,700" rel="stylesheet" />
|
||||
</Head>
|
||||
|
|
Loading…
Reference in New Issue