OrangeTV/src/pages/warning-client.tsx

73 lines
2.8 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'use client';
import { Alert, Card, Chip } from '@heroui/react';
import { AlertTriangle, ShieldAlert } from 'lucide-react';
export default function WarningClient() {
return (
<div className='min-h-screen flex items-center justify-center p-4'>
<Card variant='default' className='max-w-2xl w-full p-4 sm:p-8'>
<Card.Header className='items-center text-center'>
<Chip color='danger' variant='secondary' size='lg'>
<ShieldAlert className='h-6 w-6' />
</Chip>
<Card.Title className='mt-4 text-2xl sm:text-3xl'>
</Card.Title>
</Card.Header>
<Card.Content className='space-y-4 sm:space-y-6'>
<Alert status='danger'>
<Alert.Indicator>
<AlertTriangle className='h-5 w-5' />
</Alert.Indicator>
<Alert.Content>
<Alert.Title></Alert.Title>
<Alert.Description>
访
</Alert.Description>
</Alert.Content>
</Alert>
<div className='space-y-3 sm:space-y-4'>
<h2 className='text-lg sm:text-xl font-semibold'></h2>
<ul className='space-y-2 sm:space-y-3 text-sm sm:text-base text-muted'>
<li className='flex items-start gap-2'>
<Chip color='danger' size='sm'>1</Chip>
<span>访</span>
</li>
<li className='flex items-start gap-2'>
<Chip color='danger' size='sm'>2</Chip>
<span></span>
</li>
<li className='flex items-start gap-2'>
<Chip color='danger' size='sm'>3</Chip>
<span></span>
</li>
<li className='flex items-start gap-2'>
<Chip color='danger' size='sm'>4</Chip>
<span></span>
</li>
</ul>
</div>
<Alert status='warning'>
<Alert.Title></Alert.Title>
<Alert.Description>
{' '}
<code className='font-mono text-xs sm:text-sm'>PASSWORD</code>{' '}
访
</Alert.Description>
</Alert>
</Card.Content>
<Card.Footer>
<div className='text-center text-xs sm:text-sm text-muted w-full'>
<p></p>
</div>
</Card.Footer>
</Card>
</div>
);
}