refactor: update feed guide

This commit is contained in:
moonrailgun 2024-07-06 03:52:37 +08:00
parent 865e56f40e
commit c34b0124fa

View File

@ -26,8 +26,12 @@ export const FeedApiGuide: React.FC<{ channelId: string }> = React.memo(
<CardHeader> <CardHeader>
<div>{t('You can send any message into this channel with:')}</div> <div>{t('You can send any message into this channel with:')}</div>
</CardHeader> </CardHeader>
<CardContent className="flex w-full overflow-hidden"> <CardContent className="flex w-full flex-col gap-5 overflow-hidden">
<CodeBlock code={code} /> <CodeBlock code={code} />
<div className="pl-2 font-bold">{t('OR')}</div>
<div>{t('Integrate with third party with webhook')}</div>
</CardContent> </CardContent>
</Card> </Card>
); );