fix warnings

This commit is contained in:
Rich Harris
2018-03-04 19:38:10 -05:00
parent e0090de549
commit d55a42711e
3 changed files with 2 additions and 11 deletions

View File

@@ -7,22 +7,15 @@
</Layout>
<style>
h1, p {
h1 {
text-align: center;
margin: 0 auto;
}
h1 {
font-size: 2.8em;
text-transform: uppercase;
font-weight: 700;
margin: 0 0 0.5em 0;
}
p {
margin: 1em auto;
}
@media (min-width: 480px) {
h1 {
font-size: 4em;

View File

@@ -6,7 +6,7 @@
<h1>Great success!</h1>
<figure>
<img src='/great-success.png'>
<img alt='Borat' src='/great-success.png'>
<figcaption>HIGH FIVE!</figcaption>
</figure>

View File

@@ -1,6 +1,4 @@
const path = require('path');
const config = require('sapper/webpack/config.js');
const webpack = require('webpack');
module.exports = {
entry: config.serviceworker.entry(),