feat: add status screen
This commit is contained in:
parent
14ddb9e860
commit
f837e9d224
15
app/components/ui/status-screen.tsx
Normal file
15
app/components/ui/status-screen.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import type { ReactNode } from 'react';
|
||||||
|
import { Glow } from '~/components/ui/glow';
|
||||||
|
import { IconMessage, type IconMessageProps } from '~/components/ui/icon-message';
|
||||||
|
|
||||||
|
export function StatusScreen({ children, ...props }: Omit<IconMessageProps, 'size'> & { children?: ReactNode }) {
|
||||||
|
return (
|
||||||
|
<main className='relative flex min-h-screen items-center justify-center overflow-hidden bg-background px-6'>
|
||||||
|
<Glow className='top-1/3 left-1/2 h-80 w-80 -translate-x-1/2' />
|
||||||
|
<div className='relative z-10 max-w-sm animate-fade-up'>
|
||||||
|
<IconMessage size='lg' {...props} />
|
||||||
|
{children}
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
);
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user