New goals page. Upgraded prisma.

This commit is contained in:
Mike Cao 2025-05-31 02:11:18 -07:00
parent 99330a1a4d
commit 49bcbfd7f9
65 changed files with 769 additions and 1195 deletions

View file

@ -4,15 +4,14 @@ import { Logo } from '@/components/icons';
export interface EmptyPlaceholderProps {
message?: string;
icon?: ReactNode;
children?: ReactNode;
}
export function EmptyPlaceholder({ message, children }: EmptyPlaceholderProps) {
export function EmptyPlaceholder({ message, icon, children }: EmptyPlaceholderProps) {
return (
<Column alignItems="center" justifyContent="center" gap="5" height="100%" width="100%">
<Icon size="xl" fillColor="3" strokeColor="3">
<Logo />
</Icon>
<Icon size="xl">{icon || <Logo />}</Icon>
<Text>{message}</Text>
<div>{children}</div>
</Column>