aboutsummaryrefslogtreecommitdiff
path: root/components/PSA.js
diff options
context:
space:
mode:
Diffstat (limited to 'components/PSA.js')
-rw-r--r--components/PSA.js17
1 files changed, 11 insertions, 6 deletions
diff --git a/components/PSA.js b/components/PSA.js
index 8dad8b3..108924a 100644
--- a/components/PSA.js
+++ b/components/PSA.js
@@ -11,11 +11,16 @@ const PSA = () => {
defaultStyle += ' ' + styleImportant
break;
case 1:
+ important = "Latest News:"
+ styleImportant = "bg-zinc-700"
+ defaultStyle += ' ' + styleImportant
+ break;
+ case 2:
important = "WARNING!"
styleImportant = "bg-yellow-700"
defaultStyle += ' ' + styleImportant
break;
- case 2:
+ case 3:
important = "EMERGENCY!"
styleImportant = "bg-red-800"
defaultStyle += ' ' + styleImportant
@@ -29,11 +34,11 @@ const PSA = () => {
<div className="flex flex-row space-x-3">
<p>{psaMessage.announcement}</p>
<p className="text-blue-200 hover:text-blue-500 active:text-blue-700">
- {psaMessage.link && (
- <Link href={psaMessage.link}>
- Learn more ↗
- </Link>
- )}</p>
+ {psaMessage.link && (
+ <Link href={psaMessage.link}>
+ Learn more ↗
+ </Link>
+ )}</p>
</div>
</div>
)