fix(shared): Small component fixes
This commit is contained in:
parent
d14d626103
commit
5c3336d157
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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' && (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue