source: frontend/src/app/professor/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: 958 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 ProfessorNavbar from "@/components/professor-navbar";
8
9config.autoAddCss = false;
10
11const geistSans = Geist({
12 variable: "--font-geist-sans",
13 subsets: ["latin"],
14});
15
16const geistMono = Geist_Mono({
17 variable: "--font-geist-mono",
18 subsets: ["latin"],
19});
20
21export const metadata: Metadata = {
22 title: "IKnow - Professor Portal",
23 description: "Professor portal for managing students and grades",
24};
25
26export default function ProfessorLayout({
27 children,
28}: Readonly<{
29 children: React.ReactNode;
30}>) {
31 return (
32 <div className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
33 <Header />
34 <ProfessorNavbar />
35 {children}
36 </div>
37 );
38}
Note: See TracBrowser for help on using the repository browser.