refactor: refactor superadmin modules

This commit is contained in:
2026-06-17 01:35:09 +05:30
parent 6f4399a048
commit 1325afdab2
40 changed files with 1709 additions and 1320 deletions

View File

@@ -5,14 +5,14 @@ import { Table } from '@tanstack/react-table';
const TableHeader = <TData, _>({ table }: { table: Table<TData> }) => {
return (
<ShadTableHeader className="sticky top-0 z-10 bg-card">
<ShadTableHeader className="sticky top-0 z-10 bg-card/80 backdrop-blur-xl">
{table.getHeaderGroups().map((headerGroup) => (
<TableRow key={headerGroup.id}>
{headerGroup.headers.map((header) => {
return (
<TableHead
key={header.id}
className="h-10 px-2 text-foreground bg-card"
className="h-10 bg-card/80 px-2 text-foreground backdrop-blur-xl"
>
{header.isPlaceholder ? null : (
<div className="flex items-center gap-2">