import { IconFont } from '@gpustack/core-ui'; import { useIntl } from '@umijs/max'; import { Button, Result, Typography } from 'antd'; import PageBox from '../_components/page-box'; // OSS-only upsell page for the billing module. The real Billing UI ships // in the enterprise plugin and shadows this route via // `routes.extensions.ts` — when the enterprise plugin is loaded, the // merger removes this entry by name. So this file is what users see on // the OSS build only. const Billing: React.FC = () => { const intl = useIntl(); const features = [ 'billing.upsell.feature.usage', 'billing.upsell.feature.invoices', 'billing.upsell.feature.budgets', 'billing.upsell.feature.chargeback' ]; return (
} title={intl.formatMessage({ id: 'billing.upsell.title' })} subTitle={intl.formatMessage({ id: 'billing.upsell.subtitle' })} extra={
{intl.formatMessage({ id: 'billing.upsell.featuresTitle' })}
    {features.map((id) => (
  • {intl.formatMessage({ id })}
  • ))}
} />
); }; export default Billing;