feat(home): replace demo with entity count dashboard

Home page now shows one clickable summary card per entity type
(Networks, Hosts, Applications). Each card displays the total count
fetched from the database via a single get_summary() server function,
then navigates to the corresponding page on click.

Counts are pre-rendered server-side via <Suspense> so the page is
useful even before the WASM bundle loads.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-15 22:49:25 +02:00
parent 589aab7e3d
commit 3ee39b96bb
3 changed files with 103 additions and 63 deletions

View File

@@ -17,3 +17,4 @@
pub mod applications;
pub mod hosts;
pub mod networks;
pub mod summary;