stack/packages/stack-proxy/app/layout.tsx
Zai Shi 89696a40ef
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
Stack Auth Proxy (#237)
* added proxy

* updated pnpm lock

* removed package lock

* added readme

* updated readme

* updated readme

* fixed bugs

* added development env

* added template engine

* updated dependencies

* fixed github action
2024-09-12 00:31:39 +02:00

29 lines
696 B
TypeScript

import type { Metadata } from "next";
import { StackProvider, StackTheme } from "@stackframe/stack";
import { stackServerApp } from "../stack";
import { Inter } from "next/font/google";
import "./globals.css";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className={inter.className}>
<StackProvider app={stackServerApp}>
<StackTheme>{children}</StackTheme>
</StackProvider>
</body>
</html>
);
}