diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2023-07-18 14:17:24 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2023-07-18 14:17:24 -0400 |
| commit | db2b5e5a72a7bd519a3476a77470e42f3bed5d30 (patch) | |
| tree | a68dafe97b9d126d60a6bcd8f06b5bb3c968b1be /components/PSA.js | |
| parent | c4c55a93bc6af8b15f45225169758e08ff1b13cd (diff) | |
| download | sei-website-db2b5e5a72a7bd519a3476a77470e42f3bed5d30.tar.gz sei-website-db2b5e5a72a7bd519a3476a77470e42f3bed5d30.tar.bz2 sei-website-db2b5e5a72a7bd519a3476a77470e42f3bed5d30.zip | |
Fonts and image changesalure
Diffstat (limited to 'components/PSA.js')
| -rw-r--r-- | components/PSA.js | 17 |
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> ) |
