|
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 | |
|---|
| 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 | <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.