mirror of https://github.com/waku-org/metrics.git
empty state handling components
This commit is contained in:
parent
0d259b11ab
commit
59d81936bc
|
@ -209,7 +209,24 @@ export default function Benchmarks(props) {
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div>No benchmarks yet!</div>
|
<div>
|
||||||
|
<div className="flex mt-10 justify-center">
|
||||||
|
<svg className="w-10 h-10" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<ellipse cx="8.828" cy="18" fill="#F5F8FA" rx="7.953" ry="13.281"/>
|
||||||
|
<path fill="#E1E8ED" d="M8.828 32.031C3.948 32.031.125 25.868.125 18S3.948 3.969 8.828 3.969S17.531 10.132 17.531 18s-3.823 14.031-8.703 14.031zm0-26.562C4.856 5.469 1.625 11.09 1.625 18s3.231 12.531 7.203 12.531S16.031 24.91 16.031 18S12.8 5.469 8.828 5.469z"/>
|
||||||
|
<circle cx="6.594" cy="18" r="4.96" fill="#8899A6"/>
|
||||||
|
<circle cx="6.594" cy="18" r="3.565" fill="#292F33"/>
|
||||||
|
<circle cx="7.911" cy="15.443" r="1.426" fill="#F5F8FA"/>
|
||||||
|
<ellipse cx="27.234" cy="18" fill="#F5F8FA" rx="7.953" ry="13.281"/>
|
||||||
|
<path fill="#E1E8ED" d="M27.234 32.031c-4.88 0-8.703-6.163-8.703-14.031s3.823-14.031 8.703-14.031S35.938 10.132 35.938 18s-3.824 14.031-8.704 14.031zm0-26.562c-3.972 0-7.203 5.622-7.203 12.531c0 6.91 3.231 12.531 7.203 12.531S34.438 24.91 34.438 18S31.206 5.469 27.234 5.469z"/>
|
||||||
|
<circle cx="25" cy="18" r="4.96" fill="#8899A6"/>
|
||||||
|
<circle cx="25" cy="18" r="3.565" fill="#292F33"/>
|
||||||
|
<circle cx="26.317" cy="15.443" r="1.426" fill="#F5F8FA"/>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<h1 className="text-center mt-4">No benchmarks found!</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
@ -256,8 +256,25 @@ export default function Ecosystem(props) {
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div>No projects added yet!</div>
|
<div>
|
||||||
|
<div className="flex mt-10 justify-center">
|
||||||
|
<svg className="w-10 h-10" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<ellipse cx="8.828" cy="18" fill="#F5F8FA" rx="7.953" ry="13.281"/>
|
||||||
|
<path fill="#E1E8ED" d="M8.828 32.031C3.948 32.031.125 25.868.125 18S3.948 3.969 8.828 3.969S17.531 10.132 17.531 18s-3.823 14.031-8.703 14.031zm0-26.562C4.856 5.469 1.625 11.09 1.625 18s3.231 12.531 7.203 12.531S16.031 24.91 16.031 18S12.8 5.469 8.828 5.469z"/>
|
||||||
|
<circle cx="6.594" cy="18" r="4.96" fill="#8899A6"/>
|
||||||
|
<circle cx="6.594" cy="18" r="3.565" fill="#292F33"/>
|
||||||
|
<circle cx="7.911" cy="15.443" r="1.426" fill="#F5F8FA"/>
|
||||||
|
<ellipse cx="27.234" cy="18" fill="#F5F8FA" rx="7.953" ry="13.281"/>
|
||||||
|
<path fill="#E1E8ED" d="M27.234 32.031c-4.88 0-8.703-6.163-8.703-14.031s3.823-14.031 8.703-14.031S35.938 10.132 35.938 18s-3.824 14.031-8.704 14.031zm0-26.562c-3.972 0-7.203 5.622-7.203 12.531c0 6.91 3.231 12.531 7.203 12.531S34.438 24.91 34.438 18S31.206 5.469 27.234 5.469z"/>
|
||||||
|
<circle cx="25" cy="18" r="4.96" fill="#8899A6"/>
|
||||||
|
<circle cx="25" cy="18" r="3.565" fill="#292F33"/>
|
||||||
|
<circle cx="26.317" cy="15.443" r="1.426" fill="#F5F8FA"/>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<h1 className="text-center mt-4">No projects found!</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -174,7 +174,23 @@ export default function Timeline(props) {
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div>Timeline data is empty</div>
|
<div>
|
||||||
|
<div className="flex mt-10 justify-center">
|
||||||
|
<svg className="w-10 h-10" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<ellipse cx="8.828" cy="18" fill="#F5F8FA" rx="7.953" ry="13.281"/>
|
||||||
|
<path fill="#E1E8ED" d="M8.828 32.031C3.948 32.031.125 25.868.125 18S3.948 3.969 8.828 3.969S17.531 10.132 17.531 18s-3.823 14.031-8.703 14.031zm0-26.562C4.856 5.469 1.625 11.09 1.625 18s3.231 12.531 7.203 12.531S16.031 24.91 16.031 18S12.8 5.469 8.828 5.469z"/>
|
||||||
|
<circle cx="6.594" cy="18" r="4.96" fill="#8899A6"/>
|
||||||
|
<circle cx="6.594" cy="18" r="3.565" fill="#292F33"/>
|
||||||
|
<circle cx="7.911" cy="15.443" r="1.426" fill="#F5F8FA"/>
|
||||||
|
<ellipse cx="27.234" cy="18" fill="#F5F8FA" rx="7.953" ry="13.281"/>
|
||||||
|
<path fill="#E1E8ED" d="M27.234 32.031c-4.88 0-8.703-6.163-8.703-14.031s3.823-14.031 8.703-14.031S35.938 10.132 35.938 18s-3.824 14.031-8.704 14.031zm0-26.562c-3.972 0-7.203 5.622-7.203 12.531c0 6.91 3.231 12.531 7.203 12.531S34.438 24.91 34.438 18S31.206 5.469 27.234 5.469z"/>
|
||||||
|
<circle cx="25" cy="18" r="4.96" fill="#8899A6"/>
|
||||||
|
<circle cx="25" cy="18" r="3.565" fill="#292F33"/>
|
||||||
|
<circle cx="26.317" cy="15.443" r="1.426" fill="#F5F8FA"/>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<h1 className="text-center mt-4">No timeline snapshots found!</h1>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue