diff --git a/app/Views/Components/Alert.php b/app/Views/Components/Alert.php
index 9cf30075..a653b005 100644
--- a/app/Views/Components/Alert.php
+++ b/app/Views/Components/Alert.php
@@ -19,16 +19,24 @@ class Alert extends Component
public function render(): string
{
- $variantClasses = [
- 'default' => 'text-gray-800 bg-gray-100 border-gray-300',
- 'success' => 'text-pine-900 bg-pine-100 border-pine-300',
- 'danger' => 'text-red-900 bg-red-100 border-red-300',
- 'warning' => 'text-yellow-900 bg-yellow-100 border-yellow-300',
+ $variants = [
+ 'success' => [
+ 'class' => 'text-pine-900 bg-pine-100 border-pine-300',
+ 'glyph' => 'check',
+ ],
+ 'danger' => [
+ 'class' => 'text-red-900 bg-red-100 border-red-300',
+ 'glyph' => 'close',
+ ],
+ 'warning' => [
+ 'class' => 'text-yellow-900 bg-yellow-100 border-yellow-300',
+ 'glyph' => 'alert',
+ ],
];
- $glyph = $this->glyph === null ? '' : '