import React, { useState } from "react"; import { useThemeHooks } from '@redocly/theme/core/hooks'; import mapDark from "../static/js/impact/mapDark.json"; import mapLight from "../static/js/impact/mapLight.json"; import { useLottie } from "lottie-react"; import { useThemeFromClassList } from "../@theme/helpers"; import { Link } from "@redocly/theme/components/Link/Link"; export const frontmatter = { seo: { title: "Impact", description: "Learn how the XRP Ledger helps move money around the world faster, cheaper and more sustainably than any other currency available today.", }, }; export default function Impact() { const theme = useThemeFromClassList(["dark", "light"]); const [videoVisible, setVideoVisible] = useState(false); // State to control visibility const { useTranslate } = useThemeHooks(); const { translate } = useTranslate(); const handleVideoClick = () => { setVideoVisible(true); // Show the iframe }; const options = React.useMemo(() => { return { animationData: theme === "dark" ? mapDark : mapLight, loop: true, }; }, [theme]); const { View } = useLottie(options); return (
{`${translate( "about.impact.feature.ppart1", "Open and decentralized, blockchain and crypto are seeing an increase in adoption across the financial services industry, from retail and institutional investment to " )}`} {translate("about.impact.feature.ppart2", "commercial use cases ")} {`${translate("about.impact.feature.ppart3", "like CBDCs, NFTs, and cross-border payments.")}`}
{translate( "Learn more about companies and developers who are using the XRP Ledger to solve interesting problems efficiently and sustainably." )}
{translate("See More")}{translate( "If you want to advance business with sustainable solutions to real-world problems, you’re invited to join the global, growing XRPL community. Here are some ways to get involved:" )}
{`${translate("about.impact.blog.ppart1", "Check out the ")}`} {translate("about.impact.blog.ppart2", "XRPL dev blog ")} {`${translate( "about.impact.blog.ppart3", "to stay up-to-date on the latest innovations and developments in the XRPL community." )}`}
{`${translate("about.impact.events.ppart1", "Attend ")}`} {translate("about.impact.events.ppart2", "meetups, hackathons, and conferences ")} {`${translate( "about.impact.events.ppart3", "to meet other members of the community." )}`}
{`${translate("about.impact.code.ppart1", "View the ")}`} {translate("about.impact.code.ppart2", "Github repositories ")} {`${translate( "about.impact.code.ppart3", "to find blockchain projects to see how you can contribute." )}`}
{translate( "about.impact.connect.ppart1", "Join the conversation on social media using #XRPLCommunity." )}
{`${translate("about.impact.events.ppart1", "Attend ")}`} {translate("about.impact.events.ppart2", "meetups, hackathons, and conferences ")} {`${translate( "about.impact.events.ppart3", "to meet other members of the community." )}`}
{translate( "about.impact.connect.ppart1", "Join the conversation on social media using #XRPLCommunity." )}