diff --git a/apps/scandic-web/components/MyPages/DigitalTeamMemberCard/Client.tsx b/apps/scandic-web/components/MyPages/DigitalTeamMemberCard/Client.tsx
index 0cf6ccb21..9c7b1bfb8 100644
--- a/apps/scandic-web/components/MyPages/DigitalTeamMemberCard/Client.tsx
+++ b/apps/scandic-web/components/MyPages/DigitalTeamMemberCard/Client.tsx
@@ -1,9 +1,9 @@
"use client"
import { useState } from "react"
-import { Button } from "react-aria-components"
import { useIntl } from "react-intl"
+import { Button } from "@scandic-hotels/design-system/Button"
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
import { Typography } from "@scandic-hotels/design-system/Typography"
@@ -42,16 +42,19 @@ export default function DigitalTeamMemberCardClient({
return (
<>
-
{/* TODO: Add missing link to benefits page */}
-
-
-
- {intl.formatMessage({
- defaultMessage: "Check out all your benefits",
- })}
-
-
-
+
+
+ {intl.formatMessage({
+ defaultMessage: "Check out all your benefits",
+ })}
+
+
>
diff --git a/apps/scandic-web/components/MyPages/DigitalTeamMemberCard/Content.tsx b/apps/scandic-web/components/MyPages/DigitalTeamMemberCard/Content.tsx
index 0b880784d..d182b91e4 100644
--- a/apps/scandic-web/components/MyPages/DigitalTeamMemberCard/Content.tsx
+++ b/apps/scandic-web/components/MyPages/DigitalTeamMemberCard/Content.tsx
@@ -87,7 +87,7 @@ export default function DigitalTeamMemberCardContent({
}
}
- function renderShimmer(): CSSProperties {
+ function getShimmerStyle(): CSSProperties {
const { x, y } = coords
const oppositeX = 100 - (x / rect.width) * 100
const oppositeY = 100 - (y / rect.height) * 100
@@ -97,7 +97,7 @@ export default function DigitalTeamMemberCardContent({
}
}
- function renderSkew(): CSSProperties {
+ function getSkewStyle(): CSSProperties {
const { x, y } = coords
const centerX = rect.width / 2
const centerY = rect.height / 2
@@ -130,21 +130,19 @@ export default function DigitalTeamMemberCardContent({
onTouchMove={onInteractionMove}
onTouchEnd={handleInteractionEnd}
>
-
-
+
+
-
-
+
+
{intl.formatMessage({ defaultMessage: "Team Member" })}
-
-
{/* TODO: Should display country of employment */}
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
SWE
-
-
+
+
@@ -174,21 +172,19 @@ export default function DigitalTeamMemberCardContent({
-
-
+
+
{/* TODO: Should display department of employment */}
{/* eslint-disable formatjs/no-literal-string-in-jsx */}
Haymarket by Scandic
{/* eslint-enable */}
-
-
{/* TODO: Should display current state of employment */}
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
Employee
-
-