1
0
Fork 0

fix(shared): Small component fixes

This commit is contained in:
Joost De Cock 2023-10-12 19:43:27 +02:00
parent d14d626103
commit 5c3336d157
2 changed files with 2 additions and 2 deletions

View file

@ -72,7 +72,7 @@ export const components = (site = 'org', slug = []) => {
if (site === 'org' && Array.isArray(slug)) { if (site === 'org' && Array.isArray(slug)) {
const url = slug.join('/') const url = slug.join('/')
if (url.indexOf('various/notation') !== -1 || url.indexOf('sewing/on-the-fold') !== -1) if (url.indexOf('about/notation') !== -1 || url.indexOf('sewing/on-the-fold') !== -1)
specific.Legend = Legend specific.Legend = Legend
} }

View file

@ -67,7 +67,7 @@ export const Popout = (props) => {
<div className={`font-bold flex flex-row gap-1 items-end justify-between`}> <div className={`font-bold flex flex-row gap-1 items-end justify-between`}>
<div> <div>
<span className={`font-bold uppercase text-${color}`}> <span className={`font-bold uppercase text-${color}`}>
{type === 'tldr' ? 'TL;DR' : type} {type === 'tldr' ? 'TL;DR' : t(`popout:${type}`)}
</span> </span>
<span className={`font-normal text-base text-${color}`}> <span className={`font-normal text-base text-${color}`}>
{type === 'comment' && ( {type === 'comment' && (