From 746bfc761216ef6f902fcb17dd1f98c860349732 Mon Sep 17 00:00:00 2001 From: Lorenzo Rocca Date: Tue, 21 Apr 2026 13:32:06 +0200 Subject: [PATCH 01/13] Aggiunti i componenti per le card delle statistiche Signed-off-by: Lorenzo Rocca --- src/app/stats/page.tsx | 40 ++++++- .../ui/stats/general/FeaturedStatCard.tsx | 113 ++++++++++++++++++ .../stats/general/FeaturedStatsContainer.tsx | 24 ++++ .../stats/general/GeneralStatsComponents.tsx | 41 +++++++ .../ui/stats/general/SimpleStatCard.tsx | 55 +++++++++ .../ui/stats/general/SimpleStatsContainer.tsx | 31 +++++ src/styles/pages/global.css | 12 ++ 7 files changed, 315 insertions(+), 1 deletion(-) create mode 100644 src/components/ui/stats/general/FeaturedStatCard.tsx create mode 100644 src/components/ui/stats/general/FeaturedStatsContainer.tsx create mode 100644 src/components/ui/stats/general/GeneralStatsComponents.tsx create mode 100644 src/components/ui/stats/general/SimpleStatCard.tsx create mode 100644 src/components/ui/stats/general/SimpleStatsContainer.tsx diff --git a/src/app/stats/page.tsx b/src/app/stats/page.tsx index cd9e052..c183eb1 100644 --- a/src/app/stats/page.tsx +++ b/src/app/stats/page.tsx @@ -3,6 +3,10 @@ import SplitText from "@/components/reactbits/SplitText"; import AnimatedContent from "@/components/reactbits/AnimatedContent"; import DotGrid from "@/components/reactbits/DotGrid"; import Footer from "@/components/layouts/Footer"; +import {ExploreMoreButton} from "@/components/ui/stats/general/GeneralStatsComponents"; +import FeaturedStatsContainer from "@/components/ui/stats/general/FeaturedStatsContainer"; +import SimpleStatsContainer from "@/components/ui/stats/general/SimpleStatsContainer"; +import {simpleStats} from "@/lib/insu/stats/GeneralDataset"; export default function StatistichePage() { return ( @@ -41,7 +45,41 @@ export default function StatistichePage() {
- +
+ +

Tutto parte da qui

+
+ +

+ Tutte le idee raccolte in questo sito web sono basate su dati e statistiche reali, raccolti da fonti ufficiali e affidabili. Esplora le nostre statistiche per scoprire di più sull'area Insubrica e sui suoi quartieri. +

+
+ +
+ +