@t2ca/gatsby-theme-showcase 1.0.70 → 1.0.71
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 +1 -1
- package/src/components/header.js +13 -17
package/package.json
CHANGED
package/src/components/header.js
CHANGED
|
@@ -27,12 +27,7 @@ export default ({
|
|
|
27
27
|
menuOpen,
|
|
28
28
|
nav,
|
|
29
29
|
menuList,
|
|
30
|
-
desktopLogo,
|
|
31
|
-
desktopLogoHeight,
|
|
32
|
-
desktopLogoWhite,
|
|
33
30
|
svgLogo,
|
|
34
|
-
mobileLogo,
|
|
35
|
-
mobileLogoHeight = 35,
|
|
36
31
|
name,
|
|
37
32
|
}) => {
|
|
38
33
|
const [colorMode, setColorMode] = useColorMode()
|
|
@@ -81,17 +76,18 @@ export default ({
|
|
|
81
76
|
<Burger />
|
|
82
77
|
)}
|
|
83
78
|
<Link to="/" sx={{ color: "inherit", textDecoration: "none" }}>
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
79
|
+
{svgLogo}
|
|
80
|
+
{/* <div sx={{ display: ["none", "none", "inherit"] }}>
|
|
81
|
+
|
|
82
|
+
<img
|
|
87
83
|
src={isDark ? desktopLogoWhite : desktopLogo}
|
|
88
84
|
height={desktopLogoHeight}
|
|
89
85
|
alt={name}
|
|
90
86
|
sx={{
|
|
91
87
|
verticalAlign: ["bottom", "text-bottom"],
|
|
92
88
|
}}
|
|
93
|
-
|
|
94
|
-
|
|
89
|
+
/>
|
|
90
|
+
<Img
|
|
95
91
|
fixed={isDark ? desktopLogoWhite : desktopLogo}
|
|
96
92
|
sx={{
|
|
97
93
|
verticalAlign: ["bottom", "text-bottom"],
|
|
@@ -99,19 +95,19 @@ export default ({
|
|
|
99
95
|
alt={name}
|
|
100
96
|
fadeIn={false}
|
|
101
97
|
loading="eager"
|
|
102
|
-
|
|
98
|
+
/>
|
|
103
99
|
</div>
|
|
104
100
|
<div sx={{ display: ["inherit", "inherit", "none"] }}>
|
|
105
|
-
|
|
106
|
-
|
|
101
|
+
|
|
102
|
+
<img
|
|
107
103
|
src={mobileLogo}
|
|
108
104
|
height={mobileLogoHeight}
|
|
109
105
|
alt={name}
|
|
110
106
|
sx={{
|
|
111
107
|
verticalAlign: ["bottom", "text-bottom"],
|
|
112
108
|
}}
|
|
113
|
-
|
|
114
|
-
|
|
109
|
+
/>
|
|
110
|
+
<Img
|
|
115
111
|
fixed={mobileLogo}
|
|
116
112
|
sx={{
|
|
117
113
|
verticalAlign: ["bottom", "text-bottom"],
|
|
@@ -119,8 +115,8 @@ export default ({
|
|
|
119
115
|
alt={name}
|
|
120
116
|
fadeIn={false}
|
|
121
117
|
loading="eager"
|
|
122
|
-
|
|
123
|
-
</div
|
|
118
|
+
/>
|
|
119
|
+
</div>*/}
|
|
124
120
|
</Link>
|
|
125
121
|
<div
|
|
126
122
|
sx={{
|