Merged in feat/link-employment-route (pull request #2012)
feat(LOY-229): New Link Employment page * feat(LOY-229): Ship Link Employment page * fix(LOY-229): review fixes * fix(LOY-229): update Button component props for better styling consistency * fix(LOY-229): update ButtonLink href to use linkEmployment route Approved-by: Christian Andolf
This commit is contained in:
@@ -2,6 +2,7 @@ import React from "react"
|
||||
|
||||
import { Typography } from "@scandic-hotels/design-system/Typography"
|
||||
|
||||
import { linkEmployment } from "@/constants/routes/dtmc"
|
||||
import { login } from "@/constants/routes/handleAuth"
|
||||
import { signup } from "@/constants/routes/signup"
|
||||
|
||||
@@ -60,8 +61,12 @@ export default async function EmployeeBenefitsCallToActions() {
|
||||
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
{/*/ TODO [LOY-229]: Update href once we have new auth url. */}
|
||||
<ButtonLink href="#" size="Medium" variant="Tertiary" color="Primary">
|
||||
<ButtonLink
|
||||
href={linkEmployment[lang]}
|
||||
size="Medium"
|
||||
variant="Tertiary"
|
||||
color="Primary"
|
||||
>
|
||||
{intl.formatMessage({
|
||||
defaultMessage: "Link Employment",
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user