Added i18n exports

This commit is contained in:
2026-09-26 20:07:29 +02:00
parent 3553daa086
commit 4fe690e1e2
4 changed files with 16 additions and 6 deletions
+3 -1
View File
@@ -9,7 +9,9 @@ export { Analytics } from '../modules/analytics/client.js';
* components. Kept separate from the main entry so server bundles don't pull in
* client-only code.
*/ export { ConsentProvider, CookieBanner, CookieButton, useConsent, useConsentContext } from '../modules/consent/client.js';
export { resolveFormMessage } from '../modules/notifications/resolveFormMessage.js';
// Pure i18n path helpers — no server/RSC deps, safe to import in client
// components (e.g. a LanguageSwitcher that computes locale URLs on the client).
export { buildLocalizedPath, getLocaleCodes, getLocalizedSlugs, switchLocalePath } from '../modules/i18n/index.js';
export { Turnstile } from '../modules/turnstile/client.js';
export { TurnstileProvider, useTurnstile } from '../modules/turnstile/client.js';