import { Node } from '@/types/monitoring'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { StatusIndicator } from './StatusIndicator'; import { ServiceCard } from './ServiceCard'; import { Server, Clock } from 'lucide-react'; import { formatDistanceToNow } from 'date-fns'; import { fr } from 'date-fns/locale'; interface NodeCardProps { node: Node; } export function NodeCard({ node }: NodeCardProps) { return (
{node.address}