source: src/app/layout.tsx@ 82c9c53

Last change on this file since 82c9c53 was 82c9c53, checked in by stefansaveski <stefansaveski19@…>, 11 months ago

refactor: Remove unused imports and optimize component code across multiple files

  • Property mode set to 100644
File size: 962 bytes
Line 
1import type { Metadata } from "next";
2import { Geist, Geist_Mono } from "next/font/google";
3import "./globals.css";
4import '@fortawesome/fontawesome-svg-core/styles.css';
5import { config } from '@fortawesome/fontawesome-svg-core';
6
7// Prevent FontAwesome from adding CSS automatically
8config.autoAddCss = false;
9
10const geistSans = Geist({
11 variable: "--font-geist-sans",
12 subsets: ["latin"],
13});
14
15const geistMono = Geist_Mono({
16 variable: "--font-geist-mono",
17 subsets: ["latin"],
18});
19
20export const metadata: Metadata = {
21 title: "IKnow - Student Portal",
22 description: "Student portal for Ss. Cyril and Methodius University",
23};
24
25export default function RootLayout({
26 children,
27}: Readonly<{
28 children: React.ReactNode;
29}>) {
30 return (
31 <html lang="en">
32 <body
33 className={`${geistSans.variable} ${geistMono.variable} antialiased`}
34 >
35 <div className="mx-auto max-w-6xl px-4">{children}</div>
36 </body>
37 </html>
38 );
39}
Note: See TracBrowser for help on using the repository browser.