update pages

This commit is contained in:
Ren Amamiya
2023-05-06 09:58:35 +07:00
parent 306b09ce64
commit 19796794b0
3 changed files with 50 additions and 39 deletions

View File

@@ -45,7 +45,9 @@ export function Page() {
}, [fetchNextPage, allRows.length, rowVirtualizer.getVirtualItems()]); }, [fetchNextPage, allRows.length, rowVirtualizer.getVirtualItems()]);
return ( return (
<div className="relative h-full w-full rounded-lg border border-zinc-800 bg-zinc-900 shadow-input shadow-black/20"> <div className="flex h-full flex-col justify-between gap-4">
<div className="flex h-11 w-full shrink-0 items-center justify-between border-b border-zinc-800"></div>
<div className="relative flex w-full flex-1 flex-col justify-between rounded-lg border border-zinc-800 bg-zinc-900 shadow-input shadow-black/20">
{status === 'loading' ? ( {status === 'loading' ? (
<Placeholder /> <Placeholder />
) : status === 'error' ? ( ) : status === 'error' ? (
@@ -88,5 +90,6 @@ export function Page() {
)} )}
<div>{isFetching && !isFetchingNextPage ? <Placeholder /> : null}</div> <div>{isFetching && !isFetchingNextPage ? <Placeholder /> : null}</div>
</div> </div>
</div>
); );
} }

View File

@@ -1,3 +1,7 @@
export default function Page() { export function Page() {
return <></>; return (
<div>
<p>MySpace</p>
</div>
);
} }

View File

@@ -1,3 +1,7 @@
export default function Page() { export function Page() {
return <></>; return (
<div>
<p>MySpace</p>
</div>
);
} }