"use client"; import React from "react"; import { observer } from "mobx-react"; import Image from "next/image"; import { useTranslation } from "@plane/i18n"; // ui import { ContentWrapper, getButtonStyling } from "@plane/ui"; // components import { ProIcon } from "@/components/common"; // constants import { MARKETING_PRICING_PAGE_LINK } from "@/constants/common"; import { WORKSPACE_ACTIVE_CYCLES_DETAILS } from "@/constants/cycle"; // helper import { cn } from "@/helpers/common.helper"; // hooks import { useUser } from "@/hooks/store"; export const WorkspaceActiveCyclesUpgrade = observer(() => { const { t } = useTranslation(); // store hooks const { userProfile: { data: userProfile }, } = useUser(); const isDarkMode = userProfile?.theme.theme === "dark"; return (

{t("on_demand_snapshots_of_all_your_cycles")}

{t("active_cycles_description")}

{t("upgrade")}
l-1
r-1 r-2
{WORKSPACE_ACTIVE_CYCLES_DETAILS.map((item) => (

{t(item.key)}

{t(`${item.key}_description`)}
))}
); });