import { Bell, Mail, Smartphone } from "lucide-react";
import { Checkbox } from "@/components/ui/checkbox";
import { Switch } from "@/components/ui/switch";
import {
Table,
TableBody,
TableCell,
TableHead,
TableHeader,
TableRow,
} from "@/components/ui/table";
import { cn } from "@/lib/utils";
interface NotificationSettingItem {
id: string;
title: string;
description: string;
email: boolean;
app: boolean;
}
interface NotificationSettingsTableProps {
notificationSettings: NotificationSettingItem[];
}
const NotificationSettingsTable = ({
notificationSettings,
}: NotificationSettingsTableProps) => {
return (
موضوع اطلاعرسانی
ایمیل
اپلیکیشن
{notificationSettings.map((notification) => {
return (
{notification.title}
{notification.description}
);
})}
);
};
interface SettingsNotifications1Props {
heading?: string;
subHeading?: string;
className?: string;
notificationSettings?: NotificationSettingItem[];
}
const SettingsNotifications1 = ({
heading = "اعلانها",
subHeading = "تنظیمات ایمیل و اعلانهای فوری خود را مدیریت کنید.",
notificationSettings = [
{
id: "mentions",
title: "ارجاع مستقیم",
description:
"وقتی همتیمی شما را به یک لید، تسک یا گفتوگو ارجاع میدهد، مطلع شوید.",
email: true,
app: true,
},
{
id: "replies",
title: "پاسخ به نظرات",
description: "وقتی دیگران به گفتوگوهای شما پاسخ میدهند، بهروزرسانی دریافت کنید.",
email: true,
app: true,
},
{
id: "access-requests",
title: "درخواستهای دسترسی",
description:
"از درخواستهای مجوز و تغییر وضعیت تأیید مطلع بمانید.",
email: true,
app: true,
},
{
id: "task-assignments",
title: "تکالیف جدید",
description: "وقتی وظیفه یا موردی به شما محول میشود، مطلع شوید.",
email: true,
app: true,
},
{
id: "shared-items",
title: "محتوای اشتراکگذاریشده",
description:
"وقتی همکاران فایل، لینک یا محتوای دیگری با شما به اشتراک میگذارند، مطلع شوید.",
email: true,
app: true,
},
],
className,
}: SettingsNotifications1Props) => {
return (
خلاصه صبحگاهی
مروری روزانه بر برجستهترین فعالیتها و مهلتهای پیش رو.
);
};
export { SettingsNotifications1 };