mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 23:42:24 +00:00
Some checks failed
Build & Push Judge4c Docker Image / build-and-push-judge4c-docker-image (., Dockerfile, judge4c) (push) Failing after 0s
- Add SubmissionLoginButton component for unauthenticated users - Modify submissions page to check auth session - Filter submissions by current user when logged in
24 lines
519 B
TypeScript
24 lines
519 B
TypeScript
import { cn } from "@/lib/utils";
|
|
|
|
interface ProblemDescriptionFooterProps {
|
|
title: string;
|
|
className?: string;
|
|
}
|
|
|
|
export default function ProblemDescriptionFooter({
|
|
title,
|
|
className,
|
|
...props
|
|
}: ProblemDescriptionFooterProps) {
|
|
return (
|
|
<footer
|
|
{...props}
|
|
className={cn("h-9 flex flex-none items-center bg-muted px-3 py-2", className)}
|
|
>
|
|
<div className="w-full flex items-center justify-center">
|
|
<span className="truncate">{title}</span>
|
|
</div>
|
|
</footer>
|
|
);
|
|
}
|