|
Last change
on this file since 997d094 was 6b8332f, checked in by stefansaveski <stefansaveski19@…>, 11 months ago |
|
feat: Add student exams, profile, semesters, and subjects pages with respective components and data integration
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | import type { Metadata } from "next";
|
|---|
| 2 | import { Geist, Geist_Mono } from "next/font/google";
|
|---|
| 3 | import "../globals.css";
|
|---|
| 4 | import "@fortawesome/fontawesome-svg-core/styles.css";
|
|---|
| 5 | import { config } from "@fortawesome/fontawesome-svg-core";
|
|---|
| 6 | import Header from "@/components/header";
|
|---|
| 7 | import Navbar from "@/components/navbar";
|
|---|
| 8 |
|
|---|
| 9 | // Prevent FontAwesome from adding CSS automatically
|
|---|
| 10 | config.autoAddCss = false;
|
|---|
| 11 |
|
|---|
| 12 | const geistSans = Geist({
|
|---|
| 13 | variable: "--font-geist-sans",
|
|---|
| 14 | subsets: ["latin"],
|
|---|
| 15 | });
|
|---|
| 16 |
|
|---|
| 17 | const geistMono = Geist_Mono({
|
|---|
| 18 | variable: "--font-geist-mono",
|
|---|
| 19 | subsets: ["latin"],
|
|---|
| 20 | });
|
|---|
| 21 |
|
|---|
| 22 | export const metadata: Metadata = {
|
|---|
| 23 | title: "IKnow - UKIM",
|
|---|
| 24 | description:
|
|---|
| 25 | "University Managment System used to provide students informations and manage their progress.",
|
|---|
| 26 | };
|
|---|
| 27 |
|
|---|
| 28 | export default function RootLayout({
|
|---|
| 29 | children,
|
|---|
| 30 | }: Readonly<{
|
|---|
| 31 | children: React.ReactNode;
|
|---|
| 32 | }>) {
|
|---|
| 33 | return (
|
|---|
| 34 | <html lang="en">
|
|---|
| 35 | <body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
|
|---|
| 36 | <div className="mx-auto max-w-6xl px-4">
|
|---|
| 37 | <Header />
|
|---|
| 38 | <Navbar />
|
|---|
| 39 | {children}
|
|---|
| 40 | </div>
|
|---|
| 41 | </body>
|
|---|
| 42 | </html>
|
|---|
| 43 | );
|
|---|
| 44 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.