mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-13 02:26:36 +08:00
chore: format
This commit is contained in:
@@ -116,7 +116,9 @@ export function ErrorPageTab({
|
||||
<CardContent className='space-y-0 divide-y'>
|
||||
<div className='flex items-start justify-between gap-6 pb-5'>
|
||||
<div className='space-y-1'>
|
||||
<Label className='text-sm font-medium'>{t('enableErrorPage')}</Label>
|
||||
<Label className='text-sm font-medium'>
|
||||
{t('enableErrorPage')}
|
||||
</Label>
|
||||
<p className='text-sm text-muted-foreground'>
|
||||
{t('enableErrorPageDesc')}
|
||||
</p>
|
||||
@@ -134,7 +136,9 @@ export function ErrorPageTab({
|
||||
<div className='flex items-start justify-between gap-6 py-5'>
|
||||
<div className='space-y-1'>
|
||||
<Label className='text-sm font-medium'>{t('getOnly')}</Label>
|
||||
<p className='text-sm text-muted-foreground'>{t('getOnlyDesc')}</p>
|
||||
<p className='text-sm text-muted-foreground'>
|
||||
{t('getOnlyDesc')}
|
||||
</p>
|
||||
</div>
|
||||
<Switch
|
||||
checked={fields.getOnly}
|
||||
|
||||
@@ -157,7 +157,9 @@ export function ScopeDomainDialog({
|
||||
<Badge variant='secondary' className='font-normal'>
|
||||
{t('selectedCount', { count: selectedSet.size })}
|
||||
</Badge>
|
||||
<span>{t('visibleCount', { count: visibleDomains.length })}</span>
|
||||
<span>
|
||||
{t('visibleCount', { count: visibleDomains.length })}
|
||||
</span>
|
||||
</div>
|
||||
<div className='flex items-center gap-1'>
|
||||
<Button
|
||||
|
||||
@@ -90,7 +90,9 @@ export default function ErrorPagePreviewPage() {
|
||||
</Link>
|
||||
</Button>
|
||||
<div className='min-w-0'>
|
||||
<p className='text-sm font-semibold truncate'>{t('errorPreview')}</p>
|
||||
<p className='text-sm font-semibold truncate'>
|
||||
{t('errorPreview')}
|
||||
</p>
|
||||
<p className='text-[11px] text-muted-foreground font-mono truncate'>
|
||||
{'{{status}}'}→502 · {'{{host}}'}→example.com · {t('fullscreen')}
|
||||
</p>
|
||||
|
||||
@@ -91,7 +91,9 @@ export default function OfflinePagePreviewPage() {
|
||||
</Link>
|
||||
</Button>
|
||||
<div className='min-w-0'>
|
||||
<p className='text-sm font-semibold truncate'>{t('offlinePreview')}</p>
|
||||
<p className='text-sm font-semibold truncate'>
|
||||
{t('offlinePreview')}
|
||||
</p>
|
||||
<p className='text-[11px] text-muted-foreground font-mono truncate'>
|
||||
{t('fullscreen')}
|
||||
</p>
|
||||
|
||||
@@ -116,7 +116,9 @@ function ResponsesPageContent() {
|
||||
<div className='flex items-center gap-2'>
|
||||
<MessageSquareText className='size-5 text-primary' />
|
||||
<div>
|
||||
<h1 className='text-2xl font-semibold tracking-tight'>{t('title')}</h1>
|
||||
<h1 className='text-2xl font-semibold tracking-tight'>
|
||||
{t('title')}
|
||||
</h1>
|
||||
<p className='text-sm text-muted-foreground'>{t('subtitle')}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user