Fix: Add learn more to both alerts

This commit is contained in:
Daniel Hougaard
2024-02-27 06:01:22 +01:00
parent 9d2a0f1d54
commit 5d71b02f8d

View File

@@ -110,12 +110,19 @@ export const UpgradeProjectAlert = ({ project }: UpgradeProjectAlertProps): JSX.
</Link> </Link>
</> </>
) : ( ) : (
<p> <>
<span className="font-bold">Please ask a project admin to upgrade the project.</span> <p>
<br /> <span className="font-bold">Please ask a project admin to upgrade the project.</span>
Upgrading the project version is required to continue receiving the latest improvements <br />
and patches. Upgrading the project version is required to continue receiving the latest
</p> improvements and patches.
</p>
<Link href="/docs/documentation/platform/project-upgrade">
<a target="_blank" className="text-primary-400">
Learn more
</a>
</Link>
</>
)} )}
{currentStatus && <p className="mt-2 opacity-80">Status: {currentStatus}</p>} {currentStatus && <p className="mt-2 opacity-80">Status: {currentStatus}</p>}
</div> </div>