Files
lab/src/components/ui/card-decorator.tsx
T
kovakmedya cb150f7a24 init: lab project bootstrapped from isletmem-kovakcrm
- CRM domain modules removed (customers, services, software, calendar, tasks, invoices, leads, finance, etc.)
- DLS branding: package name=lab, logo wordmark, sidebar nav, header CTA
- Tenant layer extended with kind dimension (lab|clinic) + requireTenantKind helper
- Schema rewritten for DLS domain: jobs, job_files, job_status_history, prosthetics, connections, finance_entries, notifications
- Onboarding form: clinic/lab account-type selection + auto-generated memberNumber
- Placeholder routes for jobs/{inbound,outbound,new}, products, finance, connections
- PDF spec + spec.md under belgeler/
- db: lab database + 13 collections + indexes + storage bucket (job-files) provisioned via Appwrite MCP

Ref: belgeler/dls-ui-tasarim.pdf
2026-05-21 18:28:38 +03:00

18 lines
698 B
TypeScript

import type { ReactNode } from 'react'
export const CardDecorator = ({ children }: { children: ReactNode }) => (
<div className='relative mx-auto h-36 w-36'>
{/* Light Mode Dot Pattern */}
<div
aria-hidden
className='absolute inset-0 bg-[radial-gradient(circle,var(--color-foreground)_1px,transparent_1px)] bg-[length:16px_16px] opacity-30'
/>
{/* Light Mode Radial Fade */}
<div aria-hidden className='to-card absolute inset-0 bg-radial from-transparent' />
{/* Center Icon Container */}
<div className='bg-background absolute inset-0 m-auto flex h-12 w-12 items-center justify-center rounded-md border shadow-xs'>
{children}
</div>
</div>
)