Finished migration

This commit is contained in:
Daniel Hougaard
2024-02-22 05:00:40 +01:00
parent 0f98fc94f0
commit bb6e8b1a51
7 changed files with 44 additions and 54 deletions
@@ -86,18 +86,18 @@ export const UpgradeProjectAlert = ({ project }: UpgradeProjectAlertProps): JSX.
if (membership.role !== "admin") return null;
return (
<div className="mt-4 w-full border rounded-md p-4 text-base border-primary-600/70 bg-primary/[.07] text-white flex flex-row items-center">
<FontAwesomeIcon icon={faWarning} className="text-white/80 text-6xl pr-6"/>
<div className="text-sm flex flex-col w-full">
<span className="text-lg font-semibold mb-2">Upgrade your project</span>
<div className="mt-4 flex w-full flex-row items-center rounded-md border border-primary-600/70 bg-primary/[.07] p-4 text-base text-white">
<FontAwesomeIcon icon={faWarning} className="pr-6 text-6xl text-white/80" />
<div className="flex w-full flex-col text-sm">
<span className="mb-2 text-lg font-semibold">Upgrade your project</span>
Upgrade your project version to continue receiving the latest improvements and patches.
{currentStatus && <p className="mt-2 opacity-80">Status: {currentStatus}</p>}
</div>
<div className="my-2">
<Button isLoading={isLoading} isDisabled={isLoading} onClick={onUpgradeProject}>
Upgrade
</Button>
</div>
<Button isLoading={isLoading} isDisabled={isLoading} onClick={onUpgradeProject}>
Upgrade
</Button>
</div>
</div>
);
};