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">