diff --git a/src/app/page.tsx b/src/app/page.tsx index 5ab0a59..d1e75ae 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -44,7 +44,7 @@ export default function LandingPage() { { name: "FAQ", id: "#faq"}, { - name: "Kontakt", href: "/kontakt"}, + name: "Kontakt", id: "/kontakt"}, ]} logoSrc="http://img.b2bpic.net/free-vector/set-retro-hand-drawn-coffee-stickers_23-2147602117.jpg" logoAlt="KaffeKoppen Vejle Logo" @@ -125,7 +125,6 @@ export default function LandingPage() { description="KaffeKoppen Vejle started with a simple passion: to bring authentic Danish hygge and delicious food to our community. From carefully sourced coffee beans to freshly baked pastries and hearty meals, every item on our menu is crafted with love and local ingredients. We believe in creating a welcoming space where friends and family can gather, relax, and savor life's simple pleasures." tag="About Us" tagAnimation="slide-up" - mediaAnimation="slide-up" imageSrc="http://img.b2bpic.net/free-photo/close-up-restaurant-table-with-pink-velvet-chairs-grey-painted-hall-with-classic-paintings_140725-8705.jpg" imageAlt="Cozy interior of KaffeKoppen Vejle with wooden tables and warm lighting" /> diff --git a/src/i18n.ts b/src/i18n.ts index b7e22d1..7a06206 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -1,4 +1,4 @@ -import type { Config } from 'next-i18n-router/server'; +import type { Config } from 'next-i18n-router/dist/types'; export const i18nConfig: Config = { locales: ['en', 'da'], diff --git a/src/middleware.ts b/src/middleware.ts index 2cf2541..122b162 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -1,4 +1,4 @@ -import { i18nRouter } from 'next-i18n-router'; +import { i18nRouter } from 'next-i18n-router/middleware'; import { i18nConfig } from './i18n'; export function middleware(request: Request) {