diff --git a/client-src/components/user-toolbar/user-toolbar.tsx b/client-src/components/user-toolbar/user-toolbar.tsx index 5c3f50c..84b23d5 100644 --- a/client-src/components/user-toolbar/user-toolbar.tsx +++ b/client-src/components/user-toolbar/user-toolbar.tsx @@ -42,6 +42,14 @@ export default function UserToolbar({ socketSend({ type: "change-name", name }); }; + const ribbit = () => { + socketSend({ type: "ribbit", name }); + }; + + const uploadSvg = () => { + socketSend({ svg: app.copySvg(), type: "upload-svg" }); + }; + return ( <> setFrog(frog)} onHatComplete={(hat: string) => setHat(hat)} /> - -
- - - - - setName(e.currentTarget.value)} - onBlur={handleNameBlur} - className="text-lg text-center w-fit border-2 border-green-800 bg-white font-bold rounded pl-2" - /> - + +
+
+ + + + + setName(e.currentTarget.value)} + onBlur={handleNameBlur} + className="text-lg text-center w-fit border-2 border-green-800 bg-white font-bold rounded pl-2" + /> + +
+ +
+ +
-
- +
+
+ +
+
+ +
-
+ +
-
+
+ + +
+ +