import React from 'react' import { Head, Link } from '@inertiajs/react' import AccessBadge from '../../../components/academy/billing/AccessBadge' export default function AcademyBillingSuccess({ currentTier, isSubscribed, links = {} }) { return (
🎉 {isSubscribed ? : null}

{isSubscribed ? 'Welcome to Academy.' : "You're all set."}

{isSubscribed ? 'Your subscription is active and all premium content for your plan is now unlocked. Head to Academy and start exploring.' : "Your payment was confirmed and your subscription is activating now. This usually takes just a moment. If you don't see your access right away, refresh the Academy page in a few seconds."}

Go to Academy {links.account ? ( View my subscription ) : null}
) }