Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -0,0 +1,37 @@
import { createInstance } from "i18next";
import { I18nextProvider, initReactI18next } from "react-i18next";
import { beforeMount } from "@playwright/experimental-ct-react/hooks";
import deBilling from "../apps/web/public/locales/de/billing.json";
import deTranslations from "../apps/web/public/locales/de/translations.json";
import "../apps/web/app/globals.css";
import "./visual-test.css";
const i18n = createInstance();
const i18nReady = i18n.use(initReactI18next).init({
defaultNS: "translations",
fallbackLng: "de",
interpolation: { escapeValue: false },
lng: "de",
ns: ["translations", "billing"],
resources: {
de: {
billing: deBilling,
translations: deTranslations,
},
},
});
beforeMount(async ({ App }) => {
await i18nReady;
document.documentElement.classList.remove("dark");
document.documentElement.lang = "de";
document.documentElement.style.colorScheme = "light";
document.body.classList.remove("dark");
return (
<I18nextProvider i18n={i18n}>
<App />
</I18nextProvider>
);
});