@t2ca/gatsby-theme-showcase 1.0.72 → 1.0.74

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.72",
3
+ "version": "1.0.74",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "devDependencies": {
@@ -28,7 +28,7 @@ export default ({
28
28
  nav,
29
29
  menuList,
30
30
  svgLogo,
31
- name,
31
+ button,
32
32
  }) => {
33
33
  const [colorMode, setColorMode] = useColorMode()
34
34
  const isDark = colorMode === `dark`
@@ -60,7 +60,7 @@ export default ({
60
60
  bg: "transparent",
61
61
  border: 0,
62
62
  color: "text",
63
- display: ["initial", "initial", "none"],
63
+ display: ["initial", "initial", "initial", "none"],
64
64
  fontFamily: "inherit",
65
65
  fontSize: 24,
66
66
  p: 0,
@@ -128,7 +128,7 @@ export default ({
128
128
  height: 59,
129
129
  }}
130
130
  >
131
- <div sx={{ display: ["none", "none", "inherit"] }}>
131
+ <div sx={{ display: ["none", "none", "none", "inherit"] }}>
132
132
  {menuList &&
133
133
  menuList.map(({ node: { label, link, id } }) => (
134
134
  <NavLink key={id} to={link}>
@@ -137,6 +137,12 @@ export default ({
137
137
  ))}
138
138
  </div>
139
139
 
140
+ {button ? (
141
+ <div sx={{ display: ["none", "none", "inherit"], px: 3 }}>
142
+ {button}
143
+ </div>
144
+ ) : null}
145
+
140
146
  <ColorModeToggle />
141
147
  </div>
142
148
  </div>