Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions admin-portal/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
// From https://github.com/TritonSE/linters/blob/main/nextjs.eslintrc.json

// Avoid bugs.
"@typescript-eslint/no-shadow": [
"error",
{ "ignoreTypeValueShadow": true }
],
"@typescript-eslint/no-shadow": ["error", { "ignoreTypeValueShadow": true }],
"@typescript-eslint/no-unsafe-unary-minus": "error",
"@typescript-eslint/no-unused-expressions": "error",
"@typescript-eslint/no-unused-vars": [
Expand Down Expand Up @@ -57,15 +54,7 @@
"warn",
{
"alphabetize": { "order": "asc" },
"groups": [
"builtin",
"external",
"parent",
"sibling",
"index",
"object",
"type"
],
"groups": ["builtin", "external", "parent", "sibling", "index", "object", "type"],
"newlines-between": "always"
}
],
Expand Down
105 changes: 105 additions & 0 deletions admin-portal/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions admin-portal/public/Primary-Liberation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions admin-portal/public/editor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions admin-portal/public/statistics.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions admin-portal/public/user-settings.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions admin-portal/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";

import type { Metadata } from "next";
import "./globals.css";

const geistSans = Geist({
Expand All @@ -24,9 +25,7 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
<body className={`${geistSans.variable} ${geistMono.variable}`}>
{children}
</body>
<body className={`${geistSans.variable} ${geistMono.variable}`}>{children}</body>
</html>
);
}
Loading
Loading