feat: add fonts

This commit is contained in:
2025-11-06 19:00:10 +03:30
parent 2e882f5e97
commit 635a6e313a
6 changed files with 70 additions and 25 deletions
+12 -22
View File
@@ -1,34 +1,24 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
import type { Metadata } from 'next';
import './globals.css';
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: 'آرام‌لند - همراه تو برای یک زندگی آرام‌تر',
description: 'لحظه‌ای آرام بگیر، زندگی را حس کن',
};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
<html lang="fa" dir="rtl">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body className="antialiased">
{children}
</body>
</html>
);
}
}