diff --git a/public/images/notifications-empty-state.png b/public/images/notifications-empty-state.png new file mode 100644 index 0000000..c1c3a08 Binary files /dev/null and b/public/images/notifications-empty-state.png differ diff --git a/src/components/NotificationsPageContent.tsx b/src/components/NotificationsPageContent.tsx index 21aa57d..7cf3eea 100644 --- a/src/components/NotificationsPageContent.tsx +++ b/src/components/NotificationsPageContent.tsx @@ -1,10 +1,12 @@ "use client"; import { useCallback, useEffect, useRef, useState } from "react"; -import { ArrowLeft, ChevronDown, Loader2, Trash2 } from "lucide-react"; +import { ArrowLeft, Loader2, Trash2 } from "lucide-react"; +import Image from "next/image"; import ConfirmAction from "@/components/ConfirmAction"; import Markdown from "@/components/Markdown"; import { Button } from "@/components/ui/button"; +import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { useAuth } from "@/contexts/AuthContext"; import { useNotifications } from "@/contexts/NotificationsContext"; import { toast } from "@/hooks/use-toast"; @@ -170,26 +172,33 @@ export default function NotificationsPageContent() {

اعلان‌های من

{loading ? (
در حال بارگذاری اعلان‌ها...
) : items.length === 0 ? ( -
اعلانی برای نمایش وجود ندارد.
+
+ +

اعلانی برای نمایش وجود ندارد.

+
) : (
{items.map((item) => {