Fix build errors: add typed params, use client tags, and Docker build args

This commit is contained in:
2026-04-14 12:39:22 +03:00
parent 8b1bdfd3c6
commit 429495a955
5 changed files with 34 additions and 7 deletions

View File

@@ -4,9 +4,14 @@ import { Link } from '@/i18n/routing';
import { yachts } from '../data/yachts';
import YachtCard from '../components/YachtCard';
import { motion } from 'framer-motion';
import { useTranslations } from 'next-intl';
import { use } from 'react';
export default function Home() {
interface PageProps {
params: Promise<{ locale: string }>;
}
export default function Home({ params }: PageProps) {
const { locale: _locale } = use(params);
const t = useTranslations('Home');
const fadeInUp = {