Merge branch 'ABI-Defined-Dashboars' of github.com:bugout-dev/moonstream into ABI-Defined-Dashboars

pull/411/head
kompotkot 2021-11-15 12:42:15 +00:00
commit 77e533ab9b
4 zmienionych plików z 8 dodań i 7 usunięć

Wyświetl plik

@ -39,6 +39,7 @@ import SchematicPlayground from "../src/components/SchematicPlayground";
import { v4 as uuidv4 } from "uuid";
import RouteButton from "../src/components/RouteButton";
import { FaDiscord } from "react-icons/fa";
import { MODAL_TYPES } from "../src/core/providers/OverlayProvider/constants";
const SplitWithImage = dynamic(
() => import("../src/components/SplitWithImage"),
{
@ -500,7 +501,7 @@ const Homepage = () => {
mixpanel.track(`${MIXPANEL_EVENTS.BUTTON_CLICKED}`, {
[`${MIXPANEL_PROPS.BUTTON_NAME}`]: `Early access CTA: developer txpool button`,
});
toggleModal("hubspot-developer");
toggleModal(MODAL_TYPES.HUBSPOT);
},
}}
elementName={"element1"}
@ -559,7 +560,7 @@ const Homepage = () => {
mixpanel.track(`${MIXPANEL_EVENTS.BUTTON_CLICKED}`, {
[`${MIXPANEL_PROPS.BUTTON_NAME}`]: `Early access CTA: developer exchanges button`,
});
toggleModal("hubspot-developer");
toggleModal(MODAL_TYPES.HUBSPOT);
},
}}
elementName={"element2"}
@ -620,7 +621,7 @@ const Homepage = () => {
mixpanel.track(`${MIXPANEL_EVENTS.BUTTON_CLICKED}`, {
[`${MIXPANEL_PROPS.BUTTON_NAME}`]: `Early access CTA: developer smartDeveloper button`,
});
toggleModal("hubspot-developer");
toggleModal(MODAL_TYPES.HUBSPOT);
},
}}
elementName={"element3"}
@ -674,7 +675,7 @@ const Homepage = () => {
mixpanel.track(`${MIXPANEL_EVENTS.BUTTON_CLICKED}`, {
[`${MIXPANEL_PROPS.BUTTON_NAME}`]: `Early access CTA: developer analytics button`,
});
toggleModal("hubspot-developer");
toggleModal(MODAL_TYPES.HUBSPOT);
},
}}
elementName={"element3"}

Wyświetl plik

@ -89,7 +89,7 @@ const LandingNavbar = () => {
<Button
colorScheme="orange"
variant="solid"
onClick={() => toggleModal("register")}
onClick={() => toggleModal(MODAL_TYPES.SIGNUP)}
size="sm"
fontWeight="400"
borderRadius="2xl"

Wyświetl plik

@ -89,7 +89,7 @@ const Sidebar = () => {
<>
<MenuItem
onClick={() => {
ui.toggleModal("register");
ui.toggleModal(MODAL_TYPES.SIGNUP);
ui.setSidebarToggled(false);
}}
>

Wyświetl plik

@ -95,7 +95,7 @@ const SignIn = ({ toggleModal }) => {
cursor="pointer"
color="blue.800"
as="span"
onClick={() => toggleModal("register")}
onClick={() => toggleModal(MODAL_TYPES.SIGNUP)}
>
Register
</Box>