gatsby-theme-q3 3.6.3 → 3.7.1
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,41 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [3.7.1](https://github.com/3merge/q/compare/v3.7.0...v3.7.1) (2022-07-21)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package gatsby-theme-q3
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
# [3.7.0](https://github.com/3merge/q/compare/v3.6.11...v3.7.0) (2022-07-21)
|
15
|
+
|
16
|
+
**Note:** Version bump only for package gatsby-theme-q3
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
## [3.6.10](https://github.com/3merge/q/compare/v3.6.9...v3.6.10) (2022-07-05)
|
23
|
+
|
24
|
+
**Note:** Version bump only for package gatsby-theme-q3
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
## [3.6.8](https://github.com/3merge/q/compare/v3.6.7...v3.6.8) (2022-06-30)
|
31
|
+
|
32
|
+
|
33
|
+
### Bug Fixes
|
34
|
+
|
35
|
+
* rte overflow buttons ([3efdab9](https://github.com/3merge/q/commit/3efdab93af5e240663868475bf1ed7763b0cd216))
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
|
6
41
|
## [3.6.3](https://github.com/3merge/q/compare/v3.6.2...v3.6.3) (2022-06-28)
|
7
42
|
|
8
43
|
**Note:** Version bump only for package gatsby-theme-q3
|
@@ -17,6 +17,8 @@ var _q3UiLocale = require("q3-ui-locale");
|
|
17
17
|
|
18
18
|
var _lodash = require("lodash");
|
19
19
|
|
20
|
+
var _BackgroundStyle = _interopRequireDefault(require("q3-admin/lib/components/BackgroundStyle"));
|
21
|
+
|
20
22
|
var _AdminPublicGateway = _interopRequireDefault(require("./AdminPublicGateway"));
|
21
23
|
|
22
24
|
var _useSiteMetaData = _interopRequireDefault(require("./useSiteMetaData"));
|
@@ -28,9 +30,15 @@ const useStyle = (0, _core.makeStyles)(theme => ({
|
|
28
30
|
invertLogo = false
|
29
31
|
}) => {
|
30
32
|
const output = {
|
31
|
-
height:
|
32
|
-
|
33
|
+
height: 75,
|
34
|
+
maxHeight: 75,
|
35
|
+
width: 290,
|
33
36
|
display: 'block',
|
37
|
+
[theme.breakpoints.down('md')]: {
|
38
|
+
height: 65,
|
39
|
+
maxHeight: 65,
|
40
|
+
width: 250
|
41
|
+
},
|
34
42
|
'& img': {
|
35
43
|
objectFit: 'contain',
|
36
44
|
height: '100%',
|
@@ -109,7 +117,7 @@ const PublicTemplate = ({
|
|
109
117
|
photo,
|
110
118
|
invertLogo
|
111
119
|
});
|
112
|
-
return /*#__PURE__*/_react.default.createElement(_AdminPublicGateway.default, rest, /*#__PURE__*/_react.default.createElement(_core.Box, {
|
120
|
+
return /*#__PURE__*/_react.default.createElement(_AdminPublicGateway.default, rest, /*#__PURE__*/_react.default.createElement(_BackgroundStyle.default, null), /*#__PURE__*/_react.default.createElement(_core.Box, {
|
113
121
|
alignItems: "center",
|
114
122
|
component: "article",
|
115
123
|
display: "flex",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "gatsby-theme-q3",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.7.1",
|
4
4
|
"main": "index.js",
|
5
5
|
"license": "MIT",
|
6
6
|
"peerDependencies": {
|
@@ -28,13 +28,13 @@
|
|
28
28
|
"gatsby-plugin-robots-txt": "^1.6.14",
|
29
29
|
"gatsby-plugin-sharp": "^4.2.0",
|
30
30
|
"gatsby-plugin-sitemap": "^5.2.0",
|
31
|
-
"gatsby-theme-q3-mui": "^3.
|
31
|
+
"gatsby-theme-q3-mui": "^3.7.1",
|
32
32
|
"gatsby-transformer-sharp": "^4.2.0",
|
33
33
|
"lodash": "^4.17.20",
|
34
34
|
"process": "^0.11.10",
|
35
35
|
"prop-types": "^15.7.2",
|
36
|
-
"q3-ui-helpers": "^3.
|
37
|
-
"q3-ui-locale": "^3.
|
36
|
+
"q3-ui-helpers": "^3.7.1",
|
37
|
+
"q3-ui-locale": "^3.7.1",
|
38
38
|
"query-string": "^7.0.1",
|
39
39
|
"react-helmet": "^6.1.0",
|
40
40
|
"react-share": "^4.3.1",
|
@@ -42,5 +42,5 @@
|
|
42
42
|
"transform-loader": "^0.2.4",
|
43
43
|
"yarn": "^1.22.17"
|
44
44
|
},
|
45
|
-
"gitHead": "
|
45
|
+
"gitHead": "37e3f203d32f98fcdd1bc42d26932198c8aa0f72"
|
46
46
|
}
|
@@ -11,16 +11,24 @@ import {
|
|
11
11
|
import { Link as ReachLink } from 'gatsby';
|
12
12
|
import { useTranslation } from 'q3-ui-locale';
|
13
13
|
import { isString } from 'lodash';
|
14
|
+
import BackgroundStyle from 'q3-admin/lib/components/BackgroundStyle';
|
14
15
|
import AdminPublicGateway from './AdminPublicGateway';
|
15
16
|
import useSiteMetaData from './useSiteMetaData';
|
16
17
|
|
17
18
|
const useStyle = makeStyles((theme) => ({
|
18
19
|
logo: ({ invertLogo = false }) => {
|
19
20
|
const output = {
|
20
|
-
height:
|
21
|
-
|
21
|
+
height: 75,
|
22
|
+
maxHeight: 75,
|
23
|
+
width: 290,
|
22
24
|
display: 'block',
|
23
25
|
|
26
|
+
[theme.breakpoints.down('md')]: {
|
27
|
+
height: 65,
|
28
|
+
maxHeight: 65,
|
29
|
+
width: 250,
|
30
|
+
},
|
31
|
+
|
24
32
|
'& img': {
|
25
33
|
objectFit: 'contain',
|
26
34
|
height: '100%',
|
@@ -101,6 +109,7 @@ const PublicTemplate = ({ children, ...rest }) => {
|
|
101
109
|
|
102
110
|
return (
|
103
111
|
<AdminPublicGateway {...rest}>
|
112
|
+
<BackgroundStyle />
|
104
113
|
<Box
|
105
114
|
alignItems="center"
|
106
115
|
component="article"
|