checkpoint: before i18n implementation
This commit is contained in:
+10
-5
@@ -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
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user