feat: add machine info page

This commit is contained in:
Aarnav Tale
2024-03-26 09:28:52 -04:00
parent b8498a9db3
commit 3b1f0ae6f8
5 changed files with 162 additions and 16 deletions
+24
View File
@@ -0,0 +1,24 @@
import clsx from 'clsx'
import { type HTMLProps } from 'react'
type Properties = HTMLProps<SVGElement> & {
readonly isOnline: boolean;
}
// eslint-disable-next-line unicorn/no-keyword-prefix
export default function StatusCircle({ isOnline, className }: Properties) {
return (
<svg
className={clsx(
className,
isOnline
? 'text-green-700 dark:text-green-400'
: 'text-gray-300 dark:text-gray-500'
)}
viewBox='0 0 24 24'
fill='currentColor'
>
<circle cx='12' cy='12' r='8'/>
</svg>
)
}