Skip to content

Commit 67b6c75

Browse files
committed
test(ie): test all new components in IE11
- Keep gatsby at 3.4.2. 3.6.0 does not work in IE11. 3.5.1 does, but has a typescript error
1 parent fc106a0 commit 67b6c75

File tree

17 files changed

+1868
-863
lines changed

17 files changed

+1868
-863
lines changed

.babelrc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
{
2-
"presets": [[
3-
"babel-preset-gatsby",
4-
{
5-
"targets": {
6-
"browsers": [">0.25%", "not dead", "IE 11"]
7-
}
8-
}
9-
]],
2+
"presets": ["babel-preset-gatsby"],
103
"plugins": [
114
"graphql-tag",
125
"inline-import",

package-lock.json

Lines changed: 1753 additions & 755 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -37,45 +37,45 @@
3737
"babel-plugin-prismjs": "^2.0.1",
3838
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
3939
"babel-plugin-transform-remove-console": "^6.9.4",
40-
"babel-preset-gatsby": "^1.5.0",
40+
"babel-preset-gatsby": "^1.6.0",
4141
"color": "^3.1.3",
4242
"cookie": "^0.4.1",
43-
"gatsby": "^3.7.0-next.0",
44-
"gatsby-link": "^3.5.0",
45-
"gatsby-plugin-canonical-urls": "^3.5.0",
46-
"gatsby-plugin-create-client-paths": "^3.5.0",
47-
"gatsby-plugin-emotion": "^6.5.0",
48-
"gatsby-plugin-feed": "^3.5.0",
49-
"gatsby-plugin-google-analytics": "^3.5.0",
50-
"gatsby-plugin-google-tagmanager": "^3.5.0",
51-
"gatsby-plugin-image": "^1.5.0",
52-
"gatsby-plugin-manifest": "^3.5.0",
53-
"gatsby-plugin-offline": "^4.5.1",
43+
"gatsby": "3.4.2",
44+
"gatsby-link": "^3.6.0",
45+
"gatsby-plugin-canonical-urls": "^3.6.0",
46+
"gatsby-plugin-create-client-paths": "^3.6.0",
47+
"gatsby-plugin-emotion": "^6.6.0",
48+
"gatsby-plugin-feed": "^3.6.0",
49+
"gatsby-plugin-google-analytics": "^3.6.0",
50+
"gatsby-plugin-google-tagmanager": "^3.6.0",
51+
"gatsby-plugin-image": "^1.6.0",
52+
"gatsby-plugin-manifest": "^3.6.0",
53+
"gatsby-plugin-offline": "^4.6.0",
5454
"gatsby-plugin-optimize-svgs": "^1.0.5",
55-
"gatsby-plugin-react-helmet": "^4.5.0",
55+
"gatsby-plugin-react-helmet": "^4.6.0",
5656
"gatsby-plugin-react-svg": "^3.0.1",
57-
"gatsby-plugin-remove-trailing-slashes": "^3.5.0",
57+
"gatsby-plugin-remove-trailing-slashes": "^3.6.0",
5858
"gatsby-plugin-s3": "^0.3.8",
59-
"gatsby-plugin-sharp": "^3.5.0",
60-
"gatsby-plugin-sitemap": "^4.1.0",
61-
"gatsby-plugin-twitter": "^3.5.0",
62-
"gatsby-plugin-typescript": "^3.5.0",
59+
"gatsby-plugin-sharp": "^3.6.0",
60+
"gatsby-plugin-sitemap": "^4.2.0",
61+
"gatsby-plugin-twitter": "^3.6.0",
62+
"gatsby-plugin-typescript": "^3.6.0",
6363
"gatsby-plugin-web-font-loader": "^1.0.4",
64-
"gatsby-react-router-scroll": "^4.5.0",
65-
"gatsby-remark-autolink-headers": "^4.2.0",
64+
"gatsby-react-router-scroll": "^4.6.0",
65+
"gatsby-remark-autolink-headers": "^4.3.0",
6666
"gatsby-remark-check-links": "^2.1.0",
67-
"gatsby-remark-copy-linked-files": "^4.2.1",
67+
"gatsby-remark-copy-linked-files": "^4.3.0",
6868
"gatsby-remark-embed-video": "^3.1.1",
6969
"gatsby-remark-embedder": "^5.0.0",
7070
"gatsby-remark-find-replace": "^0.3.0",
71-
"gatsby-remark-images": "^5.2.1",
72-
"gatsby-remark-prismjs": "^5.2.1",
73-
"gatsby-remark-responsive-iframe": "^4.2.1",
74-
"gatsby-remark-smartypants": "^4.2.0",
75-
"gatsby-source-filesystem": "^3.5.0",
76-
"gatsby-source-graphql": "^3.5.0",
77-
"gatsby-transformer-remark": "^4.2.0",
78-
"gatsby-transformer-sharp": "^3.5.0",
71+
"gatsby-remark-images": "^5.3.0",
72+
"gatsby-remark-prismjs": "^5.3.0",
73+
"gatsby-remark-responsive-iframe": "^4.3.0",
74+
"gatsby-remark-smartypants": "^4.3.0",
75+
"gatsby-source-filesystem": "^3.6.0",
76+
"gatsby-source-graphql": "^3.6.0",
77+
"gatsby-transformer-remark": "^4.3.0",
78+
"gatsby-transformer-sharp": "^3.6.0",
7979
"graphql": "^15.5.0",
8080
"graphql-tag": "^2.12.4",
8181
"intersection-observer": "^0.12.0",

src/components/Banner.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const styles = {
5050
}
5151
5252
p {
53+
width: auto;
5354
margin: 0;
5455
}
5556

src/components/Carousel.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ const styles = {
316316
moveButton: css`
317317
position: absolute;
318318
top: -92px;
319+
padding: 0;
319320
320321
&.prev-button {
321322
left: 0;

src/components/Footer.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const styles = {
249249
justify-content: center;
250250
display: grid;
251251
grid-template-columns: 365px 240px 270px 240px;
252-
grid-gap: 20px;
252+
gap: 20px;
253253
}
254254
`,
255255
column: css`
@@ -323,6 +323,10 @@ const styles = {
323323
flex-direction: row;
324324
align-items: flex-start;
325325
margin-bottom: 25px;
326+
327+
${theme.MIN_LARGE_DISPLAY_MEDIA_QUERY} {
328+
width: 100%;
329+
}
326330
`,
327331
studioLogo: css`
328332
width: 45px;

src/components/TeamMembers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const styles = {
4848
${MIN_TABLET_MEDIA_QUERY} {
4949
flex-direction: row;
5050
flex-wrap: wrap;
51-
grid-gap: 25px;
51+
gap: 25px;
5252
grid-template-columns: 185px 185px 185px;
5353
}
5454
${MIN_DEFAULT_MEDIA_QUERY} {

src/components/homepage/Header.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export default function Header() {
1919
</div>
2020
<StaticImage
2121
width={549}
22-
css={styles.image}
2322
alt="Spokestack Example"
2423
src="../../images/homepage/hero.png"
2524
/>
@@ -35,12 +34,16 @@ const styles = {
3534
align-items: center;
3635
background: ${theme.mainBackground} url('/homepage/background.svg')
3736
no-repeat;
38-
background-position: center -66px;
37+
background-position: center calc(100% - 66px);
3938
background-size: cover;
4039
color: ${theme.textDarkBg};
4140
width: 100%;
4241
padding: 15px 20px 0;
4342
43+
@media (min-width: 1440px) {
44+
background-size: 100% 549px;
45+
}
46+
4447
${theme.MIN_DEFAULT_MEDIA_QUERY} {
4548
height: 602px;
4649
flex-direction: row;
@@ -80,8 +83,5 @@ const styles = {
8083
`,
8184
headerText: css`
8285
color: ${theme.textDarkBg};
83-
`,
84-
image: css`
85-
flex-shrink: 0;
8686
`
8787
}

src/components/homepage/NewsItem.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ const styles = {
5858
border: 1px solid ${theme.mainBorder};
5959
border-radius: 7px;
6060
overflow: hidden;
61+
62+
${theme.ieBreakpoint} {
63+
margin-left: 10px;
64+
margin-right: 10px;
65+
}
6166
`,
6267
image: css`
6368
height: 229px;
@@ -79,6 +84,8 @@ const styles = {
7984
title: css`
8085
padding-top: 20px;
8186
flex-grow: 1;
87+
width: 100%;
88+
8289
h5.blue {
8390
text-transform: uppercase;
8491
margin-bottom: 12px;

src/components/homepage/ProblemCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const styles = {
4848
}
4949
5050
${theme.ieBreakpoint} {
51-
margin-bottom: 50px;
51+
margin-bottom: 50px !important;
5252
}
5353
`,
5454
image: css`

0 commit comments

Comments
 (0)