.profile/team-stats.svg

110 lines
5.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 740 240" width="100%" height="100%">
<defs>
<clipPath id="teamLangBarClip">
<rect x="34" y="125" width="676" height="12" rx="6" />
</clipPath>
</defs>
<style>
:root {
--bg: #11111b;
--card: #181825;
--border: #313244;
--text-main: #cdd6f4;
--text-sub: #a6adc8;
--text-muted: #6c7086;
--accent: #89b4fa;
--metric-bg: #1e1e2e;
--metric-border: #313244;
}
@media (prefers-color-scheme: light) {
:root {
--bg: #f8fafc;
--card: #ffffff;
--border: #e2e8f0;
--text-main: #0f172a;
--text-sub: #334155;
--text-muted: #64748b;
--accent: #2563eb;
--metric-bg: #f1f5f9;
--metric-border: #cbd5e1;
}
}
.bg-panel { fill: var(--bg); stroke: var(--border); stroke-width: 1.2px; rx: 12px; }
.title { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 700; fill: var(--text-main); }
.subtitle { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif; font-size: 11px; fill: var(--text-sub); }
.stat-val { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif; font-size: 13px; font-weight: 700; fill: var(--text-main); }
.stat-lbl { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif; font-size: 10px; fill: var(--text-sub); }
.lang-lbl { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif; font-size: 10px; font-weight: 500; fill: var(--text-sub); }
.project-tag { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif; font-size: 10px; fill: var(--text-muted); }
</style>
<rect class="bg-panel" x="1" y="1" width="738" height="238" />
<g transform="translate(24, 20)">
<text class="title" x="0" y="14">🏢 WebCore Consulting <tspan font-weight="400" fill="var(--accent)"></tspan> <tspan font-weight="500" font-size="12" fill="var(--text-sub)">Team &amp; Projekt-Statistiken</tspan></text>
<rect x="500" y="0" width="185" height="22" rx="11" fill="var(--metric-bg)" stroke="var(--metric-border)" stroke-width="1" />
<circle cx="512" cy="11" r="4" fill="#a855f7" />
<text class="subtitle" x="522" y="15" font-weight="600">3 Team-Repositories</text>
</g>
<g transform="translate(34, 56)">
<rect width="216" height="44" rx="8" fill="var(--metric-bg)" stroke="var(--metric-border)" stroke-width="1" />
<text x="12" y="27" font-size="16">📁</text>
<text class="stat-val" x="40" y="20">3 Repos</text>
<text class="stat-lbl" x="40" y="33">Aktive Team-Projekte</text>
</g>
<g transform="translate(264, 56)">
<rect width="216" height="44" rx="8" fill="var(--metric-bg)" stroke="var(--metric-border)" stroke-width="1" />
<text x="12" y="27" font-size="16">💾</text>
<text class="stat-val" x="40" y="20">1,9 MB</text>
<text class="stat-lbl" x="40" y="33">Gesamter Team-Code</text>
</g>
<g transform="translate(494, 56)">
<rect width="216" height="44" rx="8" fill="var(--metric-bg)" stroke="var(--metric-border)" stroke-width="1" />
<text x="12" y="27" font-size="16"></text>
<text class="stat-val" x="40" y="20">C# (56,2%)</text>
<text class="stat-lbl" x="40" y="33">Hauptsprache im Team</text>
</g>
<!-- Team Languages Progress Bar -->
<g clip-path="url(#teamLangBarClip)">
<rect x="34.0" y="125" width="379.9" height="12" fill="#a855f7">
<title>C#: 56,2% (1,1 MB)</title>
</rect>
<rect x="413.9" y="125" width="273.1" height="12" fill="#e34c26">
<title>HTML: 40,4% (797,4 KB)</title>
</rect>
<rect x="687.0" y="125" width="15.5" height="12" fill="#563d7c">
<title>CSS: 2,3% (45,7 KB)</title>
</rect>
<rect x="702.6" y="125" width="3.0" height="12" fill="#f1e05a">
<title>JavaScript: 0,4% (8,6 KB)</title>
</rect>
<rect x="705.6" y="125" width="3.0" height="12" fill="#012456">
<title>PowerShell: 0,4% (7,6 KB)</title>
</rect>
<rect x="708.6" y="125" width="3.0" height="12" fill="#89e051">
<title>Shell: 0,2% (3,4 KB)</title>
</rect>
<rect x="711.6" y="125" width="3.0" height="12" fill="#384d54">
<title>Dockerfile: 0,1% (2,4 KB)</title>
</rect>
</g>
<!-- Detailed Language Legend -->
<g transform="translate(34, 158)">
<circle cx="4" cy="4" r="4" fill="#a855f7" />
<text class="lang-lbl" x="13" y="7">C#: 56,2% (1,1 MB)</text>
<circle cx="229" cy="4" r="4" fill="#e34c26" />
<text class="lang-lbl" x="238" y="7">HTML: 40,4% (797,4 KB)</text>
<circle cx="454" cy="4" r="4" fill="#563d7c" />
<text class="lang-lbl" x="463" y="7">CSS: 2,3% (45,7 KB)</text>
<circle cx="4" cy="22" r="4" fill="#f1e05a" />
<text class="lang-lbl" x="13" y="25">JavaScript: 0,4% (8,6 KB)</text>
<circle cx="229" cy="22" r="4" fill="#012456" />
<text class="lang-lbl" x="238" y="25">PowerShell: 0,4% (7,6 KB)</text>
<circle cx="454" cy="22" r="4" fill="#89e051" />
<text class="lang-lbl" x="463" y="25">Shell: 0,2% (3,4 KB)</text>
</g>
<!-- Active Team Repositories Footer -->
<g transform="translate(34, 215)">
<text class="project-tag" x="0" y="0">Team-Repositories: 🚀 ServerManagement (HTML) • 🚀 USBSafe (C#) • 🚀 ServerHub-redesign ()</text>
</g>
</svg>