EverydayTech Platform - Developer Reference
Complete Source Code Documentation - All Applications
Loading...
Searching...
No Matches
layout.tsx
Go to the documentation of this file.
1import type { Metadata } from "next";
2import { Geist, Geist_Mono } from "next/font/google";
3import "./globals.css";
4import ClientLayout from "./ClientLayout";
5
6
7const geistSans = Geist({
8 variable: "--font-geist-sans",
9 subsets: ["latin"],
10});
11
12const geistMono = Geist_Mono({
13 variable: "--font-geist-mono",
14 subsets: ["latin"],
15});
16
17export const metadata: Metadata = {
18 title: "EverydayPOS",
19 description: "Professional POS system for print shops and office supply stores",
20 icons: {
21 icon: "/favicon.ico"
22 }
23};
24
25export default function RootLayout({
26 children,
27}: Readonly<{
28 children: React.ReactNode;
29}>) {
30 return (
31 <html lang="en">
32 <head>
33 {/* Google Material Icons and Symbols */}
34 <link
35 href="https://fonts.googleapis.com/css2?family=Material+Icons"
36 rel="stylesheet"
37 />
38 <link
39 href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200"
40 rel="stylesheet"
41 />
42 <link
43 href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200"
44 rel="stylesheet"
45 />
46 <link
47 href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200"
48 rel="stylesheet"
49 />
50 </head>
51 <body
52 className={`${geistSans.variable} ${geistMono.variable} antialiased`}
53 >
54 <ClientLayout>{children}</ClientLayout>
55 </body>
56 </html>
57 );
58}