feat(ui): add activity log page backed by actions_log
This commit is contained in:
@@ -3,6 +3,7 @@ import { DashboardControls } from "@/components/dashboard/dashboard-controls";
|
||||
import { getServerAgencyContextOrRedirect } from "@/lib/agency";
|
||||
import type { Database } from "@/lib/types";
|
||||
import { createSupabaseServerClient } from "@/lib/supabase/server";
|
||||
import Link from "next/link";
|
||||
|
||||
type AgencySummary = Pick<
|
||||
Database["public"]["Tables"]["agencies"]["Row"],
|
||||
@@ -238,7 +239,15 @@ export default async function DashboardPage() {
|
||||
</h1>
|
||||
<p className="text-sm text-slate-600">Role: {context.role}</p>
|
||||
</div>
|
||||
<SignOutButton />
|
||||
<div className="flex items-center gap-3">
|
||||
<Link
|
||||
href="/dashboard/activity"
|
||||
className="text-sm text-brand-700 underline"
|
||||
>
|
||||
Activity
|
||||
</Link>
|
||||
<SignOutButton />
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section className="grid gap-4 md:grid-cols-3">
|
||||
|
||||
Reference in New Issue
Block a user