@t2ca/gatsby-theme-showcase 1.0.66 → 1.0.68
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 +8 -8
package/package.json
CHANGED
package/src/components/header.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import React from "react"
|
|
3
2
|
import { Link } from "gatsby"
|
|
4
3
|
import { jsx, Container, Box } from "theme-ui"
|
|
5
|
-
import Img from "gatsby-image"
|
|
6
4
|
import NavLink from "./nav-link"
|
|
7
5
|
import ColorModeToggle from "./color-mode-toggle"
|
|
8
6
|
import { useColorMode } from "theme-ui"
|
|
@@ -30,7 +28,9 @@ export default ({
|
|
|
30
28
|
nav,
|
|
31
29
|
menuList,
|
|
32
30
|
desktopLogo,
|
|
31
|
+
desktopLogoHeight,
|
|
33
32
|
desktopLogoWhite,
|
|
33
|
+
svgLogo,
|
|
34
34
|
mobileLogo,
|
|
35
35
|
name,
|
|
36
36
|
}) => {
|
|
@@ -81,15 +81,15 @@ export default ({
|
|
|
81
81
|
)}
|
|
82
82
|
<Link to="/" sx={{ color: "inherit", textDecoration: "none" }}>
|
|
83
83
|
<div sx={{ display: ["none", "none", "inherit"], pt: "4px" }}>
|
|
84
|
-
|
|
84
|
+
{svgLogo}
|
|
85
|
+
{/* <img
|
|
85
86
|
src={isDark ? desktopLogoWhite : desktopLogo}
|
|
86
|
-
height={
|
|
87
|
-
|
|
88
|
-
alt="T2 Media Logo"
|
|
87
|
+
height={desktopLogoHeight}
|
|
88
|
+
alt={name}
|
|
89
89
|
sx={{
|
|
90
90
|
verticalAlign: ["bottom", "text-bottom"],
|
|
91
91
|
}}
|
|
92
|
-
|
|
92
|
+
/>*/}
|
|
93
93
|
{/* <Img
|
|
94
94
|
fixed={isDark ? desktopLogoWhite : desktopLogo}
|
|
95
95
|
sx={{
|
|
@@ -105,7 +105,7 @@ export default ({
|
|
|
105
105
|
src={mobileLogo}
|
|
106
106
|
height={35}
|
|
107
107
|
width={35}
|
|
108
|
-
alt=
|
|
108
|
+
alt={name}
|
|
109
109
|
sx={{
|
|
110
110
|
verticalAlign: ["bottom", "text-bottom"],
|
|
111
111
|
}}
|