feat: Added Sanity documentation
This commit is contained in:
parent
fc5f037745
commit
b03f23f700
7 changed files with 144 additions and 1 deletions
|
@ -11,6 +11,7 @@ const colors = {
|
|||
fixme: 'warning',
|
||||
link: 'secondary',
|
||||
related: 'info',
|
||||
tldr: 'info',
|
||||
none: '',
|
||||
}
|
||||
|
||||
|
@ -64,7 +65,9 @@ export const Popout = (props) => {
|
|||
>
|
||||
<div className={`font-bold flex flex-row gap-1 items-end justify-between`}>
|
||||
<div>
|
||||
<span className={`font-bold uppercase text-${color}`}>{type}</span>
|
||||
<span className={`font-bold uppercase text-${color}`}>
|
||||
{type === 'tldr' ? 'TL;DR' : type}
|
||||
</span>
|
||||
<span className={`font-normal text-base text-${color}`}>
|
||||
{type === 'comment' && (
|
||||
<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue