diff --git a/components/dasboard-components/UserProfile.tsx b/components/dasboard-components/UserProfile.tsx new file mode 100644 index 0000000..a9522c8 --- /dev/null +++ b/components/dasboard-components/UserProfile.tsx @@ -0,0 +1,96 @@ +import { useState } from "react"; +import { Github, Send, Wallet, X, Copy, Pencil } from "lucide-react"; + +const UserProfile = () => { + const [username, setUsername] = useState("Luciferess"); + const [email, setEmail] = useState("lulubae@gmail.com"); + const [editingField, setEditingField] = useState(null); + const [address] = useState("0x742d...f44e"); + + return ( +
+ {/* Avatar */} +
+ avatar +
+ {/* Username */} +

+ {username} +

+ {/* Social icons */} +
+ + + + +
+ {/* Address row */} +
+ + +
+ {/* Username field */} +
+ +
+ setUsername(e.target.value)} + className="w-full bg-transparent border border-zinc-600 rounded px-3 py-2 text-white focus:outline-none focus:border-lime-200 transition pr-8" + /> + +
+
+ {/* Email field */} +
+ +
+ setEmail(e.target.value)} + className="w-full bg-transparent border border-zinc-600 rounded px-3 py-2 text-white focus:outline-none focus:border-lime-200 transition pr-8" + /> + +
+
+
+ ); +}; + +export default UserProfile; diff --git a/components/dashboard-components/CreateCampaignForm.tsx b/components/dashboard-components/CreateCampaignForm.tsx new file mode 100644 index 0000000..6569cba --- /dev/null +++ b/components/dashboard-components/CreateCampaignForm.tsx @@ -0,0 +1,99 @@ +import { useState } from "react"; +import { Plus } from "lucide-react"; + +const CreateCampaignForm = () => { + const [tasks, setTasks] = useState([]); + const [taskInput, setTaskInput] = useState(""); + + const handleAddTask = () => { + if (taskInput.trim()) { + setTasks([...tasks, taskInput.trim()]); + setTaskInput(""); + } + }; + + return ( +
+
+

+ New Campaign +

+ +
+
+
+ + +
+
+ + +
+
+
+ ); +}; + +export default CreateCampaignForm; diff --git a/package-lock.json b/package-lock.json index e11e9f2..83b084a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3829,6 +3829,7 @@ "version": "0.511.0", "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.511.0.tgz", "integrity": "sha512-VK5a2ydJ7xm8GvBeKLS9mu1pVK6ucef9780JVUjw6bAjJL/QXnd4Y0p7SPeOUMC27YhzNCZvm5d/QX0Tp3rc0w==", + "license": "ISC", "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" }