feat: only show billing for cloud
This commit is contained in:
@@ -91,21 +91,23 @@ export default function SettingsPage() {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="mb-8 border-t border-light-300 dark:border-dark-300">
|
{process.env.NEXT_PUBLIC_KAN_ENV !== "cloud" && (
|
||||||
<h2 className="mb-4 mt-8 text-[14px] text-neutral-900 dark:text-dark-1000">
|
<div className="mb-8 border-t border-light-300 dark:border-dark-300">
|
||||||
Billing
|
<h2 className="mb-4 mt-8 text-[14px] text-neutral-900 dark:text-dark-1000">
|
||||||
</h2>
|
Billing
|
||||||
<p className="mb-8 text-sm text-neutral-500 dark:text-dark-900">
|
</h2>
|
||||||
View and manage your billing and subscription.
|
<p className="mb-8 text-sm text-neutral-500 dark:text-dark-900">
|
||||||
</p>
|
View and manage your billing and subscription.
|
||||||
<Button
|
</p>
|
||||||
variant="primary"
|
<Button
|
||||||
iconRight={<HiMiniArrowTopRightOnSquare />}
|
variant="primary"
|
||||||
onClick={handleOpenBillingPortal}
|
iconRight={<HiMiniArrowTopRightOnSquare />}
|
||||||
>
|
onClick={handleOpenBillingPortal}
|
||||||
Billing portal
|
>
|
||||||
</Button>
|
Billing portal
|
||||||
</div>
|
</Button>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
<div className="border-t border-light-300 dark:border-dark-300">
|
<div className="border-t border-light-300 dark:border-dark-300">
|
||||||
<h2 className="mt-8 text-[14px] text-neutral-900 dark:text-dark-1000">
|
<h2 className="mt-8 text-[14px] text-neutral-900 dark:text-dark-1000">
|
||||||
|
|||||||
Reference in New Issue
Block a user