Merged in feat/WEB-315-handy-shortcuts (pull request #235)
feat/WEB-315-handy-shortcuts Approved-by: Simon.Emanuelsson
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user