docs: add .github

This commit is contained in:
Maël Gangloff
2024-08-02 21:32:24 +02:00
parent 5da3c9fbf8
commit dcfb1231dc
5 changed files with 30 additions and 9 deletions

View File

@@ -37,15 +37,17 @@ export function WatchlistsList({watchlists, onDelete}: { watchlists: Watchlist[]
onConfirm={() => deleteWatchlist(watchlist.token).then(onDelete)}
okText={t`Yes`}
cancelText={t`No`}
okButtonProps={{danger: true}}
><DeleteFilled style={{color: token.colorError}}/></Popconfirm>}>
okButtonProps={{danger: true}}>
<DeleteFilled style={{color: token.colorError}}/>
</Popconfirm>}
>
<Card.Meta description={watchlist.token} style={{marginBottom: '1em'}}/>
<Table
columns={columns}
pagination={false}
dataSource={[{
domains: watchlist.domains.map(d =>
<Typography.Paragraph>{d.ldhName}</Typography.Paragraph>),
<><Typography.Text code>{d.ldhName}</Typography.Text><br/></>),
events: watchlist.triggers?.filter(t => t.action === 'email')
.map(t => <Tag color={actionToColor(t.event)}>{t.event}</Tag>)
}]}

View File

@@ -41,8 +41,9 @@ export default function DomainSearchPage() {
domain.tld.type === 'gTLD' ? "green"
: "cyan"
}>
<Card title={<>{domain.ldhName}{domain.handle ? <> (<Text
code>{domain.handle}</Text>)</> : undefined}</>}
<Card title={<>
{domain.ldhName}{domain.handle && <Text code>{domain.handle}</Text>}
</>}
size="small">
{domain.status.length > 0 &&
<>