diff --git a/apps/web/components/editor/pdf-signer.tsx b/apps/web/components/editor/pdf-signer.tsx
index c6626efea..9665ad17e 100644
--- a/apps/web/components/editor/pdf-signer.tsx
+++ b/apps/web/components/editor/pdf-signer.tsx
@@ -4,6 +4,8 @@ import { useRouter } from "next/router";
import dynamic from "next/dynamic";
import SignatureDialog from "./signature-dialog";
import { useState } from "react";
+import { Button } from "@documenso/ui";
+import { CheckBadgeIcon } from "@heroicons/react/24/outline";
const PDFViewer = dynamic(() => import("./pdf-viewer"), {
ssr: false,
@@ -28,10 +30,18 @@ export default function PDFSigner(props: any) {
-
+
Timur Ercan (timur.ercan31@gmail.com) would like you to sign this
document.
+
diff --git a/apps/web/components/editor/signature-dialog.tsx b/apps/web/components/editor/signature-dialog.tsx
index dd6370194..dddb1149d 100644
--- a/apps/web/components/editor/signature-dialog.tsx
+++ b/apps/web/components/editor/signature-dialog.tsx
@@ -20,6 +20,7 @@ const tabs = [
export default function SignatureDialog(props: any) {
const [currentTab, setCurrentTab] = useState(tabs[0]);
+ const [typedName, setTypedName] = useState("");
return (
<>
@@ -48,7 +49,7 @@ export default function SignatureDialog(props: any) {
leaveFrom="opacity-100 translate-y-0 sm:scale-100"
leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
>
-
+
{isCurrentTab("Type") ? (
-
-
+
+
+ {
+ setTypedName(e.target.value);
+ }}
+ className="mt-3 p-1 text-center block border-b w-full border-gray-300 focus:border-neon focus:ring-neon text-2xl"
+ placeholder="Kindly type your name"
+ />
+
+
+
+
+
) : (
""
)}
{isCurrentTab("Draw") ? (
-
draw
+
+
+
+
+
+
) : (
""
)}
-
-
-
-