fix(docs): restore root layout tags
This commit is contained in:
parent
74ad4369f4
commit
8ef1999ec9
|
|
@ -12,13 +12,9 @@ export default async function LangLayout({
|
|||
const { lang } = await params;
|
||||
|
||||
return (
|
||||
<html lang={lang} className="dark" suppressHydrationWarning>
|
||||
<body className="flex min-h-screen flex-col">
|
||||
<RootProvider i18n={i18nUI.provider(lang)} theme={{ enabled: false }}>
|
||||
{children}
|
||||
</RootProvider>
|
||||
</body>
|
||||
</html>
|
||||
<RootProvider i18n={i18nUI.provider(lang)} theme={{ enabled: false }}>
|
||||
{children}
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -870,6 +870,7 @@ a {
|
|||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 22px;
|
||||
max-width: calc(var(--landing-max) - 56px);
|
||||
border: 1px solid rgba(155, 176, 205, 0.14);
|
||||
border-radius: 10px;
|
||||
padding-top: 28px;
|
||||
|
|
@ -902,6 +903,12 @@ a {
|
|||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.landing-section-heading p {
|
||||
max-width: 650px;
|
||||
justify-self: end;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.landing-inline-link {
|
||||
flex-shrink: 0;
|
||||
gap: 7px;
|
||||
|
|
@ -1434,6 +1441,11 @@ a {
|
|||
display: block;
|
||||
}
|
||||
|
||||
.landing-section-heading p {
|
||||
max-width: none;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.landing-inline-link {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,5 +15,9 @@ export const metadata = {
|
|||
};
|
||||
|
||||
export default function RootLayout({ children }: { children: ReactNode }) {
|
||||
return children;
|
||||
return (
|
||||
<html lang="en" className="dark" suppressHydrationWarning>
|
||||
<body className="flex min-h-screen flex-col">{children}</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue