gatsby-theme-q3 3.6.1 → 3.6.10
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +27 -0
- package/lib/components/PublicTemplate.js +11 -3
- package/lib/pages/login.js +1 -0
- package/package.json +3 -3
- package/src/components/PublicTemplate.jsx +11 -2
- package/src/pages/login.jsx +4 -1
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,33 @@
|
|
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.6.10](https://github.com/3merge/q/compare/v3.6.9...v3.6.10) (2022-07-05)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package gatsby-theme-q3
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## [3.6.8](https://github.com/3merge/q/compare/v3.6.7...v3.6.8) (2022-06-30)
|
15
|
+
|
16
|
+
|
17
|
+
### Bug Fixes
|
18
|
+
|
19
|
+
* rte overflow buttons ([3efdab9](https://github.com/3merge/q/commit/3efdab93af5e240663868475bf1ed7763b0cd216))
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
## [3.6.3](https://github.com/3merge/q/compare/v3.6.2...v3.6.3) (2022-06-28)
|
26
|
+
|
27
|
+
**Note:** Version bump only for package gatsby-theme-q3
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
|
6
33
|
## [3.6.1](https://github.com/3merge/q/compare/v3.6.0...v3.6.1) (2022-06-28)
|
7
34
|
|
8
35
|
**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/lib/pages/login.js
CHANGED
@@ -39,6 +39,7 @@ const Login = (0, _withPublicTemplate.default)((0, _withAuthenticate.default)(({
|
|
39
39
|
} = (0, _q3UiLocale.useTranslation)();
|
40
40
|
return /*#__PURE__*/_react.default.createElement(_FormBox.default, {
|
41
41
|
renderBottom: /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_builders.Form, {
|
42
|
+
submitLabel: "login",
|
42
43
|
onSubmit: authenticate
|
43
44
|
}, /*#__PURE__*/_react.default.createElement(_builders.Field, {
|
44
45
|
name: "email",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "gatsby-theme-q3",
|
3
|
-
"version": "3.6.
|
3
|
+
"version": "3.6.10",
|
4
4
|
"main": "index.js",
|
5
5
|
"license": "MIT",
|
6
6
|
"peerDependencies": {
|
@@ -28,7 +28,7 @@
|
|
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.6.
|
31
|
+
"gatsby-theme-q3-mui": "^3.6.10",
|
32
32
|
"gatsby-transformer-sharp": "^4.2.0",
|
33
33
|
"lodash": "^4.17.20",
|
34
34
|
"process": "^0.11.10",
|
@@ -42,5 +42,5 @@
|
|
42
42
|
"transform-loader": "^0.2.4",
|
43
43
|
"yarn": "^1.22.17"
|
44
44
|
},
|
45
|
-
"gitHead": "
|
45
|
+
"gitHead": "4452e1cbbf45a93cff53065f9fa85043c7ccc021"
|
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"
|