feat(SW-184): added some translations
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user