feat(pit): improve banner messaging

This commit is contained in:
carlosmonastyrski
2025-06-12 11:28:56 -03:00
parent dbf7ecc9b6
commit 64e09b0dcd
3 changed files with 16 additions and 6 deletions
@@ -42,7 +42,7 @@ export const PitDrawer = ({
<div className="flex flex-col space-y-2">
<NoticeBannerV2 title="Snapshots are being deprecated" className="mb-2">
<p className="my-1 text-sm text-mineshaft-300">
Snapshots are being deprecated in favor of{" "}
Snapshots will be replaced by{" "}
<a
target="_blank"
href="https://infisical.com/docs/documentation/platform/pit-recovery"
@@ -50,8 +50,9 @@ export const PitDrawer = ({
className="underline decoration-primary underline-offset-2 hover:text-mineshaft-200"
>
Commits
</a>
. This feature will be officially removed in November 2025.
</a>{" "}
to track history going forward. This feature will be officially removed in November
2025.
</p>
</NoticeBannerV2>
{secretSnaphots?.pages?.map((group, i) => (
@@ -161,7 +161,7 @@ export const SnapshotView = ({
</div>
<NoticeBannerV2 title="Snapshots are being deprecated" className="my-2">
<p className="my-1 text-sm text-mineshaft-300">
Snapshots are being deprecated in favor of{" "}
Snapshots will be replaced by{" "}
<a
target="_blank"
href="https://infisical.com/docs/documentation/platform/pit-recovery"
@@ -169,8 +169,8 @@ export const SnapshotView = ({
className="underline decoration-primary underline-offset-2 hover:text-mineshaft-200"
>
Commits
</a>
. This feature will be officially removed in November 2025.
</a>{" "}
to track history going forward. This feature will be officially removed in November 2025.
</p>
</NoticeBannerV2>
<div className="mt-4 flex items-center space-x-2">