hds-web 1.42.5 → 1.42.6
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/dist/index.css +1 -1
- package/dist/index.es.css +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/HDS/components/Footers/v3Footer.js +1 -31
- package/src/styles/tailwind.css +0 -8
package/package.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import React
|
1
|
+
import React from "react";
|
2
2
|
import { Typography } from "../../foundation/Typography";
|
3
3
|
|
4
4
|
const LinkedIn = () => (
|
@@ -94,24 +94,6 @@ const socialShare = [
|
|
94
94
|
];
|
95
95
|
|
96
96
|
export default function V3Footer(props) {
|
97
|
-
const [isError, setIsError] = useState(false);
|
98
|
-
|
99
|
-
const [isItems, setIsItems] = useState(null);
|
100
|
-
|
101
|
-
useEffect(() => {
|
102
|
-
fetch("https://status.hasura.io/api/v2/status.json")
|
103
|
-
.then((res) => res.json())
|
104
|
-
.then(
|
105
|
-
(result) => {
|
106
|
-
setIsItems(result);
|
107
|
-
setIsError(false);
|
108
|
-
},
|
109
|
-
(error) => {
|
110
|
-
setIsError(true);
|
111
|
-
}
|
112
|
-
);
|
113
|
-
}, []);
|
114
|
-
|
115
97
|
const isDarkMode = props?.isDarkMode;
|
116
98
|
|
117
99
|
const logoUrl = isDarkMode
|
@@ -174,18 +156,6 @@ export default function V3Footer(props) {
|
|
174
156
|
))}
|
175
157
|
</div>
|
176
158
|
<div className="flex flex-col md:flex-row justify-between items-center w-full lg:max-w-[716px] 2xl:max-w-[756px]">
|
177
|
-
{isItems && !isError && (
|
178
|
-
<>
|
179
|
-
<a href="https://status.hasura.io/" className="">
|
180
|
-
<div className=" bg-neutral-0 rounded-full shadow hover:shadow-lg transition-all duration-300 px-4 py-2 inline-flex justify-center items-center md:ml-16 lg:ml-0">
|
181
|
-
<div className="w-4 h-4 bg-green-400 rounded-full mr-2"></div>
|
182
|
-
<Typography textStyle="body3" className={"text-neutral-1000"}>
|
183
|
-
{isItems?.status.description}
|
184
|
-
</Typography>
|
185
|
-
</div>
|
186
|
-
</a>
|
187
|
-
</>
|
188
|
-
)}
|
189
159
|
<div>
|
190
160
|
<Typography
|
191
161
|
textStyle="body3c"
|
package/src/styles/tailwind.css
CHANGED
@@ -11908,10 +11908,6 @@ select{
|
|
11908
11908
|
}
|
11909
11909
|
|
11910
11910
|
@media (min-width: 768px){
|
11911
|
-
.md\:ml-16{
|
11912
|
-
margin-left: 4rem;
|
11913
|
-
}
|
11914
|
-
|
11915
11911
|
.md\:flex-row{
|
11916
11912
|
flex-direction: row;
|
11917
11913
|
}
|
@@ -12346,10 +12342,6 @@ select{
|
|
12346
12342
|
}
|
12347
12343
|
|
12348
12344
|
@media (min-width: 1024px){
|
12349
|
-
.lg\:ml-0{
|
12350
|
-
margin-left: 0px;
|
12351
|
-
}
|
12352
|
-
|
12353
12345
|
.lg\:flex{
|
12354
12346
|
display: flex;
|
12355
12347
|
}
|