diff --git a/client/hooks/use-aethex-toast.ts b/client/hooks/use-aethex-toast.ts
index d8a38da6..663fe38d 100644
--- a/client/hooks/use-aethex-toast.ts
+++ b/client/hooks/use-aethex-toast.ts
@@ -1,5 +1,4 @@
import { toast as baseToast } from "@/components/ui/use-toast";
-import { Zap, CheckCircle, AlertTriangle, Info, Sparkles } from "lucide-react";
interface AethexToastOptions {
title?: string;
@@ -10,12 +9,7 @@ interface AethexToastOptions {
export const useAethexToast = () => {
const success = (options: AethexToastOptions) => {
return baseToast({
- title: (
-
-
- {options.title || "Success"}
-
- ),
+ title: `✅ ${options.title || "Success"}`,
description: options.description,
duration: options.duration || 5000,
variant: "success" as any,
@@ -24,12 +18,7 @@ export const useAethexToast = () => {
const error = (options: AethexToastOptions) => {
return baseToast({
- title: (
-
-
- {options.title || "Error"}
-
- ),
+ title: `⚡ ${options.title || "Error"}`,
description: options.description,
duration: options.duration || 5000,
variant: "destructive",
@@ -38,12 +27,7 @@ export const useAethexToast = () => {
const warning = (options: AethexToastOptions) => {
return baseToast({
- title: (
-
-
-
{options.title || "Warning"}
-
- ),
+ title: `⚠️ ${options.title || "Warning"}`,
description: options.description,
duration: options.duration || 5000,
variant: "warning" as any,
@@ -52,12 +36,7 @@ export const useAethexToast = () => {
const info = (options: AethexToastOptions) => {
return baseToast({
- title: (
-
-
- {options.title || "Information"}
-
- ),
+ title: `ℹ️ ${options.title || "Information"}`,
description: options.description,
duration: options.duration || 5000,
variant: "info" as any,
@@ -66,24 +45,29 @@ export const useAethexToast = () => {
const aethex = (options: AethexToastOptions) => {
return baseToast({
- title: (
-
-
- {options.title || "AeThex OS"}
-
- ),
+ title: `✨ ${options.title || "AeThex OS"}`,
description: options.description,
duration: options.duration || 6000,
variant: "aethex" as any,
});
};
+ const system = (message: string) => {
+ return baseToast({
+ title: "🔧 AeThex OS",
+ description: message,
+ duration: 4000,
+ variant: "aethex" as any,
+ });
+ };
+
return {
success,
error,
warning,
info,
aethex,
- toast: baseToast, // Fallback to original toast
+ system,
+ toast: baseToast,
};
-};
\ No newline at end of file
+};