The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
fix: styling and semantic updates
Mythie115cae83656a
diff --git a/apps/web/src/components/(dashboard)/document-dropzone/document-dropzone.tsx b/apps/web/src/components/(dashboard)/document-dropzone/document-dropzone.tsxindex c3c53d32e..3688bdfca 100644--- a/apps/web/src/components/(dashboard)/document-dropzone/document-dropzone.tsx+++ b/apps/web/src/components/(dashboard)/document-dropzone/document-dropzone.tsx@@ -110,7 +110,7 @@ export const DocumentDropzone = ({ className, onDrop, ...props }: DocumentDropzo)}gradient={true}degrees={120}- lightMode={theme === 'light'}+{...getRootProps()}{...props}>diff --git a/apps/web/src/components/(dashboard)/pdf-viewer/pdf-viewer.tsx b/apps/web/src/components/(dashboard)/pdf-viewer/pdf-viewer.tsxindex 998a54f1a..77284a02b 100644--- a/apps/web/src/components/(dashboard)/pdf-viewer/pdf-viewer.tsx+++ b/apps/web/src/components/(dashboard)/pdf-viewer/pdf-viewer.tsx@@ -67,16 +67,6 @@ export const PDFViewer = ({ className, document, onPageClick, ...props }: PDFVieconst pageX = event.clientX - left;const pageY = event.clientY - top;- console.log({- pageNumber,- numPages,- originalEvent: event,- pageHeight: height,- pageWidth: width,- pageX,- pageY,- });-if (onPageClick) {onPageClick({pageNumber,@@ -137,6 +127,8 @@ export const PDFViewer = ({ className, document, onPageClick, ...props }: PDFVie<PDFPagepageNumber={i + 1}width={width}+ renderAnnotationLayer={false}+ renderTextLayer={false}onClick={(e) => onDocumentPageClick(e, i + 1)}/></div>diff --git a/apps/web/src/components/(dashboard)/pdf-viewer/types.ts b/apps/web/src/components/(dashboard)/pdf-viewer/types.tsnew file mode 100644index 000000000..54c9c5d5a--- /dev/null+++ b/apps/web/src/components/(dashboard)/pdf-viewer/types.ts@@ -0,0 +1,2 @@+export const PDF_VIEWER_CONTAINER_SELECTOR = '.react-pdf__Document';+export const PDF_VIEWER_PAGE_SELECTOR = '.react-pdf__Page';diff --git a/apps/web/src/components/(marketing)/callout.tsx b/apps/web/src/components/(marketing)/callout.tsxindex 30a1abdbf..0c2613ec8 100644--- a/apps/web/src/components/(marketing)/callout.tsx+++ b/apps/web/src/components/(marketing)/callout.tsx@@ -41,16 +41,16 @@ export const Callout = () => {</span></Button>- <Link- href="https://github.com/documenso/documenso"- target="_blank"- onClick={() => event('view-github')}- >- <Button variant="outline" className="rounded-full bg-transparent backdrop-blur-sm">+ <Button variant="outline" className="rounded-full bg-transparent backdrop-blur-sm" asChild>+ <Link+ href="https://github.com/documenso/documenso"+ target="_blank"+ onClick={() => event('view-github')}+ ><Github className="mr-2 h-5 w-5" />Star on Github- </Button>- </Link>+ </Link>+ </Button></div>);};diff --git a/apps/web/src/components/(marketing)/hero.tsx b/apps/web/src/components/(marketing)/hero.tsxindex b406b51cc..7f7aa6d05 100644--- a/apps/web/src/components/(marketing)/hero.tsx+++ b/apps/web/src/components/(marketing)/hero.tsx@@ -114,12 +114,19 @@ export const Hero = ({ className, ...props }: HeroProps) => {</span></Button>- <Link href="https://github.com/documenso/documenso" onClick={() => event('view-github')}>- <Button variant="outline" className="rounded-full bg-transparent backdrop-blur-sm">+ <Button+ variant="outline"+ className="rounded-full bg-transparent backdrop-blur-sm"+ asChild+ >+ <Link+ href="https://github.com/documenso/documenso"+ onClick={() => event('view-github')}+ ><Github className="mr-2 h-5 w-5" />Star on Github- </Button>- </Link>+ </Link>+ </Button></motion.div><motion.divdiff --git a/apps/web/src/components/(marketing)/pricing-table.tsx b/apps/web/src/components/(marketing)/pricing-table.tsxindex 4d229ae98..73003abdc 100644--- a/apps/web/src/components/(marketing)/pricing-table.tsx+++ b/apps/web/src/components/(marketing)/pricing-table.tsx@@ -93,14 +93,15 @@ export const PricingTable = ({ className, ...props }: PricingTableProps) => {For small teams and individuals who need a simple solution</p>- <Link- href="https://github.com/documenso/documenso"- target="_blank"- className="mt-6"- onClick={() => event('view-github')}- >- <Button className="rounded-full text-base">View on Github</Button>- </Link>+ <Button className="mt-6 rounded-full text-base">+ <Link+ href="https://github.com/documenso/documenso"+ target="_blank"+ onClick={() => event('view-github')}+ >+ View on Github+ </Link>+ </Button><div className="mt-8 flex w-full flex-col divide-y"><p className="py-4 font-medium text-slate-900">Host your own instance</p>