All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 1m28s
Replaced all references to "Office Translator" with "Wordly" across i18n translations (13 locales), auth forms, layout components, admin sidebar, and page metadata. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
48 lines
1.7 KiB
TypeScript
48 lines
1.7 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import { QueryProvider } from "@/providers/QueryProvider";
|
|
import { ThemeProvider } from "@/providers/ThemeProvider";
|
|
import { NotificationProvider } from "@/components/ui/notification";
|
|
import { I18nProvider } from "@/lib/i18n";
|
|
import { Agentation } from "agentation";
|
|
import { GoogleOAuthProvider } from "@react-oauth/google";
|
|
import { CookieConsent } from "@/components/ui/cookie-consent";
|
|
|
|
export const dynamic = 'force-dynamic';
|
|
|
|
const inter = Inter({
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Wordly - Translate Documents, Keep the Format",
|
|
description: "Translate Excel, Word, and PowerPoint documents with zero formatting loss. Fast, private, and accurate document translation.",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html suppressHydrationWarning>
|
|
<body className={`${inter.className} bg-background text-foreground antialiased`}>
|
|
<ThemeProvider attribute="class" defaultTheme="system" enableSystem={true} disableTransitionOnChange={false}>
|
|
<I18nProvider>
|
|
<QueryProvider>
|
|
<GoogleOAuthProvider clientId={process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID || ""}>
|
|
<NotificationProvider>
|
|
{children}
|
|
<CookieConsent />
|
|
</NotificationProvider>
|
|
</GoogleOAuthProvider>
|
|
</QueryProvider>
|
|
</I18nProvider>
|
|
{process.env.NODE_ENV === "development" && <Agentation />}
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|