feat(SW-184): added some translations

This commit is contained in:
Erik Tiekstra
2024-08-20 15:45:04 +02:00
parent b37cc7a34c
commit c6ad5eecc5
11 changed files with 31 additions and 15 deletions

View File

@@ -3,6 +3,7 @@ import Link from "next/link"
import { serverClient } from "@/lib/trpc/server"
import Image from "@/components/Image"
import { getIntl } from "@/i18n"
import Menu from "./Menu"
import MyPages from "./MyPages"
@@ -31,6 +32,7 @@ export interface MenuItem {
}
export default async function MainMenu() {
const intl = await getIntl()
const myPagesNavigation =
await serverClient().contentstack.myPages.navigation.get()
@@ -114,7 +116,7 @@ export default async function MainMenu() {
<nav className={styles.content}>
<Link className={styles.logoLink} href="/">
<Image
alt="Back to scandichotels.com"
alt={intl.formatMessage({ id: "Back to scandichotels.com" })}
className={styles.logo}
data-js="scandiclogoimg"
data-nosvgsrc="/_static/img/scandic-logotype.png"