Skip to content

Commit 454124e

Browse files
authored
Merge pull request #910 from primer/remove-animation
Remove animation
2 parents 9bbe8fb + daa9c84 commit 454124e

File tree

5 files changed

+3
-46
lines changed

5 files changed

+3
-46
lines changed

docs/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
},
1111
"dependencies": {
1212
"@babel/preset-react": "^7.10.4",
13-
"@loadable/component": "^5.10.2",
1413
"@primer/components": "^17.1.0",
1514
"@primer/gatsby-theme-doctocat": "^1.6.0",
1615
"@primer/octicons": "^11.0.0",
@@ -36,7 +35,6 @@
3635
"prop-types": "^15.7.2",
3736
"raw-loader": "^4.0.2",
3837
"react": "^16.13.1",
39-
"react-bodymovin": "^2.0.0",
4038
"react-dom": "^16.13.1",
4139
"react-frame-component": "^4.1.1",
4240
"sass-loader": "10.1.1",

docs/src/@primer/gatsby-theme-doctocat/components/hero.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
import loadable from '@loadable/component'
21
import {Box, Heading, Text} from '@primer/components'
32
import {Container} from '@primer/gatsby-theme-doctocat'
43
import React from 'react'
54
import {version} from '../../../../../package.json'
65
import {ReactComponent as HeroIllustration} from '../../../hero-illustration.svg'
76

8-
const HeroAnimation = loadable(() => import('../../../hero-animation'), {fallback: <HeroIllustration />})
9-
107
function Hero() {
118
return (
129
<Box bg="black" py={6}>
@@ -17,7 +14,7 @@ function Hero() {
1714
<Text as="p" fontFamily="mono" mt={0} mb={2} color="blue.3" fontSize={2}>
1815
v{version}
1916
</Text>
20-
<HeroAnimation />
17+
<HeroIllustration />
2118
</Container>
2219
</Box>
2320
)

docs/src/hero-animation.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

docs/src/hero-animation.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/yarn.lock

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@
10061006
dependencies:
10071007
regenerator-runtime "^0.13.4"
10081008

1009-
"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.2.0", "@babel/runtime@^7.4.2", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.1", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.7.7", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7":
1009+
"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.2.0", "@babel/runtime@^7.4.2", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.1", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7":
10101010
version "7.13.10"
10111011
resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.13.10.tgz"
10121012
integrity sha512-4QPkjJq6Ns3V/RgpEahRk+AGfL0eO6RHHtTWoNNr5mO49G6B5+X6d6THgWEAvTrznU5xYpbAlVKRYcsCgh/Akw==
@@ -1468,15 +1468,6 @@
14681468
"@types/yargs" "^15.0.0"
14691469
chalk "^4.0.0"
14701470

1471-
"@loadable/component@^5.10.2":
1472-
version "5.14.1"
1473-
resolved "https://registry.npmjs.org/@loadable/component/-/component-5.14.1.tgz"
1474-
integrity sha512-UQBZfZrp1FLTf8RNhljXNHFNY4QhAA1L2+GOEeABBFre9TD0aFyQh3Sai5QxcOfy+FTbjIfti5iHaNRR7yUzEQ==
1475-
dependencies:
1476-
"@babel/runtime" "^7.7.7"
1477-
hoist-non-react-statics "^3.3.1"
1478-
react-is "^16.12.0"
1479-
14801471
"@mdx-js/mdx@^1.0.21":
14811472
version "1.6.22"
14821473
resolved "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-1.6.22.tgz"
@@ -3611,11 +3602,6 @@ body-parser@1.19.0, body-parser@^1.19.0:
36113602
raw-body "2.4.0"
36123603
type-is "~1.6.17"
36133604

3614-
bodymovin@^4.13.0:
3615-
version "4.13.0"
3616-
resolved "https://registry.npmjs.org/bodymovin/-/bodymovin-4.13.0.tgz"
3617-
integrity sha1-Btl8ATDiM03MszvqY4E2+Ip0VAs=
3618-
36193605
bonjour@^3.5.0:
36203606
version "3.5.0"
36213607
resolved "https://registry.npmjs.org/bonjour/-/bonjour-3.5.0.tgz"
@@ -8061,7 +8047,7 @@ hmac-drbg@^1.0.1:
80618047
minimalistic-assert "^1.0.0"
80628048
minimalistic-crypto-utils "^1.0.1"
80638049

8064-
hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.1:
8050+
hoist-non-react-statics@^3.3.0:
80658051
version "3.3.2"
80668052
resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz"
80678053
integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==
@@ -12764,13 +12750,6 @@ react-addons-text-content@^0.0.4:
1276412750
resolved "https://registry.npmjs.org/react-addons-text-content/-/react-addons-text-content-0.0.4.tgz"
1276512751
integrity sha1-0uJZ/clR0diQbAiQIAIQjc6HkuU=
1276612752

12767-
react-bodymovin@^2.0.0:
12768-
version "2.0.0"
12769-
resolved "https://registry.npmjs.org/react-bodymovin/-/react-bodymovin-2.0.0.tgz"
12770-
integrity sha512-72MWWvPyF2Ah329+z0dVEvyNce+aiY2xOw7I9FzO8Xc15BWYvOQOnqzLTxSWjaZAdenk7e9vSanBCtB8Fqi7Cg==
12771-
dependencies:
12772-
bodymovin "^4.13.0"
12773-
1277412753
react-clientside-effect@^1.2.2:
1277512754
version "1.2.5"
1277612755
resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.5.tgz"

0 commit comments

Comments
 (0)