checkpoint: before i18n implementation

This commit is contained in:
Leon-in
2026-04-29 00:29:14 +08:00
parent ded6c67a36
commit 437dc976fb
41 changed files with 2167 additions and 1855 deletions
+10 -5
View File
@@ -6,6 +6,7 @@ import Footer from "@/components/Footer"
import GsapAnimations from "@/components/GsapAnimations"
import RevealObserver from "@/components/RevealObserver"
import PageTransition from "@/components/PageTransition"
import { SITE_BRAND, SITE_DESCRIPTION, SITE_NAME } from "@/lib/site-content"
import "./webflow.css"
import "./globals.css"
@@ -22,16 +23,20 @@ const interTight = Inter_Tight({
variable: "--font-inter-tight",
display: "swap",
})
const SITE_URL = process.env.NEXT_PUBLIC_SITE_URL ?? "http://localhost:3000"
export const metadata: Metadata = {
metadataBase: new URL(SITE_URL),
title: {
default: "DalCode - AI Code Intelligence",
template: "%s | DalCode",
default: SITE_BRAND,
template: `%s | ${SITE_NAME}`,
},
description: "DalCode - AI-powered code intelligence platform for innovation-driven teams.",
description: SITE_DESCRIPTION,
openGraph: {
type: "website",
siteName: "DalCode",
siteName: SITE_BRAND,
title: SITE_BRAND,
description: SITE_DESCRIPTION,
},
}
@@ -42,7 +47,7 @@ export default function RootLayout({
}>) {
return (
<html
lang="en"
lang="zh-CN"
className={`w-mod-js w-mod-ix3 ${inter.variable} ${interTight.variable}`}
suppressHydrationWarning
>