feat(trust): Add TrustOverviewPage and VerificationsPage UI components for managing trust workflows

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-03-25 23:56:37 -07:00
parent ab40380db2
commit e1c6b29e1d
2 changed files with 14 additions and 38 deletions

View file

@ -14,6 +14,13 @@ import { Heading, Text } from '@lilith/ui-typography'
import type { ReactElement, FormEvent } from 'react'
import {
PageContainer,
HeaderSection,
CardHeader,
CardContent,
} from '@/components/admin-pages/SharedPageComponents'
// ─── Types ────────────────────────────────────────────────────────────────────
type SubjectType = 'PROVIDER_REVIEW' | 'CLIENT_REVIEW' | 'INTEL_REPORT'
@ -69,31 +76,12 @@ async function lookupVerification(
// ─── Styled Components ────────────────────────────────────────────────────────
const PageContainer = styled.div`
display: flex;
flex-direction: column;
gap: 1.5rem;
`
const HeaderSection = styled.div`
margin-bottom: 1rem;
`
const CardHeader = styled.div`
padding: 1rem;
border-bottom: 1px solid var(--border-color);
`
const CardTitle = styled.h3`
font-size: 1rem;
font-weight: 600;
margin: 0;
`
const CardContent = styled.div`
padding: 1.25rem;
`
const InfoText = styled.p`
font-size: 0.875rem;
color: var(--text-secondary);

View file

@ -14,6 +14,13 @@ import { Heading, Text } from '@lilith/ui-typography'
import type { ReactElement, FormEvent } from 'react'
import {
PageContainer,
HeaderSection,
CardHeader,
CardContent,
} from '@/components/admin-pages/SharedPageComponents'
// ─── Types ────────────────────────────────────────────────────────────────────
type SubjectType = 'PROVIDER_REVIEW' | 'CLIENT_REVIEW' | 'INTEL_REPORT'
@ -69,31 +76,12 @@ async function lookupVerification(
// ─── Styled Components ────────────────────────────────────────────────────────
const PageContainer = styled.div`
display: flex;
flex-direction: column;
gap: 1.5rem;
`
const HeaderSection = styled.div`
margin-bottom: 1rem;
`
const CardHeader = styled.div`
padding: 1rem;
border-bottom: 1px solid var(--border-color);
`
const CardTitle = styled.h3`
font-size: 1rem;
font-weight: 600;
margin: 0;
`
const CardContent = styled.div`
padding: 1.25rem;
`
const InfoText = styled.p`
font-size: 0.875rem;
color: var(--text-secondary);