source: src/app/admin/layout.tsx@ 8496f3c

Last change on this file since 8496f3c was 8496f3c, checked in by Stefan-Saveski <stefansaveski19@…>, 9 days ago
  • ready for presentation
  • Property mode set to 100644
File size: 934 bytes
RevLine 
[8496f3c]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 AdminNavbar from "@/components/admin-navbar";
8
9config.autoAddCss = false;
10
11const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"] });
12const geistMono = Geist_Mono({ variable: "--font-geist-mono", subsets: ["latin"] });
13
14export const metadata: Metadata = {
15 title: "IKnow - Admin Portal",
16 description: "Administration of subjects, semesters and teaching assignments",
17};
18
19export default function AdminLayout({ children }: Readonly<{ children: React.ReactNode }>) {
20 return (
21 <div className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
22 <Header />
23 <AdminNavbar />
24 {children}
25 </div>
26 );
27}
Note: See TracBrowser for help on using the repository browser.