-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from celestiaorg/hotfix/plausible-custom-event…
…s-tracking Added custom tracking strategy config, and hero section cta tracking …
- Loading branch information
Showing
7 changed files
with
106 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
export const ANALYTICS_EVENTS = { | ||
// Homepage Hero Events | ||
HERO_BUILD: "Homepage_hero_build", | ||
HERO_EXPLORE: "Homepage_hero_explore", | ||
|
||
// Homepage Section Events | ||
HOMEPAGE_ABUNDANCE_LEARN: "Homepage_abundance_learn", | ||
HOMEPAGE_UNSTOPPABLE_BUILD: "Homepage_unstoppable_build", | ||
HOMEPAGE_UNSTOPPABLE_DEPLOY: "Homepage_unstoppable_deploy", | ||
HOMEPAGE_CUSTOMIZABILITY_BUILD: "Homepage_customizability_build-modular", | ||
HOMEPAGE_CUSTOMIZABILITY_DEPLOY: "Homepage_customizability_deploy", | ||
|
||
// Homepage Explore Events | ||
HOMEPAGE_EXPLORE_RUN_NODE: "Homepage_explore_run-node", | ||
HOMEPAGE_EXPLORE_TIA: "Homepage_explore_tia", | ||
HOMEPAGE_EXPLORE_COMMUNITY: "Homepage_explore_community", | ||
HOMEPAGE_ECOSYSTEM_VIEW: "Homepage_ecosystem_view", | ||
|
||
// Portal Framework Events | ||
PORTAL_FRAMEWORK_ARB_ORBIT: "Portal_framework_arb-orbit", | ||
PORTAL_FRAMEWORK_DYMENSION: "Portal_framework_dymension", | ||
PORTAL_FRAMEWORK_OP_STACK: "Portal_framework_op-stack", | ||
PORTAL_FRAMEWORK_ROLLKIT: "Portal_framework_rollkit", | ||
PORTAL_FRAMEWORK_SOV_SDK: "Portal_framework_sov-sdk", | ||
PORTAL_FRAMEWORK_ABC_STACK: "Portal_framework_abc-stack", | ||
|
||
// Portal RaaS Events | ||
PORTAL_RAAS_ALTLAYER: "Portal_raas_altlayer", | ||
PORTAL_RAAS_ASTRIA: "Portal_raas_astria", | ||
PORTAL_RAAS_CALDERA: "Portal_raas_caldera", | ||
PORTAL_RAAS_CONDUIT: "Portal_raas_conduit", | ||
PORTAL_RAAS_GATEWAY: "Portal_raas_gateway", | ||
PORTAL_RAAS_GELATO: "Portal_raas_gelato", | ||
PORTAL_RAAS_KARNOT: "Portal_raas_karnot", | ||
PORTAL_RAAS_LUMOZ: "Portal_raas_lumoz", | ||
PORTAL_RAAS_SNAPCHAIN: "Portal_raas_snapchain", | ||
PORTAL_RAAS_VISTARA: "Portal_raas_vistara", | ||
PORTAL_RAAS_ZEEVE: "Portal_raas_zeeve", | ||
} as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,23 @@ | ||
import useThemeColors from "@/utils/useThemeColors"; | ||
|
||
const SocialSVG = ({ dark = false, className = "" }) => { | ||
const colors = useThemeColors(); | ||
const fill = dark ? colors.white.DEFAULT : colors.black.DEFAULT; | ||
const colors = useThemeColors(); | ||
const fill = dark ? colors.white.DEFAULT : colors.black.DEFAULT; | ||
|
||
return ( | ||
<svg | ||
width="40" | ||
height="40" | ||
viewBox="0 0 40 40" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
className={className} | ||
> | ||
<svg | ||
width="40" | ||
height="41" | ||
viewBox="0 0 40 41" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M13.8714 22.173L26.1249 29.0655M26.1249 11.9345L13.8714 18.827M14.3101 20.5C14.3101 22.3849 12.7821 23.9128 10.8972 23.9128C9.01236 23.9128 7.48438 22.3849 7.48438 20.5C7.48438 18.6151 9.01236 17.0872 10.8972 17.0872C12.7821 17.0872 14.3101 18.6151 14.3101 20.5ZM32.5119 10.2615C32.5119 12.1463 30.9839 13.6743 29.099 13.6743C27.2142 13.6743 25.6862 12.1463 25.6862 10.2615C25.6862 8.37661 27.2142 6.84863 29.099 6.84863C30.9839 6.84863 32.5119 8.37661 32.5119 10.2615ZM32.5119 30.7385C32.5119 32.6234 30.9839 34.1514 29.099 34.1514C27.2142 34.1514 25.6862 32.6234 25.6862 30.7385C25.6862 28.8537 27.2142 27.3257 29.099 27.3257C30.9839 27.3257 32.5119 28.8537 32.5119 30.7385Z" | ||
stroke={fill} | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
/> | ||
</svg> | ||
return ( | ||
<svg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg' className={className}> | ||
<svg width='40' height='41' viewBox='0 0 40 41' fill='none' xmlns='http://www.w3.org/2000/svg'> | ||
<path | ||
d='M13.8714 22.173L26.1249 29.0655M26.1249 11.9345L13.8714 18.827M14.3101 20.5C14.3101 22.3849 12.7821 23.9128 10.8972 23.9128C9.01236 23.9128 7.48438 22.3849 7.48438 20.5C7.48438 18.6151 9.01236 17.0872 10.8972 17.0872C12.7821 17.0872 14.3101 18.6151 14.3101 20.5ZM32.5119 10.2615C32.5119 12.1463 30.9839 13.6743 29.099 13.6743C27.2142 13.6743 25.6862 12.1463 25.6862 10.2615C25.6862 8.37661 27.2142 6.84863 29.099 6.84863C30.9839 6.84863 32.5119 8.37661 32.5119 10.2615ZM32.5119 30.7385C32.5119 32.6234 30.9839 34.1514 29.099 34.1514C27.2142 34.1514 25.6862 32.6234 25.6862 30.7385C25.6862 28.8537 27.2142 27.3257 29.099 27.3257C30.9839 27.3257 32.5119 28.8537 32.5119 30.7385Z' | ||
stroke={fill} | ||
strokeLinecap='round' | ||
strokeLinejoin='round' | ||
/> | ||
</svg> | ||
|
||
{/* fill={fill} */} | ||
</svg> | ||
); | ||
{/* fill={fill} */} | ||
</svg> | ||
); | ||
}; | ||
|
||
export default SocialSVG; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|