import Link from 'next/link';
import { getDictionary } from '../lib/i18n';

export default async function HomePage() {
  const dict = await getDictionary();

  return (
    <main className="marketing-page">
      <section className="hero-card">
        <p className="eyebrow">{dict.common.appName}</p>
        <h1>{dict.home.title}</h1>
        <p>{dict.home.description}</p>
        <div className="hero-actions">
          <Link className="primary-button" href="/login">
            {dict.login.submit}
          </Link>
          <Link className="secondary-button" href="/dashboard">
            {dict.common.openDashboard}
          </Link>
        </div>
      </section>
    </main>
  );
}
