fix: add libs

This commit is contained in:
2025-05-28 10:46:03 +03:00
parent ed743d2977
commit 498aa4e4c1
16 changed files with 1053 additions and 31 deletions

View File

@@ -1,20 +1,20 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
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"],
variable: '--font-geist-sans',
subsets: ['latin'],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
variable: '--font-geist-mono',
subsets: ['latin'],
});
export const metadata: Metadata = {
title: "Пожарная экспертиза",
description: "Пожарная экспертиза",
title: 'Пожарная экспертиза',
description: 'Пожарная экспертиза',
};
export default function RootLayout({
@@ -23,7 +23,7 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en">
<html lang='en'>
<body className={`${geistSans.variable} ${geistMono.variable}`}>
{children}
</body>

View File

@@ -1,4 +1,4 @@
import HomePage from "@pages/home";
import HomePage from '@pages/home';
export default function Home() {
return (

View File

@@ -1 +1 @@
export {default} from './ui/Home'
export { default } from './ui/Home';

View File

@@ -1,9 +1,5 @@
function Home() {
return (
<main>
Home
</main>
)
return <main>Home</main>;
}
export default Home;
export default Home;