Initial commit - Asansör Takip Projesi
This commit is contained in:
+18
-15
@@ -1,20 +1,12 @@
|
||||
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 Sidebar from "@/components/Sidebar";
|
||||
import Header from "@/components/Header";
|
||||
import MobileNav from "@/components/MobileNav";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Create Next App",
|
||||
description: "Generated by create next app",
|
||||
title: "Asansör Takip | Kurumsal Yönetim Sistemi",
|
||||
description: "Asansör servis, bakım ve üretim takip uygulaması",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
@@ -23,8 +15,19 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en" className={`${geistSans.variable} ${geistMono.variable}`}>
|
||||
<body>{children}</body>
|
||||
<html lang="tr">
|
||||
<body>
|
||||
<div style={{ display: 'flex' }}>
|
||||
<Sidebar />
|
||||
<div style={{ flex: 1 }}>
|
||||
<Header />
|
||||
<main className="container">
|
||||
{children}
|
||||
</main>
|
||||
<MobileNav />
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user