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 { ArrowRightIcon } from "@/components/Icons"
|
||||||
import Link from "@/components/TempDesignSystem/Link"
|
import Link from "@/components/TempDesignSystem/Link"
|
||||||
|
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||||
|
|
||||||
import Header from "../Header"
|
import Header from "../Header"
|
||||||
|
|
||||||
@@ -29,8 +30,10 @@ export default function Shortcuts({
|
|||||||
target={shortcut.openInNewTab ? "_blank" : undefined}
|
target={shortcut.openInNewTab ? "_blank" : undefined}
|
||||||
variant="shortcut"
|
variant="shortcut"
|
||||||
>
|
>
|
||||||
<span>{shortcut.text ? shortcut.text : shortcut.title}</span>
|
<Body textTransform="bold" color="burgundy">
|
||||||
<ArrowRightIcon />
|
<span>{shortcut.text ? shortcut.text : shortcut.title}</span>
|
||||||
|
</Body>
|
||||||
|
<ArrowRightIcon color="burgundy" className={styles.arrowRight} />
|
||||||
</Link>
|
</Link>
|
||||||
))}
|
))}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -4,6 +4,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.links {
|
.links {
|
||||||
|
display: grid;
|
||||||
background-color: var(--Scandic-Brand-Warm-White);
|
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