import { GetStarted } from './get-started'; import { TradingAnchorButton } from '@vegaprotocol/ui-toolkit'; import { Links } from '../../lib/links'; import { Networks, useEnvironment } from '@vegaprotocol/environment'; import type { ReactNode } from 'react'; import { useTopTradedMarkets } from '../../lib/hooks/use-top-traded-markets'; import { useOnboardingStore } from '../../stores/onboarding'; import { useT } from '../../lib/use-t'; export const WelcomeDialogContent = () => { const t = useT(); const { VEGA_ENV } = useEnvironment(); const setDialog = useOnboardingStore((store) => store.setDialog); const dismiss = useOnboardingStore((store) => store.dismiss); const { data } = useTopTradedMarkets(); const marketId = data && data[0]?.id; const link = marketId ? Links.MARKET(marketId) : Links.MARKETS(); const lead = VEGA_ENV === Networks.MAINNET ? t('Start trading on the worlds most advanced decentralised exchange.') : t( 'Free from the risks of real trading, Fairground is a safe and fun place to try out Vega yourself with virtual assets.' ); return (

{t('Console {{env}}', { env: VEGA_ENV })}

    } title={t('Non-custodial and pseudonymous')} text={t('No third party has access to your funds.')} /> } title={t('Purpose built proof of stake blockchain')} text={t( 'Fully decentralised high performance peer-to-network trading.' )} /> } title={t('Low fees and no cost to place orders')} text={t( 'Fees work like a CEX with no per-transaction gas for orders' )} />
{ setDialog('inactive'); dismiss(); }} className="block w-full" data-testid="browse-markets-button" > {t('Explore')}
); }; const ListItemContent = ({ icon, title, text, }: { icon: ReactNode; title: string; text: string; }) => { return (
  • {icon}

    {title}

    {text}

  • ); }; const PurposeBuiltIcon = () => { return ( ); }; const NonCustodialIcon = () => { return ( ); }; const RewardIcon = () => { return ( ); };