diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index e6bd7c0..23d25b7 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -34,7 +34,6 @@ export default function App() { const [chipOpen, setChipOpen] = useState(false); const [chipEntry, setChipEntry] = useState(null); - // Live refresh (optional) const aliveRef = useRef(true); const load = async () => { @@ -229,7 +228,7 @@ export default function App() { ] : []; - const PlaceholderCard = ({ title, hint }) => ( + const PlaceholderCard = ({ title, hint, compact = false }) => (
{title}
-
- {hint} -
+ {hint ? ( +
+ {hint} +
+ ) : null}
); + // Player rail placeholder (rechts vom Board, vor Notizen) + const players = [ + { id: "p1", label: "A", active: true }, + { id: "p2", label: "B" }, + { id: "p3", label: "C" }, + { id: "p4", label: "D" }, + { id: "p5", label: "E" }, + ]; + + const PlayerIcon = ({ label, active }) => ( +
+ {label} +
+ ); + return (