Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 47a3b6c

Browse files
committed
Merge branch 'staging' into feature/tailwind-defaults
2 parents 15381f2 + e96723e commit 47a3b6c

File tree

3 files changed

+225
-228
lines changed

3 files changed

+225
-228
lines changed

components/organisms/Hero/Hero.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function Hero({
3232
className={cn(styles.hero, className)}
3333
style={{
3434
// These css custom properties are used inside the css module file to set the card's background image, tint overlay, and fallback bg color.
35-
'--image-url': `url(${backgroundImage.url})`,
35+
'--image-url': `url(${backgroundImage})`,
3636
'--image-tint-color': `#00000020`,
3737
'--image-fallback-color': `#000`
3838
}}
@@ -57,10 +57,7 @@ export default function Hero({
5757
}
5858

5959
Hero.propTypes = {
60-
backgroundImage: PropTypes.shape({
61-
url: PropTypes.string,
62-
alt: PropTypes.string
63-
}),
60+
backgroundImage: PropTypes.string,
6461
body: PropTypes.string,
6562
className: PropTypes.string,
6663
ctaText: PropTypes.string,

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@
4747
"devDependencies": {
4848
"@apollo/client": "^3.3.7",
4949
"@babel/core": "^7.12.10",
50-
"@storybook/addon-a11y": "^6.1.15",
51-
"@storybook/addon-essentials": "^6.1.15",
52-
"@storybook/addon-links": "^6.1.15",
53-
"@storybook/react": "^6.1.15",
50+
"@storybook/addon-a11y": "^6.1.16",
51+
"@storybook/addon-essentials": "^6.1.16",
52+
"@storybook/addon-links": "^6.1.16",
53+
"@storybook/react": "^6.1.16",
5454
"algoliasearch": "^4.8.4",
5555
"babel-loader": "^8.2.2",
5656
"chromatic": "^5.6.1",
@@ -68,7 +68,7 @@
6868
"husky": "^4.3.8",
6969
"lint-staged": "^10.5.3",
7070
"next-seo": "^4.18.0",
71-
"next-sitemap": "^1.4.15",
71+
"next-sitemap": "^1.4.17",
7272
"postcss-flexbugs-fixes": "^4.2.1",
7373
"postcss-preset-env": "^6.7.0",
7474
"prettier": "^2.2.1",

0 commit comments

Comments
 (0)