@t2ca/gatsby-theme-showcase 1.0.70 → 1.0.72

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t2ca/gatsby-theme-showcase",
3
- "version": "1.0.70",
3
+ "version": "1.0.72",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "devDependencies": {
@@ -17,24 +17,23 @@
17
17
  "prettier": "^2.0.5"
18
18
  },
19
19
  "peerDependencies": {
20
- "gatsby": "2.24.51",
21
- "react": "^16.13.1",
22
- "react-dom": "^16.13.1"
20
+ "gatsby": "^2.24.51",
21
+ "react": "^17.0.0-rc.1",
22
+ "react-dom": "^17.0.0-rc.1"
23
23
  },
24
24
  "dependencies": {
25
25
  "@emotion/styled": "^10.0.17",
26
- "@theme-ui/components": "^0.3.0",
27
- "@theme-ui/preset-bootstrap": "^0.3.0",
28
- "@theme-ui/preset-tailwind": "^0.3.0",
29
- "@theme-ui/sidenav": "^0.3.0",
30
- "@theme-ui/typography": "^0.3.0",
26
+ "@theme-ui/components": "^0.4.0-rc.5",
27
+ "@theme-ui/preset-bootstrap": "^0.4.0-rc.5",
28
+ "@theme-ui/preset-tailwind": "^0.4.0-rc.5",
29
+ "@theme-ui/sidenav": "^0.4.0-rc.5",
30
+ "@theme-ui/typography": "^0.4.0-rc.5",
31
31
  "framer-motion": "^2.1.0",
32
- "gatsby": "2.24.51",
33
32
  "gatsby-image": "^2.2.7",
34
33
  "gatsby-plugin-emotion": "^4.1.2",
35
34
  "gatsby-plugin-react-helmet": "^3.1.21",
36
35
  "gatsby-plugin-sharp": "^2.2.9",
37
- "gatsby-plugin-theme-ui": "^0.3.0",
36
+ "gatsby-plugin-theme-ui": "^0.4.0-rc.5",
38
37
  "gatsby-remark-images": "^3.1.7",
39
38
  "gatsby-source-filesystem": "^2.1.4",
40
39
  "gatsby-transformer-json": "^2.2.2",
@@ -44,7 +43,7 @@
44
43
  "react-helmet": "^6.0.0",
45
44
  "react-icons": "^3.7.0",
46
45
  "remark-slug": "^6.0.0",
47
- "theme-ui": "^0.3.0",
46
+ "theme-ui": "^0.4.0-rc.5",
48
47
  "yup": "^0.29.0"
49
48
  },
50
49
  "scripts": {
@@ -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
- <div sx={{ display: ["none", "none", "inherit"], pt: "4px" }}>
85
- {svgLogo}
86
- {/* <img
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
- {/* <Img
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
- {mobileLogo}
106
- {/* <img
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
- {/* <Img
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={{
@@ -26,7 +26,7 @@ export const query = graphql`
26
26
  date
27
27
  hero {
28
28
  childImageSharp {
29
- fluid(cropFocus: ENTROPY, maxWidth: 1200, quality: 100) {
29
+ fluid(cropFocus: ENTROPY, maxWidth: 1200, quality: 90) {
30
30
  ...GatsbyImageSharpFluid_withWebp_tracedSVG
31
31
  }
32
32
  }