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

View File

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

View File

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