|
Last change
on this file since 2d635ae 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:
1004 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 |
|
|---|
| 8 | // Prevent FontAwesome from adding CSS automatically
|
|---|
| 9 | config.autoAddCss = false;
|
|---|
| 10 |
|
|---|
| 11 | const geistSans = Geist({
|
|---|
| 12 | variable: "--font-geist-sans",
|
|---|
| 13 | subsets: ["latin"],
|
|---|
| 14 | });
|
|---|
| 15 |
|
|---|
| 16 | const geistMono = Geist_Mono({
|
|---|
| 17 | variable: "--font-geist-mono",
|
|---|
| 18 | subsets: ["latin"],
|
|---|
| 19 | });
|
|---|
| 20 |
|
|---|
| 21 | export const metadata: Metadata = {
|
|---|
| 22 | title: "IKnow - Student Portal",
|
|---|
| 23 | description: "Student portal for Ss. Cyril and Methodius University",
|
|---|
| 24 | };
|
|---|
| 25 |
|
|---|
| 26 | export default function RootLayout({
|
|---|
| 27 | children,
|
|---|
| 28 | }: Readonly<{
|
|---|
| 29 | children: React.ReactNode;
|
|---|
| 30 | }>) {
|
|---|
| 31 | return (
|
|---|
| 32 | <html lang="en">
|
|---|
| 33 | <body
|
|---|
| 34 | className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|---|
| 35 | >
|
|---|
| 36 | <div className="mx-auto max-w-6xl px-4">{children}</div>
|
|---|
| 37 | </body>
|
|---|
| 38 | </html>
|
|---|
| 39 | );
|
|---|
| 40 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.