mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: created new constants for marketing website page links (#4670)
This commit is contained in:
parent
463d0732e9
commit
ba4798deb9
@ -6,6 +6,7 @@ import { Crown } from "lucide-react";
|
||||
// ui
|
||||
import { getButtonStyling } from "@plane/ui";
|
||||
// constants
|
||||
import { MARKETING_PRICING_PAGE_LINK } from "@/constants/common";
|
||||
import { WORKSPACE_ACTIVE_CYCLES_DETAILS } from "@/constants/cycle";
|
||||
// helper
|
||||
import { cn } from "@/helpers/common.helper";
|
||||
@ -38,7 +39,7 @@ export const WorkspaceActiveCyclesUpgrade = observer(() => {
|
||||
<div className="flex items-center gap-3">
|
||||
<a
|
||||
className={`${getButtonStyling("primary", "md")} cursor-pointer`}
|
||||
href="https://plane.so/pricing"
|
||||
href={MARKETING_PRICING_PAGE_LINK}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
|
@ -1 +1,5 @@
|
||||
export const MAX_FILE_SIZE = 5 * 1024 * 1024; // 5MB
|
||||
|
||||
export const MARKETING_PRICING_PAGE_LINK = "https://plane.so/pricing";
|
||||
|
||||
export const MARKETING_CONTACT_US_PAGE_LINK = "https://plane.so/contact";
|
||||
|
@ -3,6 +3,7 @@ import { observer } from "mobx-react";
|
||||
import { Button } from "@plane/ui";
|
||||
import { PageHead } from "@/components/core";
|
||||
import { WorkspaceSettingHeader } from "@/components/headers";
|
||||
import { MARKETING_PRICING_PAGE_LINK } from "@/constants/common";
|
||||
import { EUserWorkspaceRoles } from "@/constants/workspace";
|
||||
import { useUser, useWorkspace } from "@/hooks/store";
|
||||
// layouts
|
||||
@ -47,7 +48,7 @@ const BillingSettingsPage: NextPageWithLayout = observer(() => {
|
||||
<div>
|
||||
<h4 className="text-md mb-1 leading-6">Current plan</h4>
|
||||
<p className="mb-3 text-sm text-custom-text-200">You are currently using the free plan</p>
|
||||
<a href="https://plane.so/pricing" target="_blank" rel="noreferrer">
|
||||
<a href={MARKETING_PRICING_PAGE_LINK} target="_blank" rel="noreferrer">
|
||||
<Button variant="neutral-primary">View Plans</Button>
|
||||
</a>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user