Merged develop into fix/edit-profile-server-action

This commit is contained in:
Chuma Mcphoy (We Ahead)
2024-06-24 12:57:27 +00:00
6 changed files with 22 additions and 9 deletions

View File

@@ -0,0 +1,12 @@
"use client"
import { useParams } from "next/navigation"
import MyPagesMobileDropdown from "@/components/Current/Header/MyPagesMobileDropdown"
import { LangParams } from "@/types/params"
export default function Error() {
const params = useParams<LangParams>()
return <MyPagesMobileDropdown navigation={null} lang={params.lang} />
}

View File

@@ -1,4 +1,5 @@
import "@scandic-hotels/design-system/current/style.css"
import "@/app/globals.css"
import "@scandic-hotels/design-system/style.css"
import Script from "next/script"

View File

@@ -61,11 +61,11 @@ export default function MyPagesMobileDropdown({
{menuItem.display_sign_out_link && lang ? (
<li>
<Link
color="burgundy"
href={logout[lang]}
prefetch={false}
size="small"
variant="sidebar"
color="burgundy"
variant="myPageMobileDropdown"
>
{formatMessage({ id: "Log out" })}
</Link>

View File

@@ -50,7 +50,7 @@ export const profileEdit = {
/** @type {import('@/types/routes').LangRoute} */
export const points = {
da: `${myPages.da}/points`,
da: `${myPages.da}/point`,
de: `${myPages.de}/punkte`,
en: `${myPages.en}/points`,
fi: `${myPages.fi}/pisteet`,

View File

@@ -26,12 +26,12 @@ export const benefits = {
}
export const points = {
da: `${myPages.da}/points`,
de: `${myPages.de}/points`,
da: `${myPages.da}/point`,
de: `${myPages.de}/punkte`,
en: `${myPages.en}/points`,
fi: `${myPages.fi}/points`,
no: `${myPages.no}/points`,
sv: `${myPages.sv}/points`,
fi: `${myPages.fi}/pisteet`,
no: `${myPages.no}/poeng`,
sv: `${myPages.sv}/poang`,
}
export const programOverview = {