in src/components/graphs/resView.tsx [30:63]
export function ResView() {
return (
<Card className="w-4/5 max-w-8xl mx-auto bg-gradient-to-br from-slate-900 to-slate-800 text-white shadow-xl">
<CardHeader className="border-b border-slate-700">
<div className="flex flex-col sm:flex-row items-center justify-between gap-4">
<div className="flex items-center gap-2">
<Cuboid className="w-6 h-6 text-blue-400" />
<CardTitle className="text-2xl font-bold">Protocol View</CardTitle>
</div>
</div>
<CardDescription className="mt-4 text-slate-300">
Get Information on each and every step a transaction follows the PBFT
protocol.
</CardDescription>
</CardHeader>
<CardContent className="p-0 h-screen">
<div className="w-full h-full overflow-hidden">
<iframe
src="https://www.memlensapi.run.place/pages/visualizer"
className="w-full h-full"
style={{
border: "none",
transform: "scale(0.75)", // Scale down the content to fit
transformOrigin: "top left", // Ensure scaling starts from the top-left
width: "133%", // Increase width to compensate for scaling
height: "133%", // Increase height to compensate for scaling
}}
title="Visualizer"
></iframe>
</div>
</CardContent>
</Card>
);
}