Skip to content

Commit ddb748d

Browse files
author
Jeroen Van Steijn
committed
Fix more errors
1 parent e1be098 commit ddb748d

File tree

8 files changed

+38
-4
lines changed

8 files changed

+38
-4
lines changed

components/ContentPageHeader.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const MainHeader = styled.header`
3737
}
3838
`;
3939

40-
const MainHeaderContent = styled('Container')`
40+
const MainHeaderContent = styled.div`
4141
margin-left: none;
4242
4343
@media (min-width: ${theme.breakpoints[1]}px) {
@@ -50,7 +50,7 @@ const ContentPageHeader = props => {
5050
const { subtitle, title, button, href, text } = props;
5151
return (
5252
<MainHeader {...props}>
53-
<MainHeaderContent fluid>
53+
<MainHeaderContent fluid={true}>
5454
<Row>
5555
<Col offset={{ xl: 1, lg: 0 }} md={10} lg={9} xl={5}>
5656
<TextBlock

components/Footer.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ const Footer = () => (
8888
facebook="https://www.facebook.com/bytecodeagency"
8989
twitter="https://twitter.com/bytecodeagency"
9090
instagram="https://www.instagram.com/bytecodeagency"
91-
linkedin="https://www.linkedin.com/company/bytecodeagency"
91+
linkedin="
92+
https://www.linkedin.com/company/bytecodeagency"
9293
/>
9394
</FooterLinkContainer>
9495
</FooterCol>

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"axios": "^0.18.0",
2020
"babel-plugin-styled-components": "^1.5.1",
2121
"body-parser": "^1.18.3",
22+
"compression": "^1.7.3",
2223
"dotenv": "^6.0.0",
2324
"express": "^4.16.3",
2425
"helmet": "^3.13.0",

pages/home.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const Home = () => (
124124
<Col offset={{ lg: 1 }} md={12} lg={5}>
125125
<GroupImage
126126
width="700"
127-
src="/static/img/content/team.png"
127+
src="/static/img/content/team-700.webp"
128128
alt="Onze mindset"
129129
/>
130130
</Col>

server/server.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ if (process.env.ENABLE_SQREEN === 'true' && process.env.SQREEN_TOKEN) {
77
}
88

99
const bodyParser = require('body-parser');
10+
const compression = require('compression');
1011
const express = require('express');
1112
const helmet = require('helmet');
1213
const next = require('next');
@@ -40,6 +41,7 @@ app.prepare().then(() => {
4041
const server = express();
4142
server.use(bodyParser.json());
4243
server.use(helmet());
44+
server.use(compression());
4345
rootFileRouter(server);
4446
server.use('/api', apiHandler);
4547
server.get('/sitemap.xml', (req, res) => sitemapGenerator(req, res));

static/img/content/team-700.png

381 KB
Loading

static/img/content/team-700.webp

247 KB
Loading

yarn.lock

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,6 +1611,26 @@ component-emitter@^1.2.1:
16111611
version "1.2.1"
16121612
resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6"
16131613

1614+
compressible@~2.0.14:
1615+
version "2.0.16"
1616+
resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.16.tgz#a49bf9858f3821b64ce1be0296afc7380466a77f"
1617+
integrity sha512-JQfEOdnI7dASwCuSPWIeVYwc/zMsu/+tRhoUvEfXz2gxOA2DNjmG5vhtFdBlhWPPGo+RdT9S3tgc/uH5qgDiiA==
1618+
dependencies:
1619+
mime-db ">= 1.38.0 < 2"
1620+
1621+
compression@^1.7.3:
1622+
version "1.7.3"
1623+
resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.3.tgz#27e0e176aaf260f7f2c2813c3e440adb9f1993db"
1624+
integrity sha512-HSjyBG5N1Nnz7tF2+O7A9XUhyjru71/fwgNb7oIsEVHR0WShfs2tIS/EySLgiTe98aOK18YDlMXpzjCXY/n9mg==
1625+
dependencies:
1626+
accepts "~1.3.5"
1627+
bytes "3.0.0"
1628+
compressible "~2.0.14"
1629+
debug "2.6.9"
1630+
on-headers "~1.0.1"
1631+
safe-buffer "5.1.2"
1632+
vary "~1.1.2"
1633+
16141634
concat-map@0.0.1:
16151635
version "0.0.1"
16161636
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
@@ -3543,6 +3563,11 @@ miller-rabin@^4.0.0:
35433563
bn.js "^4.0.0"
35443564
brorand "^1.0.1"
35453565

3566+
"mime-db@>= 1.38.0 < 2":
3567+
version "1.38.0"
3568+
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.38.0.tgz#1a2aab16da9eb167b49c6e4df2d9c68d63d8e2ad"
3569+
integrity sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg==
3570+
35463571
mime-db@~1.37.0:
35473572
version "1.37.0"
35483573
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.37.0.tgz#0b6a0ce6fdbe9576e25f1f2d2fde8830dc0ad0d8"
@@ -3971,6 +3996,11 @@ on-finished@^2.3.0, on-finished@~2.3.0:
39713996
dependencies:
39723997
ee-first "1.1.1"
39733998

3999+
on-headers@~1.0.1:
4000+
version "1.0.2"
4001+
resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f"
4002+
integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==
4003+
39744004
once@^1.3.0, once@^1.3.1, once@^1.4.0:
39754005
version "1.4.0"
39764006
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"

0 commit comments

Comments
 (0)