Merged in feat/WEB-315-handy-shortcuts (pull request #235)

feat/WEB-315-handy-shortcuts

Approved-by: Simon.Emanuelsson
This commit is contained in:
Fredrik Thorsson
2024-06-13 15:03:38 +00:00
committed by Simon.Emanuelsson
2 changed files with 13 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
import { ArrowRightIcon } from "@/components/Icons"
import Link from "@/components/TempDesignSystem/Link"
import Body from "@/components/TempDesignSystem/Text/Body"
import Header from "../Header"
@@ -29,8 +30,10 @@ export default function Shortcuts({
target={shortcut.openInNewTab ? "_blank" : undefined}
variant="shortcut"
>
<span>{shortcut.text ? shortcut.text : shortcut.title}</span>
<ArrowRightIcon />
<Body textTransform="bold" color="burgundy">
<span>{shortcut.text ? shortcut.text : shortcut.title}</span>
</Body>
<ArrowRightIcon color="burgundy" className={styles.arrowRight} />
</Link>
))}
</section>

View File

@@ -4,6 +4,13 @@
}
.links {
display: grid;
background-color: var(--Scandic-Brand-Warm-White);
border-radius: var(--Corner-radius-xLarge);
border-radius: var(--Corner-radius-Medium);
border: 1px solid var(--Base-Border-Subtle);
}
.arrowRight {
height: 24px;
width: 24px;
}