adding a bunch of linting and starting project over with nothing

This commit is contained in:
talksik
2022-05-12 17:01:27 -05:00
parent f7646c4350
commit 3b1df3173c
34 changed files with 31766 additions and 1058 deletions
@@ -0,0 +1,16 @@
import { UserStatus } from "@nirvana/core/models";
export default function UserStatusText(props: { status: UserStatus }) {
switch (props.status) {
case UserStatus.ONLINE:
return <span className="text-emerald-600 text-sm lowercase">ONLINE</span>;
case UserStatus.OFFLINE:
return <></>;
case UserStatus.FLOW_STATE:
return (
<span className="text-pink-400 text-sm lowercase">FLOW STATE</span>
);
default:
return <></>;
}
}