import React, { useState } from 'react'; import Alert from '../../../components/ui/alert/Alert'; import { useToast } from '../../../components/ui/toast/ToastContainer'; import PageMeta from '../../../components/common/PageMeta'; export default function Notifications() { const toast = useToast(); // State for inline notifications (for demo purposes) const [showSuccess, setShowSuccess] = useState(true); const [showInfo, setShowInfo] = useState(true); const [showWarning, setShowWarning] = useState(true); const [showError, setShowError] = useState(true); return ( <>
{/* Components Grid */}
{/* Announcement Bar Card */}

Announcement Bar

{/* Lightning bolt icon */}

New update! Available

Enjoy improved functionality and enhancements.

{/* Toast Notification Card */}

Toast Notification

Toast notifications appear in the top right corner with margin from top. They have a thin light gray border around the entire perimeter.

{/* Success Notification Card */}

Success Notification

{showSuccess && (
)} {!showSuccess && ( )}
{/* Info Notification Card */}

Info Notification

{showInfo && (
)} {!showInfo && ( )}
{/* Warning Notification Card */}

Warning Notification

{showWarning && (
)} {!showWarning && ( )}
{/* Error Notification Card */}

Error Notification

{showError && (
)} {!showError && ( )}
); }