2024-10-29 19:26:00 +05:30
|
|
|
import { observer } from "mobx-react";
|
2025-01-03 14:16:26 +05:30
|
|
|
import { useTranslation } from "@plane/i18n";
|
2025-08-06 22:24:47 +05:30
|
|
|
import { PlaneLogo } from "@plane/ui";
|
2024-10-29 19:26:00 +05:30
|
|
|
// helpers
|
2025-06-16 17:18:41 +05:30
|
|
|
import { cn } from "@plane/utils";
|
2024-10-29 19:26:00 +05:30
|
|
|
// package.json
|
|
|
|
|
import packageJson from "package.json";
|
|
|
|
|
|
2025-01-03 14:16:26 +05:30
|
|
|
export const ProductUpdatesHeader = observer(() => {
|
|
|
|
|
const { t } = useTranslation();
|
|
|
|
|
return (
|
|
|
|
|
<div className="flex gap-2 mx-6 my-4 items-center justify-between flex-shrink-0">
|
|
|
|
|
<div className="flex w-full items-center">
|
|
|
|
|
<div className="flex gap-2 text-xl font-medium">{t("whats_new")}</div>
|
2025-07-08 20:41:11 +05:30
|
|
|
<div
|
2025-01-03 14:16:26 +05:30
|
|
|
className={cn(
|
|
|
|
|
"px-2 mx-2 py-0.5 text-center text-xs font-medium rounded-full bg-custom-primary-100/20 text-custom-primary-100"
|
|
|
|
|
)}
|
|
|
|
|
>
|
|
|
|
|
{t("version")}: v{packageJson.version}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="flex flex-shrink-0 items-center gap-8">
|
2025-08-06 22:24:47 +05:30
|
|
|
<PlaneLogo className="h-6 w-auto text-custom-text-100" />
|
2024-10-29 19:26:00 +05:30
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-01-03 14:16:26 +05:30
|
|
|
);
|
|
|
|
|
});
|