@@ -3,7 +3,7 @@ import { notFound } from 'next/navigation';
33import { Card , CardHeader , CardTitle , CardDescription , CardContent } from "@/components/ui/card" ;
44import { Badge } from '@/components/ui/badge' ;
55import { Button } from '@/components/ui/button' ;
6- import { ArrowLeft , Landmark , Users , DollarSign , LineChart , Briefcase , Percent , Package , Cpu , Settings } from 'lucide-react' ;
6+ import { ArrowLeft , Landmark , Users , DollarSign , LineChart , Briefcase , Percent , Package , Cpu , Settings , Server , Bitcoin } from 'lucide-react' ;
77import Link from 'next/link' ;
88import { Table , TableBody , TableCell , TableHead , TableHeader , TableRow } from '@/components/ui/table' ;
99import { Avatar , AvatarFallback } from '@/components/ui/avatar' ;
@@ -70,7 +70,7 @@ export default async function CompanyDetailPage({ params }: { params: { companyI
7070 </ div >
7171 </ div >
7272
73- < div className = "grid gap-6 md:grid-cols-2 lg:grid-cols-4 " >
73+ < div className = "grid gap-6 md:grid-cols-2 lg:grid-cols-3 " >
7474 < Card >
7575 < CardHeader className = "flex flex-row items-center justify-between space-y-0 pb-2" >
7676 < CardTitle className = "text-sm font-medium" > Trésorerie</ CardTitle >
@@ -111,6 +111,26 @@ export default async function CompanyDetailPage({ params }: { params: { companyI
111111 < p className = "text-xs text-muted-foreground" > Personnes gérant l'entreprise</ p >
112112 </ CardContent >
113113 </ Card >
114+ < Card >
115+ < CardHeader className = "flex flex-row items-center justify-between space-y-0 pb-2" >
116+ < CardTitle className = "text-sm font-medium" > Valeur du Matériel de Minage</ CardTitle >
117+ < Server className = "h-4 w-4 text-muted-foreground" />
118+ </ CardHeader >
119+ < CardContent >
120+ < div className = "text-2xl font-bold" > ${ company . miningRigsValue . toLocaleString ( undefined , { minimumFractionDigits : 2 , maximumFractionDigits : 2 } ) } </ div >
121+ < p className = "text-xs text-muted-foreground" > Valeur totale du matériel détenu</ p >
122+ </ CardContent >
123+ </ Card >
124+ < Card >
125+ < CardHeader className = "flex flex-row items-center justify-between space-y-0 pb-2" >
126+ < CardTitle className = "text-sm font-medium" > Récompenses BTC non réclamées</ CardTitle >
127+ < Bitcoin className = "h-4 w-4 text-muted-foreground" />
128+ </ CardHeader >
129+ < CardContent >
130+ < div className = "text-2xl font-bold" > { company . unclaimedBtc . toFixed ( 8 ) } BTC</ div >
131+ < p className = "text-xs text-muted-foreground" > Généré par les opérations de minage</ p >
132+ </ CardContent >
133+ </ Card >
114134 </ div >
115135
116136 < div className = "grid grid-cols-1 gap-6 lg:grid-cols-2" >
0 commit comments