mirror of
https://github.com/vercel-labs/json-render.git
synced 2026-10-20 06:19:57 +08:00
* image * fixes * fixes * fix ci * fix ci * disable @next/next/no-img-element rule in ESLint configuration * update route.ts to use path.join for font resolution and adjust next-env.d.ts import path
23 lines
500 B
TypeScript
23 lines
500 B
TypeScript
import type { Metadata } from "next";
|
|
import { Geist } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
const geist = Geist({ subsets: ["latin"] });
|
|
|
|
export const metadata: Metadata = {
|
|
title: "json-render Image Example",
|
|
description: "Generate images from JSON specs with @json-render/image",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={geist.className}>{children}</body>
|
|
</html>
|
|
);
|
|
}
|