Added Data to SituationsBoard

This commit is contained in:
PxlLoewe
2025-06-02 22:44:49 -07:00
parent ff18b2d72d
commit 4acdb48344
15 changed files with 344 additions and 7103 deletions

View File

@@ -1,10 +1,11 @@
import { Award } from "lucide-react";
import { getServerSession } from "../../api/auth/[...nextauth]/auth";
import { Badge } from "../../_components/Badge/Badge";
import { JSX } from "react";
export const Badges = async () => {
export const Badges: () => Promise<JSX.Element> = async () => {
const session = await getServerSession();
if (!session) return null;
if (!session) return <div />;
return (
<div className="card bg-base-200 shadow-xl mb-4 col-span-6 xl:col-span-3">

View File

@@ -14,6 +14,8 @@
"@next-auth/prisma-adapter": "^1.0.7",
"@radix-ui/react-icons": "^1.3.2",
"@repo/db": "*",
"@repo/eslint-config": "*",
"@repo/typescript-config": "*",
"@tanstack/react-query": "^5.79.0",
"@tanstack/react-table": "^8.21.3",
"@uiw/react-md-editor": "^4.0.7",
@@ -42,19 +44,17 @@
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@repo/eslint-config": "*",
"@repo/typescript-config": "*",
"@tailwindcss/postcss": "^4.1.8",
"@types/bcryptjs": "^3.0.0",
"@types/jsonwebtoken": "^9.0.9",
"@types/node": "^22.15.29",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/react": "^19.1.6",
"@types/react-dom": "^19.1.5",
"daisyui": "^5.0.43",
"eslint": "^9",
"eslint": "^9.15.0",
"eslint-config-next": "^15.3.3",
"postcss": "^8.5.4",
"tailwindcss": "^4.1.8",
"typescript": "^5"
"typescript": "^5.8.3"
}
}