mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2026-05-08 09:38:55 -04:00
0e46fdafb2
- Implemented `AdministrationContent` component for managing account roles. - Created `AdministrationPage` to serve as the main entry point for administration tasks. - Added PDF preview functionality with `PdfPreviewFrame` component for invoice generation. - Introduced `InputColor` component for advanced color selection with various formats. - Established color conversion utilities in `color-converter.ts` for handling color formats. - Defined appearance-related schemas and types in `appearance.ts` for consistent theme management.
24 lines
706 B
TypeScript
24 lines
706 B
TypeScript
import { Suspense } from "react";
|
|
import { HydrateClient } from "~/trpc/server";
|
|
import { PageHeader } from "~/components/layout/page-header";
|
|
import { DataTableSkeleton } from "~/components/data/data-table";
|
|
import { SettingsContent } from "./_components/settings-content";
|
|
|
|
export default async function SettingsPage() {
|
|
return (
|
|
<div className="page-enter space-y-6">
|
|
<PageHeader
|
|
title="Settings"
|
|
description="Manage your account preferences and data"
|
|
variant="gradient"
|
|
/>
|
|
|
|
<HydrateClient>
|
|
<Suspense fallback={<DataTableSkeleton columns={1} rows={4} />}>
|
|
<SettingsContent />
|
|
</Suspense>
|
|
</HydrateClient>
|
|
</div>
|
|
);
|
|
}
|