Compare commits
No commits in common. "fb523804ec911e6c372bedb39154c5aafcd7dd28" and "b87e1e75775dca9f8bd8742a2332ae2edb4f5cbc" have entirely different histories.
fb523804ec
...
b87e1e7577
|
@ -1,35 +1,11 @@
|
||||||
# Logs
|
|
||||||
logs
|
|
||||||
*.log
|
|
||||||
|
|
||||||
# Runtime data
|
|
||||||
pids
|
|
||||||
*.pid
|
|
||||||
*.seed
|
|
||||||
|
|
||||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
||||||
lib-cov
|
|
||||||
|
|
||||||
# Coverage directory used by tools like istanbul
|
|
||||||
coverage
|
|
||||||
|
|
||||||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
|
||||||
.grunt
|
|
||||||
|
|
||||||
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
|
||||||
build/Release
|
|
||||||
|
|
||||||
# Dependency directory
|
|
||||||
# Deployed apps should consider commenting this line out:
|
|
||||||
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
|
|
||||||
node_modules
|
|
||||||
|
|
||||||
# Webpack output
|
|
||||||
/dist
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
||||||
Dockerfile
|
|
||||||
docker-compose.yml
|
|
||||||
.git*
|
.git*
|
||||||
|
|
||||||
|
Dockerfile
|
||||||
|
.dockerignore
|
||||||
|
|
||||||
|
docker-compose.yml
|
||||||
|
|
||||||
*.md
|
*.md
|
||||||
|
|
||||||
|
|
17
Dockerfile
17
Dockerfile
|
@ -1,17 +0,0 @@
|
||||||
FROM icedream/caddy
|
|
||||||
|
|
||||||
COPY . /src/
|
|
||||||
RUN \
|
|
||||||
(cd /src \
|
|
||||||
&& apk add --no-cache --virtual .build-deps \
|
|
||||||
nodejs-lts \
|
|
||||||
&& npm i \
|
|
||||||
&& NODE_ENV=production npm run build \
|
|
||||||
&& rm -rf /data \
|
|
||||||
&& mv dist /data \
|
|
||||||
&& apk del --no-cache .build-deps \
|
|
||||||
) \
|
|
||||||
&& rm -rf /src /tmp/* /var/tmp/*
|
|
||||||
|
|
||||||
WORKDIR /data
|
|
||||||
EXPOSE 2015
|
|
|
@ -39,13 +39,3 @@ module.exports = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
// @HACK - workaround for https://github.com/webpack/webpack/issues/1866
|
|
||||||
|
|
||||||
function batchresolve(arr) {
|
|
||||||
return arr.map(require.resolve);
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports.babel.presets = batchresolve(module.exports.babel.presets);
|
|
||||||
module.exports.babel.plugins = batchresolve(module.exports.babel.plugins);
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
|
||||||
import moment from 'moment-timezone';
|
import moment from 'moment-timezone';
|
||||||
import Countdown from './Countdown';
|
import Countdown from './Countdown';
|
||||||
import Header from './Header';
|
import Header from './Header';
|
||||||
|
import ProgressCircle from './ProgressCircle';
|
||||||
import getUpcomingDate from './getUpcomingDate';
|
import getUpcomingDate from './getUpcomingDate';
|
||||||
|
|
||||||
import style from './App.sass';
|
import style from './App.sass';
|
||||||
|
@ -60,10 +61,12 @@ class App extends React.Component {
|
||||||
</Header>
|
</Header>
|
||||||
|
|
||||||
<div className={style.content}>
|
<div className={style.content}>
|
||||||
<p>
|
<div className={style.contentContainer}>
|
||||||
|
<p>
|
||||||
The next VIzon draw is on {nextUpcomingDate.format('dddd')}, {nextUpcomingDate.format('L LT')}.
|
The next VIzon draw is on {nextUpcomingDate.format('dddd')}, {nextUpcomingDate.format('L LT')}.
|
||||||
</p>
|
</p>
|
||||||
<Countdown date={nextUpcomingDate} />
|
<Countdown date={nextUpcomingDate} />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue