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:
co-authored by
Claude Sonnet 5
parent
8beb0fcf52
commit
b6c1389c55
@@ -0,0 +1,88 @@
|
||||
import { Plus, Building2, CalendarPlus, Calculator } from "lucide-react";
|
||||
import OmsorgCard from "../../components/OmsorgCard";
|
||||
import OmsorgButton from "../../components/ui/OmsorgButton";
|
||||
import HomeStats from "./HomeStats";
|
||||
import OmsorgBadge from "../../components/ui/OmsorgBadge";
|
||||
export default function HomePage() {
|
||||
return (
|
||||
<>
|
||||
<OmsorgCard>
|
||||
<h2>
|
||||
Willkommen bei
|
||||
<span className="accent">
|
||||
{" "}Omsorg Business Controls Pro
|
||||
</span>
|
||||
</h2>
|
||||
|
||||
<p>
|
||||
Schön, dass ihr heute wieder da seid.
|
||||
Hier beginnt euer Arbeitstag.
|
||||
</p>
|
||||
</OmsorgCard><div className="badge-test-row">
|
||||
<OmsorgBadge status="aktiv" />
|
||||
<OmsorgBadge status="einsatz" />
|
||||
<OmsorgBadge status="urlaub" />
|
||||
<OmsorgBadge status="krank" />
|
||||
<OmsorgBadge status="vertrag" />
|
||||
</div>
|
||||
<HomeStats />
|
||||
<section className="dashboard-grid home-grid">
|
||||
<OmsorgCard title="Heute zu erledigen">
|
||||
<ul className="home-task-list">
|
||||
<li>☎ Vertrag verlängern</li>
|
||||
<li>📄 3 Rechnungen offen</li>
|
||||
<li>👤 Neuer Mitarbeiter beginnt</li>
|
||||
<li>⚠ Führerschein läuft bald ab</li>
|
||||
</ul>
|
||||
</OmsorgCard>
|
||||
|
||||
<OmsorgCard title="Schnellaktionen">
|
||||
<div className="home-actions">
|
||||
<OmsorgButton icon={Plus}>
|
||||
Neuer Mitarbeiter
|
||||
</OmsorgButton>
|
||||
|
||||
<OmsorgButton
|
||||
variant="secondary"
|
||||
icon={Building2}
|
||||
>
|
||||
Neue Einrichtung
|
||||
</OmsorgButton>
|
||||
|
||||
<OmsorgButton
|
||||
variant="secondary"
|
||||
icon={CalendarPlus}
|
||||
>
|
||||
Neuer Auftrag
|
||||
</OmsorgButton>
|
||||
|
||||
<OmsorgButton
|
||||
variant="secondary"
|
||||
icon={Calculator}
|
||||
>
|
||||
Neue Kalkulation
|
||||
</OmsorgButton>
|
||||
</div>
|
||||
</OmsorgCard>
|
||||
</section>
|
||||
</>
|
||||
);
|
||||
}<OmsorgCard>
|
||||
<h2>
|
||||
Willkommen bei
|
||||
<span className="accent"> Omsorg Business Controls Pro</span>
|
||||
</h2>
|
||||
|
||||
<p>
|
||||
Schön, dass ihr heute wieder da seid.
|
||||
Hier beginnt euer Arbeitstag.
|
||||
</p>
|
||||
|
||||
<div className="badge-test-row">
|
||||
<OmsorgBadge status="aktiv" />
|
||||
<OmsorgBadge status="einsatz" />
|
||||
<OmsorgBadge status="urlaub" />
|
||||
<OmsorgBadge status="krank" />
|
||||
<OmsorgBadge status="vertrag" />
|
||||
</div>
|
||||
</OmsorgCard>
|
||||
Reference in New Issue
Block a user