diff --git a/apps/web/src/components/SecurityWarningBanner.tsx b/apps/web/src/components/SecurityWarningBanner.tsx index 56de234..00149dc 100644 --- a/apps/web/src/components/SecurityWarningBanner.tsx +++ b/apps/web/src/components/SecurityWarningBanner.tsx @@ -13,27 +13,27 @@ export function SecurityWarningBanner({status}: SecurityWarningBannerProps) { return null; } - const sevenDayBounceRate = status.sevenDay.bounceRate.toFixed(2); - const sevenDayComplaintRate = status.sevenDay.complaintRate.toFixed(3); - return ( Security Warning - Action Required - -
-

- Your project has exceeded security thresholds. Current rates: 7-day bounce rate{' '} - {sevenDayBounceRate}%, 7-day complaint rate{' '} - {sevenDayComplaintRate}%. + +

+

+ Your project has exceeded the following security thresholds:

-

+

    + {status.warnings.map((warning, idx) => ( +
  • {warning}
  • + ))} +
+

High bounce or complaint rates can lead to project suspension. Review the detailed metrics and take action to improve your email quality.

-