📝 priettier check
All checks were successful
PR Checks / lint-and-build (pull_request) Successful in 18s

This commit is contained in:
RJ
2025-12-04 15:57:39 +02:00
parent b68325123b
commit 101624c4d5
32 changed files with 185 additions and 172 deletions

View File

@@ -1,16 +1,16 @@
import {Link} from '@/src/i18n/navigation'
import { Link } from '@/src/i18n/navigation'
import Image from 'next/image'
import { getAllPosts } from '@/lib/markdown'
import { formatDate } from '@/lib/utils'
import { ThemeToggle } from '@/components/theme-toggle'
import {setRequestLocale, getTranslations} from 'next-intl/server'
import { setRequestLocale, getTranslations } from 'next-intl/server'
type Props = {
params: Promise<{locale: string}>
params: Promise<{ locale: string }>
}
export default async function HomePage({params}: Props) {
const {locale} = await params
export default async function HomePage({ params }: Props) {
const { locale } = await params
setRequestLocale(locale)
const t = await getTranslations('Home')
const tNav = await getTranslations('Navigation')