fix: add libs
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import HomePage from "@pages/home";
|
||||
import HomePage from '@pages/home';
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
|
||||
@@ -1 +1 @@
|
||||
export {default} from './ui/Home'
|
||||
export { default } from './ui/Home';
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
function Home() {
|
||||
return (
|
||||
<main>
|
||||
Home
|
||||
</main>
|
||||
)
|
||||
return <main>Home</main>;
|
||||
}
|
||||
|
||||
export default Home;
|
||||
export default Home;
|
||||
|
||||
Reference in New Issue
Block a user