chore: remove all unicode emojis project-wide and sanitize pdf text

This commit is contained in:
DanielS
2026-09-08 00:03:27 +02:00
parent 40b63b3fa9
commit ec11ad8498
11 changed files with 68 additions and 51 deletions

View File

@@ -16,6 +16,7 @@ import Link from "next/link";
import { useRouter } from "next/navigation";
import { useState, useEffect, useRef, useCallback } from "react";
import { motion, AnimatePresence } from "framer-motion";
import { Ban } from "lucide-react";
function getDeviceHash(): string {
const key = "caspos-device-id";
@@ -227,8 +228,9 @@ export function LoginForm({
/>
</div>
{errorParam === "gesperrt" && (
<p className="text-sm text-red-500 bg-red-500/10 border border-red-500/20 p-3 rounded-lg text-center font-medium">
🚫 Ihr Konto wurde gesperrt. Bitte wenden Sie sich an den Administrator.
<p className="text-sm text-red-500 bg-red-500/10 border border-red-500/20 p-3 rounded-lg text-center font-medium flex items-center justify-center gap-2">
<Ban className="w-4 h-4 shrink-0" />
<span>Ihr Konto wurde gesperrt. Bitte wenden Sie sich an den Administrator.</span>
</p>
)}
{messageParam === "concurrent" && (