source: frontend/src/app/students/layout.tsx@ b8093a0

Last change on this file since b8093a0 was b8093a0, checked in by imbrsk <boris696boris@…>, 3 days ago

Merge iknow-remaster into frontend/

Bring the Next.js frontend into this repository as a monorepo subdirectory,
preserving its full commit history via a subtree merge.

  • Property mode set to 100644
File size: 1013 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";
6import Header from "@/components/header";
7import Navbar from "@/components/navbar";
8
9// Prevent FontAwesome from adding CSS automatically
10config.autoAddCss = false;
11
12const geistSans = Geist({
13 variable: "--font-geist-sans",
14 subsets: ["latin"],
15});
16
17const geistMono = Geist_Mono({
18 variable: "--font-geist-mono",
19 subsets: ["latin"],
20});
21
22export const metadata: Metadata = {
23 title: "IKnow - UKIM",
24 description:
25 "University Managment System used to provide students informations and manage their progress.",
26};
27
28export default function RootLayout({
29 children,
30}: Readonly<{
31 children: React.ReactNode;
32}>) {
33 return (
34 <div className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
35 <Header />
36 <Navbar />
37 {children}
38 </div>
39 );
40}
Note: See TracBrowser for help on using the repository browser.