mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Step 5: rename lowercase local vars stackApp/stackServerApp/stackClientApp/ stackAdminApp -> hexclave* across SDK source, apps, examples, and docs-mintlify (docs/ excluded). Public StackServerApp/StackClientApp classes and the useStackApp hook are unchanged. typecheck + lint green.
41 lines
1.0 KiB
TypeScript
41 lines
1.0 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { StackProvider, StackTheme } from "@hexclave/next";
|
|
import { hexclaveServerApp } from "../hexclave/server";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
import ConvexClientProvider from "@/components/ConvexClientProvider";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Create Next App",
|
|
description: "Generated by create next app",
|
|
icons: {
|
|
icon: "/convex.svg",
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|
><StackProvider app={hexclaveServerApp}><StackTheme>
|
|
<ConvexClientProvider >{children}</ConvexClientProvider>
|
|
</StackTheme></StackProvider></body>
|
|
</html>
|
|
);
|
|
}
|