gatsby-theme-q3 3.3.1 → 3.3.5
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,38 @@
|
|
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.3.5](https://github.com/3merge/q/compare/v3.3.4...v3.3.5) (2022-02-17)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package gatsby-theme-q3
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## [3.3.4](https://github.com/3merge/q/compare/v3.3.3...v3.3.4) (2022-02-17)
|
15
|
+
|
16
|
+
**Note:** Version bump only for package gatsby-theme-q3
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
## [3.3.3](https://github.com/3merge/q/compare/v3.3.2...v3.3.3) (2022-02-17)
|
23
|
+
|
24
|
+
**Note:** Version bump only for package gatsby-theme-q3
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
## [3.3.2](https://github.com/3merge/q/compare/v3.3.1...v3.3.2) (2022-02-15)
|
31
|
+
|
32
|
+
**Note:** Version bump only for package gatsby-theme-q3
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
|
6
38
|
## [3.3.1](https://github.com/3merge/q/compare/v3.3.0...v3.3.1) (2022-02-14)
|
7
39
|
|
8
40
|
**Note:** Version bump only for package gatsby-theme-q3
|
package/gatsby-browser.js
CHANGED
@@ -27,7 +27,8 @@ export const onClientEntry = async () => {
|
|
27
27
|
const parts = str.split('.').slice(0, offset).join('.');
|
28
28
|
|
29
29
|
if (size(parts))
|
30
|
-
axios.defaults.headers['X-Session-Tenant'] =
|
30
|
+
axios.defaults.headers['X-Session-Tenant'] =
|
31
|
+
process.env.GATSBY_APP_TENANT || parts;
|
31
32
|
|
32
33
|
// calls Q3 API
|
33
34
|
await getDomain();
|
@@ -122,7 +122,6 @@ const PublicTemplate = ({
|
|
122
122
|
}))), /*#__PURE__*/_react.default.createElement(_core.Paper, {
|
123
123
|
className: cls.container
|
124
124
|
}, /*#__PURE__*/_react.default.createElement(_core.Grid, {
|
125
|
-
alignItems: "center",
|
126
125
|
container: true,
|
127
126
|
spacing: 1
|
128
127
|
}, /*#__PURE__*/_react.default.createElement(_core.Hidden, {
|
@@ -137,6 +136,9 @@ const PublicTemplate = ({
|
|
137
136
|
md: 6,
|
138
137
|
xs: 12
|
139
138
|
}, /*#__PURE__*/_react.default.createElement(_core.Box, {
|
139
|
+
alignItems: "center",
|
140
|
+
height: "100%",
|
141
|
+
display: "flex",
|
140
142
|
p: 2
|
141
143
|
}, children)))), /*#__PURE__*/_react.default.createElement(_core.Box, {
|
142
144
|
maxWidth: "75vw",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "gatsby-theme-q3",
|
3
|
-
"version": "3.3.
|
3
|
+
"version": "3.3.5",
|
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.3.
|
31
|
+
"gatsby-theme-q3-mui": "^3.3.4",
|
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": "d8615aeed1cbc626f44a9f8f544aa01db58f6457"
|
46
46
|
}
|
@@ -110,14 +110,21 @@ const PublicTemplate = ({ children, ...rest }) => {
|
|
110
110
|
</ReachLink>
|
111
111
|
</Box>
|
112
112
|
<Paper className={cls.container}>
|
113
|
-
<Grid
|
113
|
+
<Grid container spacing={1}>
|
114
114
|
<Hidden smDown>
|
115
115
|
<Grid item xs={6}>
|
116
116
|
<Box className={cls.photo} />
|
117
117
|
</Grid>
|
118
118
|
</Hidden>
|
119
119
|
<Grid item md={6} xs={12}>
|
120
|
-
<Box
|
120
|
+
<Box
|
121
|
+
alignItems="center"
|
122
|
+
height="100%"
|
123
|
+
display="flex"
|
124
|
+
p={2}
|
125
|
+
>
|
126
|
+
{children}
|
127
|
+
</Box>
|
121
128
|
</Grid>
|
122
129
|
</Grid>
|
123
130
|
</Paper>
|