import "@fontsource-variable/geist";
import "@fontsource-variable/geist-mono";
import "./styles.css";
import "./styles/sections.css";

import { hydrateRoot } from "react-dom/client";

import { App } from "./App";
import { en } from "./i18n/en";
import { pl } from "./i18n/pl";

const root = document.getElementById("root");
if (root) {
  const t = document.documentElement.lang === "en" ? en : pl;
  hydrateRoot(root, <App t={t} />);
}
