import * as React from "react"; import { useTranslate } from "@portal/hooks"; import NetworkNodeLight from "./static/js/community/NetworkNodeLight.json"; import GrantsDark from "./static/js/community/XRPLGrantsDark.json"; import CareersDark from "./static/js/community/CareersDark.json"; import { useLottie } from "lottie-react"; import { useThemeFromClassList } from "./@theme/helpers"; // This page still needs typeform integration and animations const platforms = [ { name: "Twitter", id: "twitter", link: "https://twitter.com/XRPLF/" }, { name: "Discord", id: "discord", link: "https://xrpldevs.org" }, { name: "YouTube", id: "youtube", link: "https://www.youtube.com/channel/UC6zTJdNCBI-TKMt5ubNc_Gg", }, { name: "GitHub", id: "github", link: "https://github.com/XRPLF/xrpl-dev-portal", imgclasses: "invertible-img", }, { name: "Stack Overflow", id: "stack-overflow", link: "https://stackoverflow.com/questions/tagged/xrp", }, ]; const contributeLedger = [ { href: "the-rippled-server", title: "The Rippled Server", desc: "Learn about the core servers that power the XRP Ledger", }, { href: "run-rippled-as-a-validator", title: "Join UNL", desc: "Have your server vote on the consensus ledger", }, { href: "install-rippled", title: "Install & Configure", desc: "Install and update the rippled server.", }, { href: "troubleshoot-the-rippled-server", title: "Troubleshooting", desc: "Troubleshoot all kinds of problems with the rippled server.", }, ]; export default function Contribute() { const { translate } = useTranslate(); //Network Node lg const options = { animationData: NetworkNodeLight, loop: true, }; const NetNodeLg = useLottie(options); const NetNodeLgView = NetNodeLg.View; //Network Node sm const NetNodeSm = useLottie(options); const NetNodeSmView = NetNodeSm.View; // Grants lg const grantsOptions = { animationData: GrantsDark, loop: true, }; const grantsAnimationLg = useLottie(grantsOptions); const GrantsDarkAnimationLg = grantsAnimationLg.View; // Grants Sm const grantsAnimationSm = useLottie(grantsOptions); const GrantsDarkAnimationSm = grantsAnimationSm.View; //Careers lg const careersOptions = { animationData: CareersDark, loop: true, }; const carDarkLg = useLottie(careersOptions); const CareersDarkLg = carDarkLg.View; //Careers sm const carDarkSm = useLottie(careersOptions); const CareersDarkSm = carDarkSm.View; return (
People sitting at a conference Person speaking at a conference Person sitting and speaking People chatting Person speaking at Apex

{translate("Open for Business, ")}
{translate("Driven to Innovate")}

{translate("The XRPL Community")}
{/* Join conversation */}

{translate("Find the community on the platforms below")}

{translate("Join the Conversation")}
{platforms.map((plat) => (
(logo)

{plat.name}

 
))}
{/* Contribute */}
{NetNodeLgView}

{translate("Run an XRP Ledger network node")}

{translate("Contribute to Consensus")}
{NetNodeSmView}
{contributeLedger.map((cc) => (
{cc.title}

{cc.desc}

))}
{/* Grants */}

{translate("Apply for funding to build your XRPL project")}

{translate("XRPL Grants")}

{translate( "The XRPL Grants program funds select open-source projects that solve problems and grow the XRP Ledger community." )}

{GrantsDarkAnimationLg}
{translate("Apply for a Grant")}
{translate("Awarded in a single grant")}
$10K - $200K
{translate("Distributed to grant recipients")}
$6.0M
{translate("Open-source projects funded ")}
50+
{GrantsDarkAnimationSm} {translate("Learn More")}
{/* Blog */}
Bubbles with people inside

{translate( "Showcase your XRPL project, application or product" )}

{translate("XRPL Community Spotlight")}

{translate( 'Get featured on the Developer Reflections blog or Blockchain Use Cases page, and explore XRPL community highlights.' )}

Bubbles with people inside
{/* Events */}
{/* Large. 3 image in col */}
People standing at Apex

{translate("Welcome to Apex 2021")}

People standing in a circle

{translate("XRPL Community Meetup")}

Blue and pink card

{translate("XRPL Hackathon 2022")}

{translate( "Check out global events across the XRPL community" )}

{translate("XRPL Events")}

{translate( "Meet the XRPL community at meetups, hackathons, conferences, and more across global regions." )}

{/* Mobile. 3 inline images. */}
People standing at Apex
{translate("Welcome to Apex 2021")}
People standing in a circle
{translate("XRPL Community Meetup")}
Blue and pink card
{translate("XRPL Hackathon 2022")}
{/* Careers */}
{CareersDarkLg}

{translate( "Discover your next career opportunity in the XRPL community" )}

{translate("XRPL Careers")}

{translate( "Teams across the XRPL community are looking for talented individuals to help build their next innovation." )}

{CareersDarkSm}
{/* XRPL Design Assets */}

{translate("Review guidelines for using XRPL design assets")}

{translate("XRPL Assets")}

{translate( "Just like the technology itself, XRPL assets are open source and available for anyone to use. Check out this helpful framework for using XRPL visuals. " )}

Preview of xrpl community design assets webpages
Preview of xrpl community design assets webpages
default-alt-text default-alt-text

{translate( "A community-driven resource for all things XRPL.org" )}

{translate("Contribute to XRPL.org")}

{translate( "Thank you for your interest in contributing to XRPL.org. This website was created as an XRPL community resource and is meant to be a living, breathing source of truth for XRP Ledger resources. This portal is open-source and anyone can suggest changes." )}

{translate("Read Contributor Guidelines")}
); }