@t2ca/gatsby-theme-showcase 1.0.67 → 1.0.69

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.67",
3
+ "version": "1.0.69",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "devDependencies": {
@@ -30,7 +30,9 @@ export default ({
30
30
  desktopLogo,
31
31
  desktopLogoHeight,
32
32
  desktopLogoWhite,
33
+ svgLogo,
33
34
  mobileLogo,
35
+ mobileLogoHeight = 35,
34
36
  name,
35
37
  }) => {
36
38
  const [colorMode, setColorMode] = useColorMode()
@@ -80,14 +82,15 @@ export default ({
80
82
  )}
81
83
  <Link to="/" sx={{ color: "inherit", textDecoration: "none" }}>
82
84
  <div sx={{ display: ["none", "none", "inherit"], pt: "4px" }}>
83
- <img
85
+ {svgLogo}
86
+ {/* <img
84
87
  src={isDark ? desktopLogoWhite : desktopLogo}
85
88
  height={desktopLogoHeight}
86
89
  alt={name}
87
90
  sx={{
88
91
  verticalAlign: ["bottom", "text-bottom"],
89
92
  }}
90
- />
93
+ />*/}
91
94
  {/* <Img
92
95
  fixed={isDark ? desktopLogoWhite : desktopLogo}
93
96
  sx={{
@@ -101,8 +104,7 @@ export default ({
101
104
  <div sx={{ display: ["inherit", "inherit", "none"] }}>
102
105
  <img
103
106
  src={mobileLogo}
104
- height={35}
105
- width={35}
107
+ height={mobileLogoHeight}
106
108
  alt={name}
107
109
  sx={{
108
110
  verticalAlign: ["bottom", "text-bottom"],