diff --git a/frontend/pages/index.js b/frontend/pages/index.js
index c0cb8be1..99a245ed 100644
--- a/frontend/pages/index.js
+++ b/frontend/pages/index.js
@@ -183,28 +183,6 @@ const Homepage = () => {
};
}, []);
- const JoinDiscordButton = () => {
- return (
- {
- if (mixpanel.get_distinct_id()) {
- mixpanel.track(`${MIXPANEL_EVENTS.BUTTON_CLICKED}`, {
- full_url: router.nextRouter.asPath,
- buttonName: `Join our Discord`,
- page: `landing`,
- section: `bottom-line`,
- });
- }
- }}
- href={"/discordleed"}
- isExternal
- >
- Join our Discord
-
- );
- };
-
return (
@@ -281,7 +259,26 @@ const Homepage = () => {
allow you to integrate our game mechanics with zero
effort.
-
+ {
+ if (mixpanel.get_distinct_id()) {
+ mixpanel.track(
+ `${MIXPANEL_EVENTS.BUTTON_CLICKED}`,
+ {
+ full_url: router.nextRouter.asPath,
+ buttonName: `Join our Discord`,
+ page: `landing`,
+ section: `front-and-center`,
+ }
+ );
+ }
+ }}
+ href={"/discordleed"}
+ isExternal
+ >
+ Join our Discord
+
@@ -504,7 +501,26 @@ const Homepage = () => {
display="inline-block"
>
- Join our Discord
+ {
+ if (mixpanel.get_distinct_id()) {
+ mixpanel.track(
+ `${MIXPANEL_EVENTS.BUTTON_CLICKED}`,
+ {
+ full_url: router.nextRouter.asPath,
+ buttonName: `Join our Discord`,
+ page: `landing`,
+ section: `bottom-line`,
+ }
+ );
+ }
+ }}
+ >
+ Join our Discord
+
{" "}
to get in touch with the team (@zomglings). Tell us about
your game and schedule a call if needed.
@@ -627,7 +643,23 @@ const Homepage = () => {
{`Contact us on Discord to discuss your project and keep up with the latest updates on Moonstream Engine.`}
-
+ {
+ if (mixpanel.get_distinct_id()) {
+ mixpanel.track(`${MIXPANEL_EVENTS.BUTTON_CLICKED}`, {
+ full_url: router.nextRouter.asPath,
+ buttonName: `Join our Discord`,
+ page: `landing`,
+ section: `bottom-line`,
+ });
+ }
+ }}
+ href={"/discordleed"}
+ isExternal
+ >
+ Join our Discord
+