The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: educate people about legacy billing
Kevin Grüneberg8c85dd6015d3
diff --git a/studio/components/interfaces/BillingV2/NoProjectsOnPaidOrgInfo.tsx b/studio/components/interfaces/BillingV2/NoProjectsOnPaidOrgInfo.tsxindex 5d7b5010596..b921acae557 100644--- a/studio/components/interfaces/BillingV2/NoProjectsOnPaidOrgInfo.tsx+++ b/studio/components/interfaces/BillingV2/NoProjectsOnPaidOrgInfo.tsx@@ -35,12 +35,9 @@ const NoProjectsOnPaidOrgInfo = ({ organization }: NoProjectsOnPaidOrgInfoProps)<div>The monthly fees for the paid plan still apply. To cancel your subscription, head over toyour{' '}- <Link href={`/org/${organization?.slug}/billing`}>- <a>- <span className="text-sm text-green-900 transition hover:text-green-1000">- organization billing settings- </span>- .+ <Link href={`/org/${organization?.slug}/billing`} passHref>+ <a className="text-sm text-green-900 transition hover:text-green-1000">+ organization billing settings .</a></Link></div>diff --git a/studio/components/interfaces/BillingV2/Subscription/Subscription.tsx b/studio/components/interfaces/BillingV2/Subscription/Subscription.tsxindex 44d6b61b008..2edafb2f14c 100644--- a/studio/components/interfaces/BillingV2/Subscription/Subscription.tsx+++ b/studio/components/interfaces/BillingV2/Subscription/Subscription.tsx@@ -6,10 +6,13 @@ import SubscriptionTier from './Tier/SubscriptionTier'import { SUBSCRIPTION_PANEL_KEYS, useSubscriptionPageStateSnapshot } from 'state/subscription-page'import { useSelectedOrganization } from 'hooks'import { useEffect } from 'react'+import InformationBox from 'components/ui/InformationBox'+import { Button, IconExternalLink, IconInfo } from 'ui'+import Link from 'next/link'-export interface SubscriptionProps { }+export interface SubscriptionProps {}-const Subscription = ({ }: SubscriptionProps) => {+const Subscription = ({}: SubscriptionProps) => {const router = useRouter()const organization = useSelectedOrganization()const snap = useSubscriptionPageStateSnapshot()@@ -37,37 +40,74 @@ const Subscription = ({ }: SubscriptionProps) => {<><div className="border-b"><div className="1xl:px-28 mx-auto flex flex-col gap-10 px-5 lg:px-16 2xl:px-32 py-6">- <h3 className="text-scale-1200 text-xl">- {isOrgBilling ? 'Project Add Ons' : 'Subscription'}- </h3>+ <h3 className="text-scale-1200 text-xl">Subscription</h3></div></div>- {!isOrgBilling && (- <div className="border-b">- <div className="1xl:px-28 mx-auto flex flex-col gap-10 px-5 lg:px-16 2xl:px-32 py-16">- <SubscriptionTier />- </div>++ <div className="1xl:px-28 mx-auto flex flex-col gap-10 px-5 lg:px-16 2xl:px-32 pt-8">+ <InformationBox+ icon={<IconInfo size="large" strokeWidth={1.5} />}+ defaultVisibility={true}+ hideCollapse+ title="We're upgrading our billing system"+ description={+ <div className="space-y-3">+ <p className="text-sm leading-normal">+ This organization uses the legacy project-based billing. We’ve recently made some+ big improvements to our billing system. To migrate to the new organization-based+ billing, head over to your{' '}+ <Link href={`/org/${organization?.slug}/billing`} passHref>+ <a className="text-sm text-green-900 transition hover:text-green-1000">+ organization billing settings+ </a>+ </Link>+ .+ </p>++ <div className="space-x-3">+ <Link href="https://supabase.com/blog/organization-based-billing" passHref>+ <Button asChild type="default" icon={<IconExternalLink strokeWidth={1.5} />}>+ <a target="_blank" rel="noreferrer">+ Announcement+ </a>+ </Button>+ </Link>+ <Link href="https://supabase.com/docs/guides/platform/org-based-billing" passHref>+ <Button asChild type="default" icon={<IconExternalLink strokeWidth={1.5} />}>+ <a target="_blank" rel="noreferrer">+ Documentation+ </a>+ </Button>+ </Link>+ </div>+ </div>+ }+ />+ </div>++ <div className="border-b">+ <div className="1xl:px-28 mx-auto flex flex-col gap-10 px-5 lg:px-16 2xl:px-32 py-16">+ <SubscriptionTier /></div>- )}- {!isOrgBilling && (- <div className="border-b">- <div className="1xl:px-28 mx-auto flex flex-col gap-10 px-5 lg:px-16 2xl:px-32 py-16">- <CostControl />- </div>+ </div>++ <div className="border-b">+ <div className="1xl:px-28 mx-auto flex flex-col gap-10 px-5 lg:px-16 2xl:px-32 py-16">+ <CostControl /></div>- )}- <div className={`${isOrgBilling ? '' : 'border-b'}`}>+ </div>++ <div className="border-b"><div className="1xl:px-28 mx-auto flex flex-col gap-10 px-5 lg:px-16 2xl:px-32 py-16"><AddOns /></div></div>- {!isOrgBilling && (- <div className="border-b">- <div className="1xl:px-28 mx-auto flex flex-col gap-10 px-5 lg:px-16 2xl:px-32 py-16">- <BillingBreakdown />- </div>++ <div className="border-b">+ <div className="1xl:px-28 mx-auto flex flex-col gap-10 px-5 lg:px-16 2xl:px-32 py-16">+ <BillingBreakdown /></div>- )}+ </div></>)}diff --git a/studio/components/interfaces/BillingV2/Subscription/Tier/SubscriptionTier.tsx b/studio/components/interfaces/BillingV2/Subscription/Tier/SubscriptionTier.tsxindex 73084a1bb4d..1e1e9a70140 100644--- a/studio/components/interfaces/BillingV2/Subscription/Tier/SubscriptionTier.tsx+++ b/studio/components/interfaces/BillingV2/Subscription/Tier/SubscriptionTier.tsx@@ -42,13 +42,11 @@ const SubscriptionTier = ({}: SubscriptionTierProps) => {<div className="text-sm text-scale-1000">To manage your billing address, emails or Tax ID, head to your{' '}<Link href={`/org/${orgSlug}/billing`}>- <a>- <span className="text-sm text-green-900 transition hover:text-green-1000">- organization settings- </span>- .+ <a className="text-sm text-green-900 transition hover:text-green-1000">+ organization settings</a></Link>+ .</div><div className="space-y-2"><p className="text-sm text-scale-1100">More information</p>diff --git a/studio/components/interfaces/BillingV2/Subscription/Tier/TierUpdateSidePanel.tsx b/studio/components/interfaces/BillingV2/Subscription/Tier/TierUpdateSidePanel.tsxindex 5a7219bd1e9..72d3b8103cf 100644--- a/studio/components/interfaces/BillingV2/Subscription/Tier/TierUpdateSidePanel.tsx+++ b/studio/components/interfaces/BillingV2/Subscription/Tier/TierUpdateSidePanel.tsx@@ -137,19 +137,17 @@ const TierUpdateSidePanel = () => {icon={<IconInfo size="large" strokeWidth={1.5} />}defaultVisibility={true}hideCollapse- title="Legacy Billing"+ title="We're upgrading our billing system"className="mt-4"description={<div className="space-y-3"><p className="text-sm leading-normal">This organization uses the legacy project-based billing. We’ve recently made some- big improvements to our billing system. To opt-in to the new organization-based+ big improvements to our billing system. To migrate to the new organization-basedbilling, head over to your{' '}<Link href={`/org/${slug}/billing`}>- <a>- <span className="text-sm text-green-900 transition hover:text-green-1000">- organization billing settings- </span>+ <a className="text-sm text-green-900 transition hover:text-green-1000">+ organization billing settings</a></Link>.diff --git a/studio/components/interfaces/BillingV2/Usage/Usage.tsx b/studio/components/interfaces/BillingV2/Usage/Usage.tsxindex cd61a2d5889..d768880161b 100644--- a/studio/components/interfaces/BillingV2/Usage/Usage.tsx+++ b/studio/components/interfaces/BillingV2/Usage/Usage.tsx@@ -9,13 +9,15 @@ import { useSelectedOrganization } from 'hooks'import { TIME_PERIODS_BILLING, TIME_PERIODS_REPORTS } from 'lib/constants'import { useMemo, useRef, useState } from 'react'import { InView } from 'react-intersection-observer'-import { IconAlertCircle, IconLoader, cn } from 'ui'+import { Button, IconAlertCircle, IconExternalLink, IconInfo, IconLoader, cn } from 'ui'import Activity from './Activity'import Bandwidth from './Bandwidth'import Infrastructure from './Infrastructure'import SizeAndCounts from './SizeAndCounts'import { USAGE_CATEGORIES, USAGE_STATUS } from './Usage.constants'import { getUsageStatus } from './Usage.utils'+import Link from 'next/link'+import InformationBox from 'components/ui/InformationBox'type UsageSectionIds = 'infra' | 'bandwidth' | 'sizeCount' | 'activity'@@ -214,6 +216,47 @@ const Usage = () => {</div></div>+ <div className="1xl:px-28 mx-auto flex flex-col gap-10 px-5 lg:px-16 2xl:px-32 pt-8">+ <InformationBox+ icon={<IconInfo size="large" strokeWidth={1.5} />}+ defaultVisibility={true}+ hideCollapse+ title="We're upgrading our billing system"+ description={+ <div className="space-y-3">+ <p className="text-sm leading-normal">+ This organization uses the legacy project-based billing. We’ve recently made some+ big improvements to our billing system. To migrate to the new organization-based+ billing, head over to your{' '}+ <Link href={`/org/${organization?.slug}/billing`}>+ <a className="text-sm text-green-900 transition hover:text-green-1000">+ organization billing settings+ </a>+ </Link>+ .+ </p>++ <div className="space-x-3">+ <Link href="https://supabase.com/blog/organization-based-billing" passHref>+ <Button asChild type="default" icon={<IconExternalLink strokeWidth={1.5} />}>+ <a target="_blank" rel="noreferrer">+ Announcement+ </a>+ </Button>+ </Link>+ <Link href="https://supabase.com/docs/guides/platform/org-based-billing" passHref>+ <Button asChild type="default" icon={<IconExternalLink strokeWidth={1.5} />}>+ <a target="_blank" rel="noreferrer">+ Documentation+ </a>+ </Button>+ </Link>+ </div>+ </div>+ }+ />+ </div>+<InView as="div" threshold={0.2} onChange={(inView) => inView && setActiveTab('infra')}><div id="infrastructure" ref={infrastructureRef} style={{ scrollMarginTop: '100px' }}><Infrastructurediff --git a/studio/components/interfaces/Home/ProjectList/ProjectList.tsx b/studio/components/interfaces/Home/ProjectList/ProjectList.tsxindex 09b3fdcdb08..2ba1bdf6de7 100644--- a/studio/components/interfaces/Home/ProjectList/ProjectList.tsx+++ b/studio/components/interfaces/Home/ProjectList/ProjectList.tsx@@ -1,8 +1,7 @@-import { PermissionAction } from '@supabase/shared-types/out/constants'import { groupBy } from 'lodash'import { observer } from 'mobx-react-lite'import Link from 'next/link'-import { Badge, Button, IconPlus } from 'ui'+import { Button, IconExternalLink, IconPlus, Modal } from 'ui'import AlertError from 'components/ui/AlertError'import {@@ -12,12 +11,12 @@ import {import { useOrganizationsQuery } from 'data/organizations/organizations-query'import { usePermissionsQuery } from 'data/permissions/permissions-query'import { useProjectsQuery } from 'data/projects/projects-query'-import { useCheckPermissions } from 'hooks'import { IS_PLATFORM } from 'lib/constants'import { makeRandomString } from 'lib/helpers'import { Organization, Project, ResponseError } from 'types'import ProjectCard from './ProjectCard'import ShimmeringCard from './ShimmeringCard'+import { useState } from 'react'export interface ProjectListProps {rewriteHref?: (projectRef: string) => string@@ -96,6 +95,8 @@ const OrganizationProjects = ({}: OrganizationProjectsProps) => {const isEmpty = !projects || projects.length === 0+ const [orgBillingMigrationModalVisible, setOrgBillingMigrationModalVisible] = useState(false)+return (<div className="space-y-3" key={makeRandomString(5)}><div className="flex space-x-4 items-center">@@ -110,6 +111,14 @@ const OrganizationProjects = ({</Link></div>)}++ {!subscription_id && (+ <div>+ <Button onClick={() => setOrgBillingMigrationModalVisible(true)} type="warning">+ Action Required+ </Button>+ </div>+ )}</div>{isLoadingPermissions || isLoadingProjects ? (@@ -146,6 +155,48 @@ const OrganizationProjects = ({)}</ul>)}++ <Modal+ closable+ hideFooter+ size="small"+ visible={orgBillingMigrationModalVisible}+ onCancel={() => setOrgBillingMigrationModalVisible(false)}+ header="We're upgrading our billing system"+ >+ <Modal.Content className="py-4 space-y-4">+ <div className="space-y-3">+ <p className="text-sm leading-normal">+ The organization "{name}" still uses the legacy project-based billing. We've recently+ made some big improvements to our billing system and require your action. To migrate+ to the new organization-based billing, head over to your{' '}+ <Link href={`/org/${slug}/billing`} passHref>+ <a className="text-sm text-green-900 transition hover:text-green-1000">+ organization billing settings+ </a>+ </Link>+ .+ </p>++ <div className="space-x-3">+ <Link href="https://supabase.com/blog/organization-based-billing" passHref>+ <Button asChild type="default" icon={<IconExternalLink strokeWidth={1.5} />}>+ <a target="_blank" rel="noreferrer">+ Announcement+ </a>+ </Button>+ </Link>+ <Link href="https://supabase.com/docs/guides/platform/org-based-billing" passHref>+ <Button asChild type="default" icon={<IconExternalLink strokeWidth={1.5} />}>+ <a target="_blank" rel="noreferrer">+ Documentation+ </a>+ </Button>+ </Link>+ </div>+ </div>+ </Modal.Content>+ </Modal></div>)}diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsxindex 649e6984542..3b3a11436f8 100644--- a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsx+++ b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsx@@ -25,6 +25,7 @@ import { useOrganizationBillingSubscriptionPreview } from 'data/organizations/orimport InformationBox from 'components/ui/InformationBox'import AlertError from 'components/ui/AlertError'import { SubscriptionTier } from 'data/subscriptions/types'+import Table from 'components/to-be-cleaned/Table'// [Joshen TODO] Need to remove all contexts of "projects"@@ -322,70 +323,71 @@ const PlanUpdateSidePanel = () => {<span className="text-sm">Estimating monthly costs...</span>)}{subscriptionPreviewInitialized && (- <InformationBox- defaultVisibility={false}- title={- <span>- Estimated monthly price is $- {Math.round(- subscriptionPreview.breakdown.reduce((prev, cur) => prev + cur.total_price, 0)- )}{' '}- + usage- </span>- }- hideCollapse={false}- description={- <div>- <table className="w-full">- <thead>- <tr className="border-b">- <th className="py-2 font-normal text-left text-sm text-scale-1000 w-1/2">- Item- </th>- <th className="py-2 font-normal text-left text-sm text-scale-1000">- Count- </th>- <th className="py-2 font-normal text-left text-sm text-scale-1000">- Unit Price- </th>- <th className="py-2 font-normal text-right text-sm text-scale-1000">- Price- </th>- </tr>- </thead>- <tbody>- {subscriptionPreview.breakdown.map((item) => (- <tr key={item.description} className="border-b">- <td className="py-2 text-sm">{item.description ?? 'Unknown'}</td>- <td className="py-2 text-sm">{item.quantity}</td>- <td className="py-2 text-sm">- {item.unit_price === 0 ? 'FREE' : `$${item.unit_price}`}- </td>- <td className="py-2 text-sm text-right">${item.total_price}</td>- </tr>- ))}- </tbody>+ <div>+ <InformationBox+ defaultVisibility={false}+ title={+ <span>+ Estimated monthly price is $+ {Math.round(+ subscriptionPreview.breakdown.reduce((prev, cur) => prev + cur.total_price, 0)+ )}{' '}+ + usage+ </span>+ }+ hideCollapse={false}+ description={+ <Table+ borderless={true}+ head={[+ <Table.th key="header-item">Item</Table.th>,+ <Table.th key="header-count">Count</Table.th>,+ <Table.th key="header-unit-price">Unit Price</Table.th>,+ <Table.th key="header-price" className="text-right">+ Price+ </Table.th>,+ ]}+ body={+ <>+ {subscriptionPreview.breakdown.map((item) => (+ <Table.tr key={item.description}>+ <Table.td>{item.description ?? 'Unknown'}</Table.td>+ <Table.td>{item.quantity}</Table.td>+ <Table.td>+ {item.unit_price === 0 ? 'FREE' : `$${item.unit_price}`}+ </Table.td>+ <Table.td className="text-right">${item.total_price}</Table.td>+ </Table.tr>+ ))}- <tbody>- <tr>- <td className="py-2 text-sm">Total</td>- <td className="py-2 text-sm" />- <td className="py-2 text-sm" />- <td className="py-2 text-sm text-right">- $- {Math.round(- subscriptionPreview.breakdown.reduce(- (prev, cur) => prev + cur.total_price,- 0- )- ) ?? 0}- </td>- </tr>- </tbody>- </table>- </div>- }- />+ <Table.tr>+ <Table.td>Total</Table.td>+ <Table.td />+ <Table.td />+ <Table.td className=" text-right">+ $+ {Math.round(+ subscriptionPreview.breakdown.reduce(+ (prev, cur) => prev + cur.total_price,+ 0+ )+ ) ?? 0}+ </Table.td>+ </Table.tr>+ </>+ }+ ></Table>+ }+ />++ {subscriptionPreview.number_of_projects &&+ subscriptionPreview.number_of_projects > 1 && (+ <p className="text-sm mt-2">+ All {subscriptionPreview.number_of_projects} projects from your organization "+ {selectedOrganization?.name}" will use the new {planMeta?.name} plan.+ </p>+ )}+ </div>)}</Modal.Content>diff --git a/studio/data/organizations/organization-billing-subscription-preview.ts b/studio/data/organizations/organization-billing-subscription-preview.tsindex 910eef3bed4..a18677868d6 100644--- a/studio/data/organizations/organization-billing-subscription-preview.ts+++ b/studio/data/organizations/organization-billing-subscription-preview.ts@@ -16,6 +16,7 @@ export type OrganizationBillingSubscriptionPreviewResponse = {quantity: numbertotal_price: number}[]+ number_of_projects?: number}export async function previewOrganizationBillingSubscription({diff --git a/studio/pages/new/[slug].tsx b/studio/pages/new/[slug].tsxindex 16300ebd9ad..6bce0bddebb 100644--- a/studio/pages/new/[slug].tsx+++ b/studio/pages/new/[slug].tsx@@ -497,19 +497,30 @@ const Wizard: NextPageWithLayout = () => {)}<div className="space-x-3">- <Link href="https://supabase.com/blog/organization-based-billing">- <a target="_blank" rel="noreferrer">- <Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>+ <Link href="https://supabase.com/blog/organization-based-billing" passHref>+ <Button+ asChild+ type="default"+ icon={<IconExternalLink strokeWidth={1.5} />}+ >+ <a target="_blank" rel="noreferrer">Announcement- </Button>- </a>+ </a>+ </Button></Link>- <Link href="https://supabase.com/docs/guides/platform/org-based-billing">- <a target="_blank" rel="noreferrer">- <Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>+ <Link+ href="https://supabase.com/docs/guides/platform/org-based-billing"+ passHref+ >+ <Button+ asChild+ type="default"+ icon={<IconExternalLink strokeWidth={1.5} />}+ >+ <a target="_blank" rel="noreferrer">Documentation- </Button>- </a>+ </a>+ </Button></Link></div></div>@@ -586,37 +597,46 @@ const Wizard: NextPageWithLayout = () => {icon={<IconInfo size="large" strokeWidth={1.5} />}defaultVisibility={true}hideCollapse- title="Legacy Billing"+ title="We're upgrading our billing system"description={<div className="space-y-3"><p className="text-sm leading-normal">This organization uses the legacy project-based billing. We’ve recently made- some big improvements to our billing system. To opt-in to the new+ some big improvements to our billing system. To migrate to the neworganization-based billing, head over to your{' '}<Link href={`/org/${slug}/billing`}>- <a>- <span className="text-sm text-green-900 transition hover:text-green-1000">- organization billing settings- </span>+ <a className="text-sm text-green-900 transition hover:text-green-1000">+ organization billing settings</a></Link>.</p><div className="space-x-3">- <Link href="https://supabase.com/blog/organization-based-billing">- <a target="_blank" rel="noreferrer">- <Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>+ <Link href="https://supabase.com/blog/organization-based-billing" passHref>+ <Button+ asChild+ type="default"+ icon={<IconExternalLink strokeWidth={1.5} />}+ >+ <a target="_blank" rel="noreferrer">Announcement- </Button>- </a>+ </a>+ </Button></Link>- <Link href="https://supabase.com/docs/guides/platform/org-based-billing">- <a target="_blank" rel="noreferrer">- <Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>+ <Link+ href="https://supabase.com/docs/guides/platform/org-based-billing"+ passHref+ >+ <Button+ asChild+ type="default"+ icon={<IconExternalLink strokeWidth={1.5} />}+ >+ <a target="_blank" rel="noreferrer">Documentation- </Button>- </a>+ </a>+ </Button></Link></div></div>diff --git a/studio/pages/project/[ref]/settings/billing/invoices.tsx b/studio/pages/project/[ref]/settings/billing/invoices.tsxindex 4d5cbbbb70a..ca536f73645 100644--- a/studio/pages/project/[ref]/settings/billing/invoices.tsx+++ b/studio/pages/project/[ref]/settings/billing/invoices.tsx@@ -2,11 +2,12 @@ import Link from 'next/link'import { Invoices } from 'components/interfaces/BillingV2'import { SettingsLayout } from 'components/layouts'-import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext'import { useSelectedOrganization } from 'hooks'import { NextPageWithLayout } from 'types'import { useRouter } from 'next/router'import { useEffect } from 'react'+import InformationBox from 'components/ui/InformationBox'+import { Button, IconExternalLink, IconInfo } from 'ui'const ProjectBilling: NextPageWithLayout = () => {const organization = useSelectedOrganization()@@ -43,18 +44,57 @@ const Settings = () => {return (<div className="container max-w-4xl p-4 space-y-8"><div className="space-y-2">+ <div className="py-2">+ <InformationBox+ icon={<IconInfo size="large" strokeWidth={1.5} />}+ defaultVisibility={true}+ hideCollapse+ title="We're upgrading our billing system"+ description={+ <div className="space-y-3">+ <p className="text-sm leading-normal">+ This organization uses the legacy project-based billing. We’ve recently made some+ big improvements to our billing system. To migrate to the new organization-based+ billing, head over to your{' '}+ <Link href={`/org/${selectedOrganization?.slug}/billing`} passHref>+ <a className="text-sm text-green-900 transition hover:text-green-1000">+ organization billing settings+ </a>+ </Link>+ .+ </p>++ <div className="space-x-3">+ <Link href="https://supabase.com/blog/organization-based-billing" passHref>+ <Button asChild type="default" icon={<IconExternalLink strokeWidth={1.5} />}>+ <a target="_blank" rel="noreferrer">+ Announcement+ </a>+ </Button>+ </Link>+ <Link href="https://supabase.com/docs/guides/platform/org-based-billing" passHref>+ <Button asChild type="default" icon={<IconExternalLink strokeWidth={1.5} />}>+ <a target="_blank" rel="noreferrer">+ Documentation+ </a>+ </Button>+ </Link>+ </div>+ </div>+ }+ />+ </div>+<h4 className="text-lg">Invoices</h4><div className="text-sm text-scale-1000">To manage your billing address, emails or Tax ID, head to your{' '}- <Link href={`/org/${orgSlug}/billing`}>- <a>- <span className="text-sm text-green-900 transition hover:text-green-1000">- organization settings- </span>- .+ <Link href={`/org/${orgSlug}/billing`} passHref>+ <a className="text-sm text-green-900 transition hover:text-green-1000">+ organization settings</a></Link>+ .</div><Invoices />