-
Dashboard
+
Dashboard
Quick Task
diff --git a/app/(app)/financials/page.tsx b/app/(app)/financials/page.tsx
index 93725f9..dae3563 100644
--- a/app/(app)/financials/page.tsx
+++ b/app/(app)/financials/page.tsx
@@ -2,6 +2,7 @@ import { redirect } from 'next/navigation'
import Link from 'next/link'
import { createClient } from '@/lib/supabase/server'
import type { FinancialVisibility, Payment, Space } from '@/lib/types'
+import { PageTitle } from '@/components/ui/page-title'
export const dynamic = 'force-dynamic'
@@ -176,7 +177,7 @@ function PageShell({ title, children }: { title: string; children: React.ReactNo
return (
diff --git a/app/(app)/import/page.tsx b/app/(app)/import/page.tsx
index 950ae18..9f2ee51 100644
--- a/app/(app)/import/page.tsx
+++ b/app/(app)/import/page.tsx
@@ -1,5 +1,6 @@
import { createClient } from '@/lib/supabase/server'
import ImportClient from './import-client'
+import { PageTitle } from '@/components/ui/page-title'
export default async function ImportPage() {
const supabase = await createClient()
@@ -22,7 +23,7 @@ export default async function ImportPage() {
return (
-
Import & Sync
+
Import & Sync
CSV import ยท member & payment data
diff --git a/app/(app)/incidents/new/page.tsx b/app/(app)/incidents/new/page.tsx
index 1952574..1fe7f32 100644
--- a/app/(app)/incidents/new/page.tsx
+++ b/app/(app)/incidents/new/page.tsx
@@ -1,6 +1,7 @@
import { redirect } from 'next/navigation'
import { createClient } from '@/lib/supabase/server'
import { IncidentForm } from './incident-form'
+import { PageTitle } from '@/components/ui/page-title'
export const dynamic = 'force-dynamic'
@@ -27,7 +28,7 @@ export default async function NewIncidentPage() {
return (
-
File a report
+
File a report
} />
diff --git a/app/(app)/incidents/page.tsx b/app/(app)/incidents/page.tsx
index 27b7a9b..c5b4075 100644
--- a/app/(app)/incidents/page.tsx
+++ b/app/(app)/incidents/page.tsx
@@ -2,6 +2,7 @@ import Link from 'next/link'
import { redirect } from 'next/navigation'
import { createClient } from '@/lib/supabase/server'
import type { Incident, IncidentStatus } from '@/lib/types'
+import { PageTitle } from '@/components/ui/page-title'
export const dynamic = 'force-dynamic'
@@ -44,7 +45,7 @@ export default async function IncidentsPage() {
return (
-
Incidents
+
Incidents
type AreaLeadRole = { id: string; area_name: string; lead_id: string | null }
@@ -194,7 +195,7 @@ export function MembersClient({ members: initialMembers, currentRole, areaLeadRo
-
Members
+
Members
{total} total
{isAdmin(currentRole) && (
diff --git a/app/(app)/members/page.tsx b/app/(app)/members/page.tsx
index 75484f9..c477746 100644
--- a/app/(app)/members/page.tsx
+++ b/app/(app)/members/page.tsx
@@ -1,4 +1,5 @@
import { createClient } from '@/lib/supabase/server'
+import { PageHeader, PageTitle } from '@/components/ui/page-title'
import { MembersClient } from './members-client'
// member_directory_visibility values come from space settings:
@@ -38,14 +39,18 @@ export default async function MembersPage() {
if (!allowed) {
return (
-
-
Members
-
-
The member directory is restricted in this space.
-
- A space admin has set member directory visibility to {visibility}.
- Contact an admin if you need access.
-
+
+
+ Members
+
+
+
+
The member directory is restricted in this space.
+
+ A space admin has set member directory visibility to {visibility}.
+ Contact an admin if you need access.
+
+
)
diff --git a/app/(app)/ops/[id]/kb-entry-editor.tsx b/app/(app)/ops/[id]/kb-entry-editor.tsx
index f747ad5..445415c 100644
--- a/app/(app)/ops/[id]/kb-entry-editor.tsx
+++ b/app/(app)/ops/[id]/kb-entry-editor.tsx
@@ -7,6 +7,7 @@ import { ArrowLeft, Pin, Lock } from 'lucide-react'
import { createKbEntry, updateKbEntry } from '@/lib/actions'
import { toast } from 'sonner'
import type { Tables } from '@/types/database'
+import { PageTitle } from '@/components/ui/page-title'
interface Props {
entry?: Tables<'knowledge_base'>
@@ -50,7 +51,7 @@ export default function KbEntryEditor({ entry, member }: Props) {
-
{isEdit ? 'Edit Entry' : 'New KB Entry'}
+
{isEdit ? 'Edit Entry' : 'New KB Entry'}
diff --git a/app/(app)/ops/ops-client.tsx b/app/(app)/ops/ops-client.tsx
index e2bdce5..1ec2c20 100644
--- a/app/(app)/ops/ops-client.tsx
+++ b/app/(app)/ops/ops-client.tsx
@@ -11,6 +11,7 @@ import { OpsAclEditor } from '@/components/ops/ops-acl-editor'
import { createClient } from '@/lib/supabase/client'
import { toast } from 'sonner'
import type { Tables, TablesInsert } from '@/types/database'
+import { PageTitle } from '@/components/ui/page-title'
type KbEntry = Tables<'knowledge_base'>
type AreaLead = Tables<'area_leads'>
@@ -614,7 +615,7 @@ export function OpsClient({ member, spaceId, kbEntries: initial, areaLeads: init
{/* Header */}
-
Ops & Facilities
+
Ops & Facilities
{(activeTab === 'kb' || activeTab === 'processes') && (