Skip to content

Commit e9bf42b

Browse files
authored
Update homelab.html
1 parent 3520f5d commit e9bf42b

1 file changed

Lines changed: 73 additions & 4 deletions

File tree

‎homelab.html‎

Lines changed: 73 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@
1515

1616
.section-title { font-family: 'JetBrains Mono', monospace; color: #fff; border-left: 4px solid #3b82f6; padding-left: 15px; margin: 40px 0 20px 0; font-size: 1.5rem; text-transform: uppercase; }
1717

18+
.diagram-container {
19+
background: rgba(10, 10, 10, 0.7);
20+
border: 1px solid var(--border-color, #222);
21+
padding: 20px;
22+
border-radius: 12px;
23+
margin-bottom: 35px;
24+
backdrop-filter: blur(10px);
25+
overflow-x: auto;
26+
}
27+
1828
.nodes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 30px; }
1929

2030
.node-card { background: rgba(10, 10, 10, 0.7); border: 1px solid var(--border-color, #222); padding: 30px; border-radius: 12px; position: relative; transition: all 0.3s; backdrop-filter: blur(10px); }
@@ -32,13 +42,66 @@
3242
.spec-label { color: var(--text-muted, #9ca3af); width: 100px; font-weight: 600; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; flex-shrink: 0; }
3343
</style>
3444

45+
<!-- SKRYPT REGENERACJI DIAGRAMU MERMAID -->
46+
<script type="module">
47+
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
48+
mermaid.initialize({ startOnLoad: true, theme: 'dark' });
49+
</script>
50+
3551
<section class="hero-homelab">
3652
<div class="hero-text">
3753
<h2>Infrastructure & HomeLab</h2>
3854
<p>>_ Current Network Backbone, Compute Nodes & Cloud</p>
3955
</div>
4056
</section>
4157

58+
<!-- INTERAKTYWNY DIAGRAM SIECIOWY -->
59+
<h3 class="section-title">Network Topology & Architecture</h3>
60+
<div class="diagram-container">
61+
<pre class="mermaid" style="background: transparent; border: none; text-align: center;">
62+
graph LR
63+
classDef edge fill:#1e293b,stroke:#38bdf8,stroke-width:2px,color:#f8fafc;
64+
classDef rack19 fill:#0f172a,stroke:#22c55e,stroke-width:2px,color:#f8fafc;
65+
classDef rack10 fill:#1e1b4b,stroke:#818cf8,stroke-width:2px,color:#f8fafc;
66+
classDef desk fill:#312e81,stroke:#a855f7,stroke-width:2px,color:#f8fafc;
67+
classDef wifi fill:#451a03,stroke:#f97316,stroke-width:2px,color:#f8fafc;
68+
classDef mobile fill:#4c0519,stroke:#f43f5e,stroke-width:2px,color:#f8fafc;
69+
70+
subgraph WAN ["1. Edge & Router"]
71+
ISP([Internet / Modem]) --> MT["<b>MikroTik hEX gr3</b><br/>• Gateway & Core RouterOS<br/>• Hardware Crypto IPSec"]:::edge
72+
end
73+
74+
subgraph HEX_CONNECTIONS ["2. Bezpośrednie Porty hEX gr3"]
75+
MT --> CoreSwitch["<b>Lanberg RSGE-24P-2GE-2S-250</b><br/>• 24-Port Gigabit PoE+ (250W)<br/>• Główny Core Switch"]:::rack19
76+
MT --> Cisco["<b>Cisco Catalyst 2960C-8TC-L</b><br/>• Compact Access / VLANs"]:::rack19
77+
MT --> Redmi["<b>Redmi AC2100</b><br/>• Main Wi-Fi AP (hEX Direct)"]:::wifi
78+
end
79+
80+
subgraph RACK10 ["3. Szafa RACK 10'"]
81+
CoreSwitch --> Lanberg10["Lanberg 8-Port Switch"]:::rack10
82+
Lanberg10 --> FutroS520["Fujitsu Futro S520<br/>(AMD GX-212ZC)"]:::rack10
83+
end
84+
85+
subgraph DESK ["4. Stanowisko Biurkowe"]
86+
CoreSwitch --> FutroS720["<b>Fujitsu Futro S720</b><br/>• 24/7 Desk Node<br/>• Chłodzenie podkładką 5V USB"]:::desk
87+
CoreSwitch --> NUC["<b>Intel NUC</b> (i5-5250U)<br/>• Workstation"]:::desk
88+
CoreSwitch --> PC["<b>Gaming PC Host</b> (Ryzen 5 3600)"]:::desk
89+
CoreSwitch --> HP8200["<b>HP 8200 Elite USDT</b><br/>• Proxmox VE (Do wymiany)"]:::desk
90+
end
91+
92+
subgraph PERIPHERALS ["5. Urządzenia Sieciowe & Druk"]
93+
CoreSwitch --> Printer["<b>Canon Pixma TS705a</b><br/>• Drukarka Sieciowa (LAN/Wi-Fi)"]:::wifi
94+
CoreSwitch --> TPLink["<b>TP-Link TL-WR1043ND v2.1</b><br/>• Secondary AP / Lab Wi-Fi"]:::wifi
95+
end
96+
97+
subgraph MOBILES ["6. Urządzenia Mobilne"]
98+
Redmi --- Moto["<b>Motorola G35 5G</b><br/>• Daily Driver (z Redmi Wi-Fi)"]:::mobile
99+
TPLink --- Nokia["Nokia 8 Sirocco (FRP / Kuma)"]:::mobile
100+
TPLink --- TestLab["Samsung S5/S4 & HTC Test Lab"]:::mobile
101+
end
102+
</pre>
103+
</div>
104+
42105
<!-- SZAFA RACK 19" (GŁÓWNA) -->
43106
<h3 class="section-title">Rack 19" Main Cabinet</h3>
44107
<div class="nodes-grid">
@@ -82,20 +145,26 @@ <h3 class="section-title">Rack 10" Auxiliary Cabinet</h3>
82145
</div>
83146
</div>
84147

85-
<!-- BEZPRZEWODOWE URZĄDZENIA SIECIOWE -->
86-
<h3 class="section-title">Wireless Access Points (Planned Migration)</h3>
148+
<!-- BEZPRZEWODOWE URZĄDZENIA SIECIOWE & PERYFERIA -->
149+
<h3 class="section-title">Wireless Access Points & Peripherals</h3>
87150
<div class="nodes-grid">
88151
<div class="node-card">
89152
<span class="status-badge migration">Replacing</span>
90153
<span class="node-name">Redmi AC2100</span>
91-
<div class="spec-line"><span class="spec-label">Role:</span><span>Wireless AP/Router</span></div>
154+
<div class="spec-line"><span class="spec-label">Role:</span><span>Primary Wi-Fi AP (hEX Direct)</span></div>
92155
<div class="spec-line"><span class="spec-label">Status:</span><span>Phasing Out (Replacing with Archer C6 v2)</span></div>
93156
</div>
94157
<div class="node-card">
95158
<span class="status-badge migration">Replacing</span>
96159
<span class="node-name">TP-Link WR1043ND v2.1</span>
97160
<div class="spec-line"><span class="spec-label">OS:</span><span>Factory / OpenWrt</span></div>
98-
<div class="spec-line"><span class="spec-label">Role:</span><span>Lab Router (Phasing Out)</span></div>
161+
<div class="spec-line"><span class="spec-label">Role:</span><span>Secondary / Mobile Lab Wi-Fi</span></div>
162+
</div>
163+
<div class="node-card">
164+
<span class="status-badge mobile">Printer</span>
165+
<span class="node-name">Canon Pixma TS705a</span>
166+
<div class="spec-line"><span class="spec-label">Role:</span><span>Network Inkjet Printer</span></div>
167+
<div class="spec-line"><span class="spec-label">Conn:</span><span>LAN / Wi-Fi</span></div>
99168
</div>
100169
</div>
101170

0 commit comments

Comments
 (0)