|
Last change
on this file since b8093a0 was b8093a0, checked in by imbrsk <boris696boris@…>, 4 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:
934 bytes
|
| Rev | Line | |
|---|
| [8496f3c] | 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 AdminNavbar from "@/components/admin-navbar";
|
|---|
| 8 |
|
|---|
| 9 | config.autoAddCss = false;
|
|---|
| 10 |
|
|---|
| 11 | const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"] });
|
|---|
| 12 | const geistMono = Geist_Mono({ variable: "--font-geist-mono", subsets: ["latin"] });
|
|---|
| 13 |
|
|---|
| 14 | export const metadata: Metadata = {
|
|---|
| 15 | title: "IKnow - Admin Portal",
|
|---|
| 16 | description: "Administration of subjects, semesters and teaching assignments",
|
|---|
| 17 | };
|
|---|
| 18 |
|
|---|
| 19 | export 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.