1
0
Fork 0

feat: Added Sanity documentation

This commit is contained in:
joostdecock 2023-06-16 20:00:26 +02:00
parent fc5f037745
commit b03f23f700
7 changed files with 144 additions and 1 deletions

View file

@ -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' && (
<>