Spaces:
Runtime error
Runtime error
Download src/app/layout.tsx from Ali-Developments/COURTRIX: direct link, hf CLI and curl.
- Browser
- Download file 729 Bytes
-
https://huggingface.co/spaces/Ali-Developments/COURTRIX/resolve/main/src/app/layout.tsx
- Command line
-
hf download hf://spaces/Ali-Developments/COURTRIX/src/app/layout.tsx
-
curl -L -o layout.tsx https://huggingface.co/spaces/Ali-Developments/COURTRIX/resolve/main/src/app/layout.tsx
729 Bytes
| import type { Metadata } from "next"; | |
| import { Cairo } from "next/font/google"; | |
| import "./globals.css"; | |
| const cairo = Cairo({ | |
| variable: "--font-cairo", | |
| subsets: ["arabic", "latin"], | |
| display: "swap", | |
| }); | |
| export const metadata: Metadata = { | |
| title: { | |
| default: "كورتريكس", | |
| template: "%s | كورتريكس", | |
| }, | |
| description: "منصة قانونية عربية لتنظيم العملاء وملفاتهم في Courtrix.", | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: Readonly<{ | |
| children: React.ReactNode; | |
| }>) { | |
| return ( | |
| <html lang="ar" dir="rtl" className={`${cairo.variable} h-full antialiased`}> | |
| <body className="min-h-full flex flex-col">{children}</body> | |
| </html> | |
| ); | |
| } | |