@t2ca/gatsby-theme-showcase 1.0.38 → 1.0.40
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 +14 -21
package/package.json
CHANGED
package/src/components/header.js
CHANGED
|
@@ -27,9 +27,9 @@ export default ({
|
|
|
27
27
|
styles,
|
|
28
28
|
menuOpen,
|
|
29
29
|
nav,
|
|
30
|
-
name,
|
|
31
30
|
menuList,
|
|
32
|
-
|
|
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
|
-
<
|
|
79
|
-
sx={{
|
|
80
|
-
fontSize: [3, 4],
|
|
81
|
-
fontWeight: 600,
|
|
82
|
-
color: "brand",
|
|
83
|
-
}}
|
|
84
|
-
>
|
|
78
|
+
<div sx={{ display: ["none", "inherit"], pt: "4px" }}>
|
|
85
79
|
<Img
|
|
86
|
-
fixed={
|
|
87
|
-
sx={{
|
|
80
|
+
fixed={desktopLogo}
|
|
81
|
+
sx={{
|
|
82
|
+
verticalAlign: ["bottom", "text-bottom"],
|
|
83
|
+
}}
|
|
88
84
|
/>
|
|
89
|
-
|
|
85
|
+
</div>
|
|
86
|
+
<div sx={{ display: ["inherit", "none"] }}>
|
|
87
|
+
<Img
|
|
88
|
+
fixed={mobileLogo}
|
|
90
89
|
sx={{
|
|
91
|
-
|
|
92
|
-
fontWeight: 100,
|
|
93
|
-
fontSize: "26px",
|
|
94
|
-
verticalAlign: "top",
|
|
95
|
-
display: ["none", "inherit"],
|
|
90
|
+
verticalAlign: ["bottom", "text-bottom"],
|
|
96
91
|
}}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
</span>
|
|
100
|
-
</span>
|
|
92
|
+
/>
|
|
93
|
+
</div>
|
|
101
94
|
</Link>
|
|
102
95
|
<div
|
|
103
96
|
sx={{
|