Reorganize into monorepo layout, move mitarbeiter-app to legacy reference

Consolidates the previously separate omsorgapp and omsorgCore repos
(each had their own nested .git with GitHub history) plus the old
root-level website/mitarbeiter-app into a single monorepo, matching
the structure already documented in the root CLAUDE.md. Also moves
the PHP employee app aside as omsorgWeb/mitarbeiter-app-legacy/ to
serve as a template for a ground-up rewrite.

Fixes .gitignore in the same pass: the config-secrets/uploads/data
patterns were unanchored (relative to repo root, not depth-agnostic),
so they silently stopped matching once the app moved under omsorgWeb/.
Patterns are now **/-prefixed and cover both mitarbeiter-app and
mitarbeiter-app-legacy, keeping DB/SMTP credentials and uploaded
employee documents out of version control.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Felix Kemmler
2026-08-07 14:21:37 +02:00
co-authored by Claude Sonnet 5
parent 8beb0fcf52
commit b6c1389c55
355 changed files with 24348 additions and 361 deletions
+52
View File
@@ -0,0 +1,52 @@
import { Bell, LogOut, Search, UserCircle2 } from "lucide-react";
import { useAuth } from "../app/AuthContext";
export default function Header() {
const { user, logout } = useAuth();
return (
<header className="header">
<div className="header-left">
<h1>Guten Morgen Sabina & Malik </h1>
<p>
Schön, dass ihr heute wieder da seid.
</p>
</div>
<div className="header-right">
<button className="icon-button">
<Search size={20} />
</button>
<button className="icon-button notification">
<Bell size={20} />
<span className="notification-dot">
3
</span>
</button>
<button className="icon-button">
<UserCircle2 size={24} />
</button>
{user?.username && (
<span className="header-username">{user.username}</span>
)}
<button className="icon-button" title="Abmelden" onClick={logout}>
<LogOut size={20} />
</button>
</div>
</header>
);
}