mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-20 11:22:55 -05:00
fix: Add response api link to docs navbar (#1918)
This commit is contained in:
@@ -286,6 +286,7 @@ export const navigation: Array<NavGroup> = [
|
||||
{ title: "Attribute Classes", href: "/docs/api/management/attribute-classes" },
|
||||
{ title: "Me", href: "/docs/api/management/me" },
|
||||
{ title: "People", href: "/docs/api/management/people" },
|
||||
{ title: "Responses", href: "/docs/api/management/responses" },
|
||||
{ title: "Surveys", href: "/docs/api/management/surveys" },
|
||||
{ title: "Webhooks", href: "/docs/api/management/webhooks" },
|
||||
],
|
||||
|
||||
@@ -43,7 +43,7 @@ export default function PricingTableComponent({
|
||||
setLoadingCustomerPortal(true);
|
||||
const sessionUrl = await manageSubscriptionAction(team.id, environmentId);
|
||||
router.push(sessionUrl);
|
||||
setLoadingCustomerPortal(true);
|
||||
setLoadingCustomerPortal(false);
|
||||
};
|
||||
|
||||
const upgradePlan = async (priceLookupKeys: StripePriceLookupKeys[]) => {
|
||||
@@ -141,7 +141,7 @@ export default function PricingTableComponent({
|
||||
unlimited: true,
|
||||
},
|
||||
{
|
||||
title: "Reusable Segmentscoming",
|
||||
title: "Reusable Segments",
|
||||
comingSoon: true,
|
||||
unlimited: true,
|
||||
},
|
||||
@@ -172,6 +172,9 @@ export default function PricingTableComponent({
|
||||
<div className="justify-between gap-4 rounded-lg">
|
||||
{team.billing.stripeCustomerId ? (
|
||||
<div className="flex w-full justify-end">
|
||||
<Button variant="minimal" className="justify-center py-2 shadow-sm" onClick={openCustomerPortal}>
|
||||
Cancel Subscription
|
||||
</Button>
|
||||
<Button
|
||||
variant="secondary"
|
||||
className="justify-center py-2 shadow-sm"
|
||||
|
||||
@@ -109,7 +109,7 @@ export const PricingCard = ({
|
||||
</div>
|
||||
<span className="ml-2 text-sm text-slate-500 dark:text-slate-400">{feature.title}</span>
|
||||
{feature.comingSoon && (
|
||||
<span className=" mx-2 bg-blue-100 p-1 text-xs text-slate-400 dark:bg-slate-700 dark:text-teal-500">
|
||||
<span className="mx-2 rounded bg-blue-100 px-3 py-1 text-xs text-blue-700 dark:bg-slate-700 dark:text-teal-500">
|
||||
coming soon
|
||||
</span>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user