Add node map + fixes

This commit is contained in:
Sacha Weatherstone
2021-12-08 02:05:46 +11:00
parent f4c9fe85f7
commit 8d68832c62
12 changed files with 850 additions and 381 deletions
-17
View File
@@ -1,17 +0,0 @@
import type React from 'react';
export interface StatCardProps {
title: string;
value: string | JSX.Element;
}
export const StatCard = ({ title, value }: StatCardProps): JSX.Element => {
return (
<div className="w-full bg-white border-gray-300 shadow-md select-none dark:text-white border-y md:border dark:bg-primaryDark dark:border-gray-600 md:rounded-md ">
<div className="m-4">
<div className="text-lg font-light">{title}</div>
<div className="text-3xl font-bold">{value}</div>
</div>
</div>
);
};