@t2ca/gatsby-theme-showcase 1.0.38 → 1.0.39

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.38",
3
+ "version": "1.0.39",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "devDependencies": {
@@ -27,9 +27,9 @@ export default ({
27
27
  styles,
28
28
  menuOpen,
29
29
  nav,
30
- name,
31
30
  menuList,
32
- image,
31
+ desktopLogo,
32
+ mobileLogo,
33
33
  }) => {
34
34
  return (
35
35
  <Box
@@ -75,29 +75,22 @@ export default ({
75
75
  <Burger />
76
76
  )}
77
77
  <Link to="/" sx={{ color: "inherit", textDecoration: "none" }}>
78
- <span
79
- sx={{
80
- fontSize: [3, 4],
81
- fontWeight: 600,
82
- color: "brand",
83
- }}
84
- >
78
+ <div sx={{ display: ["none", "inherit"] }}>
85
79
  <Img
86
- fixed={image}
87
- sx={{ verticalAlign: ["bottom", "text-bottom"] }}
80
+ fixed={desktopLogo}
81
+ sx={{
82
+ verticalAlign: ["bottom", "text-bottom"],
83
+ }}
88
84
  />
89
- <span
85
+ </div>
86
+ <div sx={{ display: ["inherit", "none"] }}>
87
+ <Img
88
+ fixed={mobileLogo}
90
89
  sx={{
91
- fontFamily: "righteous",
92
- fontWeight: 100,
93
- fontSize: "26px",
94
- verticalAlign: "top",
95
- display: ["none", "inherit"],
90
+ verticalAlign: ["bottom", "text-bottom"],
96
91
  }}
97
- >
98
- {name}
99
- </span>
100
- </span>
92
+ />
93
+ </div>
101
94
  </Link>
102
95
  <div
103
96
  sx={{