diff --git a/app/components/float.tsx b/app/components/float.tsx new file mode 100644 index 0000000..221532d --- /dev/null +++ b/app/components/float.tsx @@ -0,0 +1,16 @@ +export function Float({ float }: { float: number }) { + return ( + <> +
+
+
+
+
+
+
+
+
+
+ + ); +} diff --git a/app/components/weapon.tsx b/app/components/weapon.tsx index a50cd31..8217830 100644 --- a/app/components/weapon.tsx +++ b/app/components/weapon.tsx @@ -1,24 +1,46 @@ -import { Button } from "@heroui/react"; +import { Button, Surface, Typography } from "@heroui/react"; +import { Float } from "./float"; export function Weapon({ weapon_id, color, + display = "Weapon", + float = 0, + pattern = 0, paint_index = 0, }: { weapon_id: string; color: string; + display?: string; + float?: number; + pattern?: number; paint_index?: number; }) { - const acolor = `${color}64` + const acolor = `${color}64`; return ( - + + + ); }