Skip to content
Snippets Groups Projects
Commit 65d2eda2 authored by Andy Leuchtturm's avatar Andy Leuchtturm
Browse files

Merge branch 'feature/it-standards' of...

Merge branch 'feature/it-standards' of https://git.fitko.de/fit-connect/entwicklungsportal into feature/it-standards
parents 93e58f68 361ddc8f
No related branches found
No related tags found
1 merge request!86planning#1203: Standards
Pipeline #56197 waiting for manual action
...@@ -110,8 +110,16 @@ export function InfoBoxes({ ...@@ -110,8 +110,16 @@ export function InfoBoxes({
return ( return (
<div className="flex" key={`${key}`}> <div className="flex" key={`${key}`}>
{myItem.slug == slugMaster ? {myItem.slug == slugMaster ?
<div className={'leading-7 ' + 'font-bold ' + `${myItem.name}`}><a href={'/standards/' + myItem.slug}>{myItem.name}</a></div> <div className={'leading-7 ' + 'font-bold ' + `${myItem.name}`}>
: <div className={'leading-7 ' + `${myItem.name}`}><a href={'/standards/' + myItem.slug}>{myItem.name}&nbsp;{slugMaster}</a></div> <Link href={'/standards/' + myItem.slug} passHref legacyBehavior>
<a>{myItem.name}</a>
</Link>
</div>
: <div className={'leading-7 ' + `${myItem.name}`}>
<Link href={'/standards/' + myItem.slug} passHref legacyBehavior>
<a>{myItem.name}</a>
</Link>
</div>
} }
</div> </div>
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment