feat: add Notification component with styling and integration in the main page

This commit is contained in:
2026-05-15 21:26:16 +02:00
parent b807a2a3c4
commit e8ed7e2a73
4 changed files with 100 additions and 0 deletions
+9
View File
@@ -7,11 +7,20 @@ import {
SearchIcon, SettingsIcon, ShareIcon, ShieldIcon, SortIcon, StatsIcon,
UploadIcon,
} from '../components/Icons/index.ts';
import Notification from '../components/Notifications/notification.astro';
---
<Layout>
<main>
<h1>Nova Design System</h1>
<section>
<h2>Notifications — Error / Warning / Success / Info</h2>
<div style="max-width: 400px;">
<Notification type="error">
An error occurred during the operation. Please try again.
</Notification>
</div>
</section>
<section>
<h2>Icon — 16 / 24 / 32</h2>
<div class="icon-grid">