-
DataHub Cloud
-
+
DataHub Cloud
+
Experience the premium version of DataHub
-
- with Observability and Governance built-in.
-
+
+ with Observability and Governance built-in.
-
- Book Demo
-
-
- Live Product Tour →
-
-
+
+
+
+
+
+ Live Product Tour →
+
+
-
+
+ {isModalOpen && (
+
+ )}
);
};
diff --git a/docs-website/src/pages/cloud/Hero/styles.module.scss b/docs-website/src/pages/cloud/Hero/styles.module.scss
index 5da028d017155..c073b8590d214 100644
--- a/docs-website/src/pages/cloud/Hero/styles.module.scss
+++ b/docs-website/src/pages/cloud/Hero/styles.module.scss
@@ -64,6 +64,10 @@
.productTourButton {
text-align: center!important;
}
+
+ .hideOnMobile{
+ display: none;
+ }
}
@media screen and (min-width: 1000px){
@@ -71,4 +75,4 @@
padding-left: 0!important;
margin-left: 0!important;
}
-}
\ No newline at end of file
+}
diff --git a/docs-website/src/pages/cloud/index.js b/docs-website/src/pages/cloud/index.js
index 99768ca721078..4d323450e2906 100644
--- a/docs-website/src/pages/cloud/index.js
+++ b/docs-website/src/pages/cloud/index.js
@@ -1,4 +1,4 @@
-import React from "react";
+import React, { useState } from "react";
import Layout from "@theme/Layout";
import Link from "@docusaurus/Link";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
@@ -10,11 +10,16 @@ import UnifiedTabs from "./UnifiedTabs";
import FeatureCards from "./FeatureCards";
import Hero from "./Hero";
import DemoForm from "./DemoForm";
+import DemoFormModal from "./DemoFormModal";
function Home() {
const context = useDocusaurusContext();
const { siteConfig = {} } = context;
+ const [isModalOpen, setIsModalOpen] = useState(false);
+
+ const handleOpenModal = () => setIsModalOpen(true);
+ const handleCloseModal = () => setIsModalOpen(false);
if (siteConfig.customFields.isSaas) {
window.location.replace("/docs");
}
@@ -28,7 +33,7 @@ function Home() {
-
+
@@ -41,25 +46,33 @@ function Home() {
-
-
Start your free trial
today.
-
Unify Discovery, Observability and Governance
for data and AI.
+
+
Start your free trial
today.
+
+ Unify Discovery, Observability and Governance
for data and AI.
+
-
+
Live Product Tour →
-
+ {isModalOpen && (
+
+ )}
) : null;
}
diff --git a/docs-website/src/pages/cloud/styles.module.scss b/docs-website/src/pages/cloud/styles.module.scss
index 0590b8baf12c8..1a873df9a8118 100644
--- a/docs-website/src/pages/cloud/styles.module.scss
+++ b/docs-website/src/pages/cloud/styles.module.scss
@@ -86,11 +86,22 @@
@media screen and (max-width: 999px) {
.bookButton, .productTourButton {
display: block;
+ width: 100%;
}
.productTourButton {
text-align: center!important;
}
+
+
+ .hideOnMobile {
+ display: none;
+ }
+
+ .formContainer {
+ display: none;
+ }
+
}
@media screen and (min-width: 1000px){
@@ -98,4 +109,4 @@
padding-left: 0!important;
margin-left: 0!important;
}
-}
\ No newline at end of file
+}