@t2ca/gatsby-theme-showcase 1.0.26 → 1.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t2ca/gatsby-theme-showcase",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "devDependencies": {
@@ -12,29 +12,13 @@ export default ({
12
12
  background = `MainHero`,
13
13
  color,
14
14
  minHeight = `100vh`,
15
+ svg,
15
16
  }) => {
16
17
  const titleProps = useSpring({
17
18
  from: { opacity: 0, transform: "translate3d(0, -200px, 0)" },
18
19
  to: { opacity: 1, transform: "translate3d(0, 0, 0)" },
19
20
  })
20
21
 
21
- // const data = useStaticQuery(graphql`
22
- // query {
23
- // skyLine: allFile(filter: { relativePath: { eq: "c-skyline.png" } }) {
24
- // nodes {
25
- // base
26
- // childImageSharp {
27
- // fluid(quality: 75) {
28
- // ...GatsbyImageSharpFluid_tracedSVG
29
- // }
30
- // }
31
- // }
32
- // }
33
- // }
34
- // `)
35
-
36
- // const skyLine = data.skyLine.nodes[0].childImageSharp.fluid
37
-
38
22
  return (
39
23
  <React.Fragment>
40
24
  <div
@@ -76,7 +60,7 @@ export default ({
76
60
  {headingBottom}
77
61
  </Styled.h1>
78
62
  </Flex>
79
- {/* <Flex
63
+ <Flex
80
64
  sx={{
81
65
  // px: 6,
82
66
  display: [`none`, `initial`],
@@ -86,17 +70,11 @@ export default ({
86
70
  flexBasis: `100%`,
87
71
  // flex: `2 0 0`,
88
72
  // alignSelf: `flex-end`,
89
- ".gatsby-image-wrapper": {
90
- minWidth: `200px`,
91
- },
73
+ maxHeight: `200px`,
92
74
  }}
93
75
  >
94
- <Img
95
- fluid={skyLine}
96
- alt="Skyline"
97
- sx={{ px: 4, mx: 4, width: `600px` }}
98
- />
99
- </Flex>*/}
76
+ {svg}
77
+ </Flex>
100
78
  </Flex>
101
79
  <div sx={{ width: [`5/6`, `2/3`] }}>
102
80
  <Styled.p