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:
Chuma Mcphoy (We Ahead)
2025-05-09 07:51:27 +00:00
parent 7af4d3be1e
commit 9ac5e43f0f
6 changed files with 288 additions and 2 deletions

View File

@@ -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",
})}