diff --git a/src/app/(dashboard)/admin/page.tsx b/src/app/(dashboard)/admin/page.tsx index 5f8bd7d4..1a66226f 100644 --- a/src/app/(dashboard)/admin/page.tsx +++ b/src/app/(dashboard)/admin/page.tsx @@ -4,26 +4,82 @@ import CountChartContainer from "@/components/CountChartContainer"; import EventCalendarContainer from "@/components/EventCalendarContainer"; import FinanceChart from "@/components/FinanceChart"; import UserCard from "@/components/UserCard"; +import Link from "next/link"; +import Image from "next/image"; const AdminPage = ({ searchParams, }: { searchParams: { [keys: string]: string | undefined }; }) => { + // Get current date for greeting + const today = new Date(); + const hour = today.getHours(); + let greeting = "Good morning"; + if (hour >= 12 && hour < 17) greeting = "Good afternoon"; + if (hour >= 17) greeting = "Good evening"; + return (
+ Here's what's happening at Flood of Life Embassy today. +
+ + {/* Quick Action Buttons */} +Contributions (MTD)
+₵45.2K
+↑ 12% from last month
+Attendance (Sun)
+328
+78% of members
+New tithe recorded
+5 minutes ago • Member #1234
+New prayer request
+15 minutes ago • Sister Mary
+New member registered
+1 hour ago • John Doe
+12
+Services This Week
+8
+Prayer Meetings
+5
+Outreach Programs
+3
+Baptisms
+