---
import BaseLayout from '../layouts/BaseLayout.astro';
import { HartaApp } from '../components/harta/HartaApp';
import '../components/harta/harta.css';

export const prerender = false;
---

<BaseLayout
  title="Harta Banilor Publici — vreaudigital.ro"
  description="Hartă interactivă cu achiziții publice din România. Vezi unde se duc banii din SEAP, pe fiecare localitate."
>
  <div id="harta-root">
    <HartaApp client:only="react" />
  </div>
</BaseLayout>

<style is:global>
  /* Lock body scroll for fullscreen map */
  html, body { overflow: hidden; height: 100vh; }
  body { background: #FAFBFC; }

  /* Override default BaseLayout body padding/margin if any */
  #harta-root { height: 100vh; width: 100vw; position: fixed; inset: 0; }
</style>
