website refactor
This commit is contained in:
25
apps/website/components/onboarding/OnboardingError.tsx
Normal file
25
apps/website/components/onboarding/OnboardingError.tsx
Normal file
@@ -0,0 +1,25 @@
|
||||
import { Box } from '../../ui/primitives/Box';
|
||||
import { Text } from '../../ui/Text';
|
||||
|
||||
interface OnboardingErrorProps {
|
||||
message: string;
|
||||
}
|
||||
|
||||
export function OnboardingError({ message }: OnboardingErrorProps) {
|
||||
return (
|
||||
<Box
|
||||
mt={6}
|
||||
display="flex"
|
||||
alignItems="start"
|
||||
gap={3}
|
||||
p={4}
|
||||
rounded="xl"
|
||||
bg="bg-red-500/10"
|
||||
border
|
||||
borderColor="border-red-500/30"
|
||||
>
|
||||
<Text color="text-red-400" flexShrink={0} mt={0.5}>⚠</Text>
|
||||
<Text size="sm" color="text-red-400">{message}</Text>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user