fix: correct Shortcuts

This commit is contained in:
Arvid Norlin
2024-04-24 16:15:46 +02:00
parent dd2127749a
commit 03daf0540e
5 changed files with 23 additions and 8 deletions

View File

@@ -26,8 +26,9 @@ export default function Shortcuts({
className={styles.link}
href={shortcut.url}
key={shortcut.title}
target={shortcut.openInNewTab ? "_blank" : undefined}
>
<span>{shortcut.title}</span>
<span>{shortcut.text ? shortcut.text : shortcut.title}</span>
<Image
alt="Chevron Icon"
height={20}