feat/SW-3108 external links
* feat(SW-3108): Added external link options to shortcuts * feat(SW-3108): Added external link options to header Approved-by: Matilda Landström
This commit is contained in:
@@ -56,9 +56,9 @@ export default function MegaMenu({
|
||||
) : null}
|
||||
<div className={styles.megaMenuContent}>
|
||||
<div className={styles.seeAllLink}>
|
||||
{seeAllLink?.link ? (
|
||||
{seeAllLink?.url ? (
|
||||
<Link
|
||||
href={seeAllLink.link.url}
|
||||
href={seeAllLink.url}
|
||||
variant="icon"
|
||||
weight="bold"
|
||||
onClick={handleNavigate}
|
||||
@@ -75,11 +75,11 @@ export default function MegaMenu({
|
||||
<span className={styles.submenuTitle}>{item.title}</span>
|
||||
</Typography>
|
||||
<ul className={styles.submenu}>
|
||||
{item.links.map(({ title, link }) =>
|
||||
link ? (
|
||||
{item.links.map(({ title, url }) =>
|
||||
url ? (
|
||||
<li key={title} className={styles.submenuItem}>
|
||||
<Link
|
||||
href={link.url}
|
||||
href={url}
|
||||
variant="menu"
|
||||
className={styles.link}
|
||||
onClick={handleNavigate}
|
||||
|
||||
Reference in New Issue
Block a user