@t2ca/gatsby-theme-showcase 1.0.69 → 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 +12 -15
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,10 +95,11 @@ 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
|
-
|
|
101
|
+
|
|
102
|
+
<img
|
|
106
103
|
src={mobileLogo}
|
|
107
104
|
height={mobileLogoHeight}
|
|
108
105
|
alt={name}
|
|
@@ -110,7 +107,7 @@ export default ({
|
|
|
110
107
|
verticalAlign: ["bottom", "text-bottom"],
|
|
111
108
|
}}
|
|
112
109
|
/>
|
|
113
|
-
|
|
110
|
+
<Img
|
|
114
111
|
fixed={mobileLogo}
|
|
115
112
|
sx={{
|
|
116
113
|
verticalAlign: ["bottom", "text-bottom"],
|
|
@@ -118,8 +115,8 @@ export default ({
|
|
|
118
115
|
alt={name}
|
|
119
116
|
fadeIn={false}
|
|
120
117
|
loading="eager"
|
|
121
|
-
|
|
122
|
-
</div
|
|
118
|
+
/>
|
|
119
|
+
</div>*/}
|
|
123
120
|
</Link>
|
|
124
121
|
<div
|
|
125
122
|
sx={{
|