Skip to content

Commit

Permalink
Build script creates http2push header
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed May 13, 2018
1 parent 44ed94b commit d0578bb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
11 changes: 2 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,15 @@
"build": "preact build",
"serve": "preact build && preact serve",
"dev": "preact watch",
"lint": "eslint src",
"lint": "standard src",
"test": "jest ./tests"
},
"eslintConfig": {
"extends": "eslint-config-synacor"
},
"eslintIgnore": [
"build/*"
],
"devDependencies": {
"eslint": "^4.9.0",
"eslint-config-synacor": "^2.0.2",
"identity-obj-proxy": "^3.0.0",
"if-env": "^1.0.0",
"jest": "^21.2.1",
"preact-cli": "^2.1.0",
"preact-cli-plugin-netlify": "^1.1.0",
"preact-render-spy": "^1.2.1"
},
"dependencies": {
Expand Down
5 changes: 5 additions & 0 deletions preact.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const netlifyPlugin = require('preact-cli-plugin-netlify')

export default function (config) {
netlifyPlugin(config)
}
2 changes: 1 addition & 1 deletion src/components/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default class Header extends Component {
<header class="header">
<div class="container">
<h1 class="site-title">The Yjs Library</h1>
<span class="site-tagline">A small CRDT library with a powerful abstraction over shared data</span>
<span class="site-tagline">A CRDT library with a powerful abstraction over shared data</span>
</div>
</header>
)
Expand Down
3 changes: 2 additions & 1 deletion src/style/index.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

@import url('//fonts.googleapis.com/css?family=Nunito:400,300,700|Righteous');
// TODO: remove font-awesome when done with twitter logos etc
@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css');

//Color definitions
Expand Down Expand Up @@ -152,7 +153,7 @@ h3 {
//Setting up full-bleed images, shrinking the height on smaller viewports
.full-bleed {
background-size: cover;
min-height: 300px;
min-height: 222px;
width: 100%;
background-position: center center;
background-repeat: no-repeat;
Expand Down

0 comments on commit d0578bb

Please sign in to comment.