@t2ca/gatsby-theme-showcase 1.0.65 → 1.0.67
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 +5 -5
- package/src/components/header.js +4 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t2ca/gatsby-theme-showcase",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.67",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"devDependencies": {
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"prettier": "^2.0.5"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"gatsby": "
|
|
21
|
-
"react": "^
|
|
22
|
-
"react-dom": "^
|
|
20
|
+
"gatsby": "2.24.51",
|
|
21
|
+
"react": "^16.13.1",
|
|
22
|
+
"react-dom": "^16.13.1"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@emotion/styled": "^10.0.17",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@theme-ui/sidenav": "^0.3.0",
|
|
30
30
|
"@theme-ui/typography": "^0.3.0",
|
|
31
31
|
"framer-motion": "^2.1.0",
|
|
32
|
-
"gatsby": "
|
|
32
|
+
"gatsby": "2.24.51",
|
|
33
33
|
"gatsby-image": "^2.2.7",
|
|
34
34
|
"gatsby-plugin-emotion": "^4.1.2",
|
|
35
35
|
"gatsby-plugin-react-helmet": "^3.1.21",
|
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,6 +28,7 @@ export default ({
|
|
|
30
28
|
nav,
|
|
31
29
|
menuList,
|
|
32
30
|
desktopLogo,
|
|
31
|
+
desktopLogoHeight,
|
|
33
32
|
desktopLogoWhite,
|
|
34
33
|
mobileLogo,
|
|
35
34
|
name,
|
|
@@ -83,9 +82,8 @@ export default ({
|
|
|
83
82
|
<div sx={{ display: ["none", "none", "inherit"], pt: "4px" }}>
|
|
84
83
|
<img
|
|
85
84
|
src={isDark ? desktopLogoWhite : desktopLogo}
|
|
86
|
-
height={
|
|
87
|
-
|
|
88
|
-
alt="T2 Media Logo"
|
|
85
|
+
height={desktopLogoHeight}
|
|
86
|
+
alt={name}
|
|
89
87
|
sx={{
|
|
90
88
|
verticalAlign: ["bottom", "text-bottom"],
|
|
91
89
|
}}
|
|
@@ -105,7 +103,7 @@ export default ({
|
|
|
105
103
|
src={mobileLogo}
|
|
106
104
|
height={35}
|
|
107
105
|
width={35}
|
|
108
|
-
alt=
|
|
106
|
+
alt={name}
|
|
109
107
|
sx={{
|
|
110
108
|
verticalAlign: ["bottom", "text-bottom"],
|
|
111
109
|
}}
|