🔥 The free & Open Source DocuSign alternative
JavaScript digital-signaturedocument-signingdocusign-alternativedocusign-freee-signatureelectronic-signatureelectronic-signaturesesignesignaturehacktoberfestjavascriptlegaltechmongodbnodejsopen-sourcepdf-signpdf-signaturereactjsself-hostedsign-pdf-files
change plans and handle mailgun error
prafullnavkar-nxg6abd0cfc5c31
diff --git a/apps/OpenSign/src/assets/images/checkmark.png b/apps/OpenSign/src/assets/images/checkmark.pngnew file mode 100644index 000000000..10a3aaf16Binary files /dev/null and b/apps/OpenSign/src/assets/images/checkmark.png differdiff --git a/apps/OpenSign/src/components/sidebar/Sidebar.js b/apps/OpenSign/src/components/sidebar/Sidebar.jsindex 32f714201..019a88a62 100644--- a/apps/OpenSign/src/components/sidebar/Sidebar.js+++ b/apps/OpenSign/src/components/sidebar/Sidebar.js@@ -103,7 +103,10 @@ const Sidebar = ({ isOpen, closeSidebar }) => {<i className="fa-brands fa-linkedin"></i></NavLink><NavLink to="https://www.twitter.com/opensignlabs" target="_blank">- <i className="fa-brands fa-square-x-twitter"></i>{" "}+ <i className="fa-brands fa-square-x-twitter"></i>+ </NavLink>+ <NavLink to="https://discord.com/invite/xe9TDuyAyj" target="_blank">+ <i className="fa-brands fa-discord"></i></NavLink></div></div>diff --git a/apps/OpenSign/src/json/plansArr.json b/apps/OpenSign/src/json/plansArr.jsonnew file mode 100644index 000000000..86fab208e--- /dev/null+++ b/apps/OpenSign/src/json/plansArr.json@@ -0,0 +1,62 @@+[+ {+ "planName": "SELF HOSTED",+ "currency": "",+ "price": "Free",+ "subtitle": "Free for life One click install.",+ "btnText": "Visit github",+ "url": "https://github.com/opensignlabs/opensign",+ "benefits": [+ "Sign Unlimited Documents",+ "S3 Doc Storage",+ "Unlimited Guest Signers",+ "Unlimited completion certificates",+ "Unique Code(OTP) verification for guest signers",+ "Expiring docs & reject signature support",+ "PDF Template Creation(coming soon)",+ "Audit Trails",+ "API support",+ "Add-ons support(coming soon)",+ "Self hosted cloud infrastructure",+ "Free for lifetime",+ "Community support"+ ]+ },+ {+ "planName": "THANKS PLAN",+ "currency": "$",+ "price": "29.99",+ "subtitle": "Get this for free if you have promo code in next step",+ "btnText": "Subscribe",+ "url": "https://subscriptions.zoho.in/subscribe/ef798486e6a0a11ea65f2bae8f2af901dbadf3175d495584fd25b9af5d2f2b9e/thanks",+ "benefits": [+ "Sign Unlimited Documents",+ "Unlimited Secure Doc Storage with OpenSignDrive",+ "Unlimited Guest Signers",+ "Unlimited completion certificates",+ "Unique Code(OTP) verification for guest signers",+ "Expiring docs & reject signature support",+ "PDF Template Creation(coming soon)",+ "Audit Trails",+ "API support",+ "Add-ons support(coming soon)",+ "Self hosted cloud infrastructure"+ ]+ },+ {+ "planName": "ENTERPRISE",+ "currency": "",+ "price": "Request Price",+ "subtitle": "Customization available Priority support.",+ "btnText": "Contact us",+ "url": "https://www.opensignlabs.com/contact-us",+ "benefits": [+ "All features",+ "Custom domain",+ "Whitelabeling",+ "Uptime SLA",+ "SSO support",+ "24/7 support"+ ]+ }+]\ No newline at end of filediff --git a/apps/OpenSign/src/layout/HomeLayout.js b/apps/OpenSign/src/layout/HomeLayout.jsindex 55bbb864a..579d4924d 100644--- a/apps/OpenSign/src/layout/HomeLayout.js+++ b/apps/OpenSign/src/layout/HomeLayout.js@@ -175,7 +175,7 @@ const HomeLayout = ({ children }) => {<div className="relative h-screen flex flex-col justify-between w-full overflow-y-auto"><div className="bg-[#eef1f5] p-3">{children}</div><div>- <Footer footer="xap" />+ <Footer /></div></div></div>diff --git a/apps/OpenSign/src/routes/PlanSubscriptions.js b/apps/OpenSign/src/routes/PlanSubscriptions.jsindex 294cc734c..cc642a3e3 100644--- a/apps/OpenSign/src/routes/PlanSubscriptions.js+++ b/apps/OpenSign/src/routes/PlanSubscriptions.js@@ -1,6 +1,16 @@import React, { useState, useEffect } from "react";-import "../styles/plansubscription.css";import { useNavigate } from "react-router";+import { NavLink } from "react-router-dom";+import checkmark from "../assets/images/checkmark.png";+import plansArr from '../json/plansArr.json'+const listItemStyle = {+ paddingLeft: '20px', // Add padding to create space for the image+ backgroundImage: `url(${checkmark})`, // Set your image as the list style image+ backgroundPosition: 'left',+ backgroundRepeat: 'no-repeat',+ backgroundSize: '16px 16px', // Adjust the size of the image+};+const PlanSubscriptions = () => {const navigate = useNavigate();const [yearlyVisible, setYearlyVisible] = useState(false);@@ -28,9 +38,9 @@ const PlanSubscriptions = () => {// eslint-disable-next-line}, []);- const toggleFrequency = () => {- setYearlyVisible(!yearlyVisible);- };+ // const toggleFrequency = () => {+ // setYearlyVisible(!yearlyVisible);+ // };return (<>@@ -54,6 +64,7 @@ const PlanSubscriptions = () => {) : (<divstyle={{+ backgroundColor: "white",overflowY: "auto",maxHeight: "600px","--theme-color": "#7952b3",@@ -62,638 +73,89 @@ const PlanSubscriptions = () => {><divid="monthlyPlans"- style={{ display: yearlyVisible ? "none" : "block" }}+ className={`${yearlyVisible ? "none" : "block my-2"}`}>- <div id="app">- <div className="pricing-table-main">- <div className="">- <div className="pricing-table-frequency clearfix">- <ul- className="navs"- style={{- listStyle: "none",- display: "flex",- alignItems: "baseline"- }}- >- <li className="nav-item">- <button- className="nav-link frequency active"- name="1_months"- >- Monthly- </button>- </li>- <li className="nav-item">- <button- className="nav-link frequency "- onClick={toggleFrequency}- name="1_years"+ {/* <div className=" my-2 w-full flex justify-center">+ <ul+ className="navs"+ style={{+ listStyle: "none",+ display: "flex",+ alignItems: "baseline"+ }}+ >+ <li className="nav-item">+ <button className="nav-link frequency active" name="1_months">+ Monthly+ </button>+ </li>+ <li className="nav-item">+ <button+ className="nav-link frequency "+ onClick={toggleFrequency}+ name="1_years"+ >+ Yearly+ </button>+ </li>+ </ul>+ </div> */}+ <div className="flex justify-center w-full my-2">+ <ul className=" flex flex-col md:flex-row h-full bg-white justify-center border-collapse border-[1px] border-gray-300">+ {plansArr.map((item) => (+ <li+ className="flex flex-col md:my-0 text-center border-[1px] border-gray-300 w-[260px]"+ key={item.planName}+ >+ <div className="p-2 flex flex-col justify-center items-center">+ <h3 className="text-[#002862] uppercase">+ {item.planName}+ </h3>+ <div className="w-[150px] h-[150px]">+ <img+ className="icon-basic mx-auto"+ src="https://js.zohostatic.com/books/zfwidgets/assets/images/plan.png"+ alt="freeimg"+ />+ </div>+ <div className="">+ <span className="text-3xl">+ {item.currency && <small>{item.currency}</small>}+ {item.price}+ </span>+ <div+ className={`${+ item.subtitle.length <= 32+ ? "w-[150px] text-center"+ : ""+ } text-sm text-center my-2`}>- Yearly- </button>- </li>- </ul>- </div>- </div>- <div className="pricing-table-body">- <div className="pricing-table popular">- <ul- // className="clearfix Elegant Pro"- className="plans-custom"- >- <li className="plan-item">- <div className="plan-block ">- <h3 id="plan-name">Free</h3>- <div className="pricing-img">- <img- className="icon-basic"- src="https://js.zohostatic.com/books/zfwidgets/assets/images/plan.png"- alt="freeimg"- />- </div>- <div className="main-price">- <span className="price-figure">- <small>₹</small>- <span className="basic-plan price-value">- <span- className="otherCurrency"- id="plan-amount"- >- {" "}- 0{" "}- </span>- </span>- </span>- <span className="price-term">- <span>Billed Monthly </span>- </span>- <span className="goal">- <a- href={- "https://subscriptions.zoho.in/subscribe/3caf22e54c684d69f22ba6640f3961501c018beadbc1c771dbde1ccf1c7a189d/008" +- details- }- className="rounded"- target="_self"- >- Subscribe- </a>- </span>- </div>- <ul- id="price-features"- className="price-features"- style={{- borderTop: "1px solid rgb(237, 237, 237)",- paddingBottom: 7- }}- >- <li>- <p style={{ position: "relative" }}>- Sign upto 5 documents per month- </p>- </li>- <li>- <p style={{ position: "relative" }}>- 5GB secure storage on OpenSignDrive™- </p>- </li>- <li>- <p style={{ position: "relative" }}>- Import from Google Drive & Dropbox- </p>- </li>- </ul>- </div>- </li>- <li className="plan-item">- <div className="plan-block">- <h3 id="plan-name">PROFESSIONAL</h3>- <div className="pricing-img">- <img- className="icon-basic"- src="https://js.zohostatic.com/books/zfwidgets/assets/images/plan.png"- alt="professionalimg"- />- </div>- <div className="main-price">- <span className="price-figure">- <small>₹</small>- <span className="basic-plan price-value">- <span- className="otherCurrency"- id="plan-amount"- >- {" "}- 999{" "}- </span>- </span>- </span>- <span className="price-term">- <span>Billed Monthly </span>- </span>- <span className="goal">- <a- href={- "https://subscriptions.zoho.in/subscribe/3caf22e54c684d69f22ba6640f3961501c018beadbc1c771dbde1ccf1c7a189d/004" +- details- }- className="rounded"- target="_self"- >- Subscribe- </a>- </span>- </div>- <ul- id="price-features"- className="price-features"- style={{- borderTop: "1px solid rgb(237, 237, 237)",- paddingBottom: 7- }}- >- <li>- <p style={{ position: "relative" }}>- Sign upto 50 documents per month- </p>- </li>- <li>- <p style={{ position: "relative" }}>- 50GB secure storage on OpenSignDrive™- </p>- </li>- <li>- <p style={{ position: "relative" }}>- Import from Google Drive & Dropbox- </p>- </li>- </ul>+ <p>{item.subtitle}</p></div>- </li>- <li className="plan-item">- <div className="plan-block ">- <h3 id="plan-name">PREMIUM</h3>- <div className="pricing-img">- <img- className="icon-basic"- src="https://js.zohostatic.com/books/zfwidgets/assets/images/plan.png"- alt="premiumimg"- />- </div>- <div className="main-price">- <span className="price-figure">- <small>₹</small>- <span className="basic-plan price-value">- <span- className="otherCurrency"- id="plan-amount"- >- {" "}- 1999{" "}- </span>- </span>- </span>- <span className="price-term">- <span>Billed Monthly </span>- </span>- <span className="goal">- <a- href={- "https://subscriptions.zoho.in/subscribe/3caf22e54c684d69f22ba6640f3961501c018beadbc1c771dbde1ccf1c7a189d/003" +- details- }- className="rounded"- target="_self"- >- Subscribe- </a>- </span>- </div>-- <ul- id="price-features"- className="price-features"- style={{- borderTop: "1px solid rgb(237, 237, 237)",- paddingBottom: 7- }}- >- <li>- <p style={{ position: "relative" }}>- Sign unlimited documents- </p>- </li>- <li>- <p style={{ position: "relative" }}>- Unlimited secure storage on OpenSignDrive™- </p>- </li>- <li>- <p style={{ position: "relative" }}>- Import from Google Drive & Dropbox- </p>- </li>- </ul>- </div>- </li>- <li className="plan-item">- <div className="plan-block ">- <h3 id="plan-name">ELITE</h3>- <div className="pricing-img">- <img- className="icon-basic"- src="https://js.zohostatic.com/books/zfwidgets/assets/images/plan.png"- alt="eliteimg"- />- </div>- <div className="main-price">- <span className="price-figure">- <small>₹</small>- <span className="basic-plan price-value">- <span- className="otherCurrency"- id="plan-amount"- >- {" "}- 3999{" "}- </span>- </span>- </span>- <span className="price-term">- <span>Billed Monthly </span>- </span>- <span className="goal">- <a- href={- "https://subscriptions.zoho.in/subscribe/3caf22e54c684d69f22ba6640f3961501c018beadbc1c771dbde1ccf1c7a189d/006" +- details- }- className="rounded"- target="_self"- >- Subscribe- </a>- </span>- </div>- <ul- id="price-features"- className="price-features"- style={{- borderTop: "1px solid rgb(237, 237, 237)",- paddingBottom: 7- }}- >- <li>- <p style={{ position: "relative" }}>- Sign upto 50 documents per month- </p>- </li>- <li>- <p style={{ position: "relative" }}>- Unlimited secure storage on OpenSignDrive™- </p>- </li>- <li>- <p style={{ position: "relative" }}>- Import from Google Drive & Dropbox- </p>- </li>- <li>- <p style={{ position: "relative" }}>- Premium support included{" "}- </p>- </li>- <li>- <p style={{ position: "relative" }}>- SSO supported- </p>- </li>- </ul>- </div>- </li>- </ul>- </div>- </div>- </div>- </div>- </div>- <div- id="yearlyPlans"- style={{ display: yearlyVisible ? "block" : "none" }}- >- <div id="app">- <div className="pricing-table-main">- <div className="">- <div className="pricing-table-frequency clearfix">- <ul- className="navs"- style={{- listStyle: "none",- display: "flex",- alignItems: "baseline"- }}- >- <li className="nav-item">- <a- className="nav-link frequency "- onClick={toggleFrequency}- name="1_months"+ </div>+ <div className="bg-[#002862] w-full text-white py-2 rounded">+ <NavLink+ to={item.url + details}+ className="rounded uppercase hover:no-underline hover:text-white"+ target="_self">- Monthly- </a>- </li>- <li className="nav-item">- <a className="nav-link frequency active" name="1_years">- Yearly- </a>- </li>- </ul>- </div>- </div>-- <div className="pricing-table-body">- <div className="pricing-table popular">- <ul- // className="clearfix Elegant Pro"- className="plans-custom"- >- <li className="plan-item">- <div className="plan-block ">- <h3 id="plan-name">Free</h3>- <div className="pricing-img">- <img- className="icon-basic"- src="https://js.zohostatic.com/books/zfwidgets/assets/images/plan.png"- alt="freeyimg"- />- </div>- <div className="main-price">- <span className="price-figure">- <small>₹</small>- <span className="basic-plan price-value">- <span- className="otherCurrency"- id="plan-amount"- >- {" "}- 0{" "}- </span>- </span>- </span>- <span className="price-term">- <span>Billed Yearly </span>- </span>- <span className="goal">- <a- href={- "https://subscriptions.zoho.in/subscribe/ef798486e6a0a11ea65f2bae8f2af9019cd1d0c8dd2e4a1818972435fd62a5da/009" +- details- }- className="rounded"- target="_self"- >- Subscribe- </a>- </span>- </div>- <ul- id="price-features"- className="price-features"- style={{- borderTop: "1px solid rgb(237, 237, 237)",- paddingBottom: 7- }}- >- <li>- <p style={{ position: "relative" }}>- Sign upto 5 documents per month- </p>- </li>- <li>- <p style={{ position: "relative" }}>- 5GB secure storage on OpenSignDrive™- </p>- </li>- <li>- <p style={{ position: "relative" }}>- Import from Google Drive & Dropbox- </p>- </li>- </ul>- </div>- </li>- <li className="plan-item">- <div className="plan-block ">- <h3 id="plan-name">PROFESSIONAL</h3>- <div className="pricing-img">- <img- className="icon-basic"- src="https://js.zohostatic.com/books/zfwidgets/assets/images/plan.png"- alt="professionalyimg"- />- </div>- <div className="main-price">- <span className="price-figure">- <small>₹</small>- <span className="basic-plan price-value">- <span- className="otherCurrency"- id="plan-amount"- >- {" "}- 5999{" "}- </span>- </span>- </span>- <span className="price-term">- <span>Billed Yearly </span>- </span>- <span className="goal">- <a- href={- "https://subscriptions.zoho.in/subscribe/3caf22e54c684d69f22ba6640f3961501c018beadbc1c771dbde1ccf1c7a189d/005" +- details- }- className="rounded"- target="_self"- >- Subscribe- </a>- </span>- </div>- <ul- id="price-features"- className="price-features"- style={{- borderTop: "1px solid rgb(237, 237, 237)",- paddingBottom: 7- }}- >- <li>- <p style={{ position: "relative" }}>- Sign upto 50 documents per month- </p>- </li>- <li>- <p style={{ position: "relative" }}>- 50GB secure storage on OpenSignDrive™- </p>- </li>- <li>- <p style={{ position: "relative" }}>- Import from Google Drive & Dropbox- </p>- </li>- </ul>- </div>- </li>- <li className="plan-item">- <div className="plan-block ">- <h3 id="plan-name">PREMIUM</h3>- <div className="pricing-img">- <img- className="icon-basic"- src="https://js.zohostatic.com/books/zfwidgets/assets/images/plan.png"- alt="premiumyimg"- />- </div>- <div className="main-price">- <span className="price-figure">- <small>₹</small>- <span className="basic-plan price-value">- <span- className="otherCurrency"- id="plan-amount"- >- {" "}- 11999{" "}- </span>- </span>- </span>- <span className="price-term">- <span>Billed Yearly </span>- </span>- <span className="goal">- <a- href={- "https://subscriptions.zoho.in/subscribe/3caf22e54c684d69f22ba6640f3961501c018beadbc1c771dbde1ccf1c7a189d/002" +- details- }- className="rounded"- target="_self"- >- Subscribe- </a>- </span>- </div>-- <ul- id="price-features"- className="price-features"- style={{- borderTop: "1px solid rgb(237, 237, 237)",- paddingBottom: 7- }}- >- <li>- <p style={{ position: "relative" }}>- Sign unlimited documents- </p>- </li>- <li>- <p style={{ position: "relative" }}>- Unlimited secure storage on OpenSignDrive™- </p>- </li>- <li>- <p style={{ position: "relative" }}>- Import from Google Drive & Dropbox- </p>- </li>- </ul>- </div>- </li>- <li className="plan-item">- <div className="plan-block ">- <h3 id="plan-name">ELITE</h3>- <div className="pricing-img">- <img- className="icon-basic"- src="https://js.zohostatic.com/books/zfwidgets/assets/images/plan.png"- alt="eliteyimg"- />- </div>- <div className="main-price">- <span className="price-figure">- <small>₹</small>- <span className="basic-plan price-value">- <span- className="otherCurrency"- id="plan-amount"- >- {" "}- 23999{" "}- </span>- </span>- </span>- <span className="price-term">- <span>Billed Yearly </span>- </span>- <span className="goal">- <a- href={- "https://subscriptions.zoho.in/subscribe/3caf22e54c684d69f22ba6640f3961501c018beadbc1c771dbde1ccf1c7a189d/007" +- details- }- className="rounded"- target="_self"- >- Subscribe- </a>- </span>- </div>- <ul- id="price-features"- className="price-features"- style={{- borderTop: "1px solid rgb(237, 237, 237)",- paddingBottom: 7- }}- >- <li>- <p style={{ position: "relative" }}>- Sign upto 50 documents per month- </p>- </li>- <li>- <p style={{ position: "relative" }}>- Unlimited secure storage on OpenSignDrive™- </p>- </li>- <li>- <p style={{ position: "relative" }}>- Import from Google Drive & Dropbox- </p>- </li>- <li>- <p style={{ position: "relative" }}>- Premium support included{" "}- </p>- </li>- <li>- <p style={{ position: "relative" }}>- SSO supported- </p>- </li>- </ul>- </div>- </li>+ {item.btnText}+ </NavLink>+ </div>+ </div>+ <hr className="w-full bg-gray-300 p-[.5px]" />+ <ul className="mx-1 p-3 text-left break-words text-sm list-none">+ {item.benefits.map((subitem, index) => (+ <li style={listItemStyle} key={index} className="m-1">+ <span style={{ position: "relative" }}>+ {subitem}+ </span>+ </li>+ ))}</ul>- </div>- </div>- </div>+ </li>+ ))}+ </ul></div></div></div>diff --git a/apps/OpenSign/src/styles/plansubscription.css b/apps/OpenSign/src/styles/plansubscription.cssdeleted file mode 100644index bd95065ad..000000000--- a/apps/OpenSign/src/styles/plansubscription.css+++ /dev/null@@ -1,1074 +0,0 @@-@import url(https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700&display=swap);--.text-semi-muted {- color: #a5a5a5-}--.text-bluemount {- color: #3aacee-}--.over-flow {- max-width: 100%;- overflow: hidden;- text-overflow: ellipsis;- white-space: nowrap-}--.cursor-pointer {- cursor: pointer-}--.float-left {- float: left-}--.float-right {- float: right-}--.btnss {- cursor: pointer;- border: 1px solid;- padding: 6px 12px;- text-decoration: none;- font-weight: 400-}--.btn-curved {- border-radius: 25px-}--.btn-primary-outline {- color: #7952b3;- color: var(--theme-color);- border-color: #7952b3;- border-color: var(--theme-color)-}--.btn-primary {- border-color: #7952b3;- border-color: var(--theme-color)-}--.btn-primary,-.btn-primary-outline:hover {- color: #fff;- background-color: #7952b3;- background-color: var(--theme-color)-}--.pricing-table .plan-block:last-child {- margin-right: 0-}--.pricing-table.popular {- padding-top: 35px-}--.ml-auto {- margin-left: auto !important-}--.plan-block {- -ms-flex: 1 0 auto;- flex: 1 0 auto;- border: 1px solid #eee;- background: #fff;- text-align: center;- margin-left: -1px;- width: 100%;- min-height: 725px;-}--.plan-block.popular {- position: relative;- margin-top: -35px;- box-shadow: 0 6px 8px 3px #ededed-}--.plan-block.popular:before {- content: " ";- display: block;- width: 100%;- height: 5px;- position: absolute;- background: #7952b3 !important;- background: var(--theme-color) !important;- left: 0;- top: 0;- z-index: 2-}--.most-popular {- text-transform: uppercase;- padding: 13px 8px 8px;- color: #e19533;- font-size: 11px;- font-weight: 400;- letter-spacing: 1px;- border-right: 1px solid #ededed;- margin-right: -1px-}--.price-figure small {- display: inline-block;- font-size: 28px !important;- font-weight: 600;- line-height: 30px;- position: relative;- top: -5px-}--.plan-block h3 {- color: #7952b3;- color: var(--theme-color);- font-size: 18px;- font-weight: 400;- line-height: 26px;- padding: 20px 0 0;- text-transform: uppercase;- margin-bottom: 10px;- height: 75px-}--.pricing-img {- margin-top: 30px;- margin-bottom: 20px-}--.pricing-img img {- height: 150px;- width: 150px;- object-fit: contain-}--.price-figure {- margin-left: -12px;- color: #0f1719;- font-size: 44px;- font-weight: 600;- letter-spacing: 0;- line-height: 55px-}--.plan-block .main-price {- padding: 0 10% 30px-}--.price-term {- font-size: 14px;- margin-bottom: 15px;- min-height: 19px;- font-style: normal;- font-weight: 600-}--.price-caption {- color: #555;- font-size: 13px;- margin-bottom: 25px;- word-wrap: break-word-}--.goal a {- background: #7952b3;- background: var(--theme-color);- color: #fff;- font-size: 13px;- font-weight: 600;- padding: 10px 0;- text-transform: uppercase;- width: 100%;- text-decoration: none-}--.goal a,-.main-price span {- display: block-}--.main-price .price-value,-.main-price .price-value span {- display: inline-}--.price-features {- min-height: auto;- padding: 20px 10% 0 20%;- text-align: left;- word-break: break-word-}--.price-features-common li,-.price-features li {- color: #333;- font-size: 14px;- margin-bottom: 15px;- position: relative;- line-height: 22px-}--p {- color: #333;- font-size: 14px;- font-weight: 400;- line-height: 22px;- margin: 0-}--.price-features span {- font-weight: 600-}--.m-auto {- margin: auto-}--.price-features-common ul,-.price-features ul {- list-style: none-}--.price-features-common li .ticks,-.price-features li .ticks {- margin-right: 15px-}--.price-features-common li .ticks:before,-.price-features li .ticks:before {- content: "\2714";- display: inline-block;- color: #7952b3;- color: var(--theme-color)-}--.price-features-common.combo_pro ul,-.price-features.combo_pro ul {- display: -ms-flexbox;- display: flex;- -ms-flex-wrap: wrap;- flex-wrap: wrap-}--.price-features-common.combo_pro li p:before,-.price-features.combo_pro li p:before {- color: #333-}--.elegant .price-features,-.elegant .price-features-common {- list-style: none-}--.elegant .price-features-common li p:before,-.elegant .price-features li p:before {- content: "\2714";- display: inline-block;- color: #7952b3;- color: var(--theme-color);- position: absolute;- left: -20px-}--.clearfix:after,-.clearfix:before {- content: "";- display: table;- clear: both-}--.last-item {- height: 15px-}--.solo-template-container {- position: relative;- min-height: 250px;- max-width: 650px;- border: 1px solid #7952b3;- border: 1px solid var(--theme-color);- margin: 50px auto-}--.solo-template-container .inner-div {- height: 50px;- border-bottom: 1px solid #7952b3;- border-bottom: 1px solid var(--theme-color);- padding-left: 250px;- padding-top: 15px-}--.solo-template-container .band-div {- margin-top: 5px;- height: 20px;- background: #7952b3;- background: var(--theme-color);- opacity: .6-}--.solo-template-container .price-features {- padding: 40px 0 10px 40px-}--.solo-template-container .price-features li {- float: left;- width: 44%;- margin-right: 6%-}--.solo-template-container .pricing-section-container {- position: absolute;- top: -20px;- left: 60px-}--.solo-template-container .pricing-section-container .pricing-section {- padding: 25px 10px 20px 25px;- position: relative;- max-height: 150px;- max-width: 200px;- border-top: 2px solid #7952b3;- border-top: 2px solid var(--theme-color);- background: #fff;- z-index: 1000;- box-shadow: 1px 12px 28px 0 #e4e4e4-}--.solo-template-container .pricing-section-container .pricing-section .price-amount {- font-weight: 700;- color: #7952b3;- color: var(--theme-color);- font-size: 35px-}--.solo-template-container .pricing-section-container .pricing-section:after {- content: "";- display: block;- position: absolute;- bottom: -10px;- left: 0;- width: 100%;- height: 10px;- transform: rotateX(180deg);- background: linear-gradient(45deg, transparent 33.333%, #fff 0, #fff 66.667%, transparent 0), linear-gradient(-45deg, transparent 33.333%, #fff 0, #fff 66.667%, transparent 0);- background-size: 20px 40px-}--.hv-center-container {- -ms-flex-align: center;- align-items: center;- -ms-flex-pack: center;- justify-content: center-}--.d-flex,-.hv-center-container {- display: -ms-flexbox;- display: flex-}--.align-items-center {- -ms-flex-align: center;- align-items: center-}--.text-center {- text-align: center-}--.plans-custom {- list-style: none;- display: flex;- flex-direction: row;- justify-content: center;- align-items: baseline;-}--.combo-container.pricing-table {- max-width: 900px;- margin: auto-}--.combo.popular {- margin-left: -25px;- margin-right: -25px;- background-color: #fff;- border: 1px solid #eee;- position: relative;- z-index: 1;- box-shadow: 0 0 8px 3px #ececec-}--.combo.popular .combo-plan:first-child {- border-left: 5px solid #7952b3;- border-left: 5px solid var(--theme-color)-}--.combo.popular .combo-body {- padding: 20px-}--.combo {- min-height: 135px;- border: 1px solid #eee;- margin-top: -1px-}--.combo:last-child {- border-bottom: 1px solid #eee-}--.combo .combo-wrapper {- display: -ms-flexbox;- display: flex;- width: 100%-}--.combo .plan-name {- font-size: 18px;- font-weight: 600;- margin-bottom: 5px;- color: #7952b3;- color: var(--theme-color)-}--.combo .combo-value {- font-size: 40px;- font-weight: 600-}--.combo .combo-plan {- padding: 25px 15px;- background-color: var(--theme-light-color)-}--.combo .combo-plan .combo-currency {- position: relative;- bottom: 16px;- right: 3px-}--.combo .combo-body {- -ms-flex-positive: 1;- flex-grow: 1;- padding: 10px-}--.combo .combo-body .section {- padding: 10px 0 0 30px-}--.combo .combo-body a {- text-decoration: none-}--.combo .img-container {- display: -ms-flexbox;- display: flex;- -ms-flex-align: center;- align-items: center;- width: 60px;- height: 60px-}--.combo .price-features-common.combo_pro li {- width: 44%;- margin-right: 6%-}--.combo .price-features-common.combo_pro li p {- width: 100%-}--.combo .price-features-common li p {- width: 50%;- float: left;- position: relative;- margin-bottom: 10px-}--.combo .price-caption {- margin: 0 10px;- -ms-flex: 0 0 35%;- flex: 0 0 35%;- font-size: 12px;- padding-bottom: 10px;- background-color: var(--theme-light-color)-}--.combo .price-caption.pro {- -ms-flex: 0 0 24%;- flex: 0 0 24%-}--.combo .price-freq {- font-style: normal;- font-weight: 600-}--.elegant {- -ms-flex-pack: center;- justify-content: center;- list-style-type: none;- width: 100%;- padding-left: 0-}--.elegant,-.elegant .plan-item {- display: -ms-flexbox;- display: flex-}--.elegant .plan-item {- float: left;- max-width: 335px;- -ms-flex-preferred-size: 0px;- flex-basis: 0px;- -ms-flex-positive: 1;- flex-grow: 1-}--.elegant-pro-popular {- padding-bottom: 50px;- box-shadow: 0 6px 8px 3px #ededed;- position: relative;- margin-top: -35px;- padding-top: 35px-}--.plan-block .plan-name {- color: #7952b3;- color: var(--theme-color);- font-size: 14px;- font-weight: 400;- line-height: 26px;- padding: 25px 0 0;- text-transform: uppercase;- margin-bottom: 10px;- height: 100px-}--.rounded {- border-radius: .25rem !important-}--.ribbon {- height: 119px;- overflow: hidden;- position: absolute;- top: -6px;- left: -5px;- font-size: 14px-}--.ribbon-inner {- text-align: center;- color: #fff;- top: 31px;- left: -35px;- width: 152px;- padding: 4px;- padding-left: 8px;- position: relative;- -ms-transform: rotate(-45deg);- transform: rotate(-45deg);- background-color: #7952b3;- background-color: var(--theme-color);- border-color: #7952b3;- border-color: var(--theme-color)-}--.ribbon-inner:after,-.ribbon-inner:before {- content: "";- border-top: 5px solid transparent;- border-left: 5px solid;- border-left-color: inherit;- border-right: 5px solid transparent;- border-bottom: 5px solid;- border-bottom-color: inherit;- position: absolute;- top: 17px;- -ms-transform: rotate(-45deg);- transform: rotate(-45deg)-}--.ribbon-inner:before {- left: 2px;- border-left: 4px solid transparent-}--.ribbon-inner:after {- right: 0;- border-bottom: 5px solid transparent-}--@media screen and (max-width:1024px) {- .pricing-table.popular {- padding: 4% 10% 0- }-- .price-figure {- font-size: 30px- }- .plan-block {- -ms-flex: 1 0 auto;- flex: 1 0 auto;- border: 1px solid #eee;- background: #fff;- text-align: center;- margin-left: -1px;- width: 100%;- min-height: 817px;- }--}--@media screen and (max-width:767px) {- .plans-custom {- list-style: none;- display: flex;- flex-direction: column;- justify-content: center;- align-items: baseline;- }- .plan-block {- -ms-flex: 1 0 auto;- flex: 1 0 auto;- border: 1px solid #eee;- background: #fff;- text-align: center;- margin-left: -1px;- width: 100%;- height: fit-content;- }-- .elegant {- display: block- }-- .elegant .plan-item {- float: none;- width: 100%;- margin: 15px auto- }-- .elegant .plan-item .elegant-pro-popular,- .elegant .plan-item .popular {- margin-top: 40px- }-- .price-figure {- font-size: 60px- }-- .price-figure small {- top: -20px- }-- .combo-wrapper {- -ms-flex-direction: column;- flex-direction: column- }-- .combo-wrapper .col-10,- .combo-wrapper .col-20,- .combo-wrapper .col-25 {- -ms-flex-preferred-size: auto;- flex-basis: auto- }-- .combo {- margin: 15px 0- }-- .combo .combo-plan-wrapper {- text-align: center- }-- .combo .subscribe-button {- margin-bottom: 15px- }-}--@media screen and (max-width:650px) {-- .plans-custom {- list-style: none;- display: flex;- flex-direction: column;- justify-content: center;- align-items: baseline;- }-- .combo .price-features-common.combo_pro ul {- padding-left: 10%- }-- .combo .price-features-common.combo_pro ul li {- width: 100%- }-- .currency-nav-new,- .frequency-nav-new {- display: none !important- }-- .currency-dropdown-new,- .frequency-dropown-new {- display: block !important- }-}--@media screen and (max-width:480px) {- .plans-custom {- list-style: none;- display: flex;- flex-direction: column;- justify-content: center;- align-items: baseline;- }-- .solo-template-container .price-features li {- float: none;- width: 100%- }-- .combo {- margin: 15px 0- }-- .combo>div {- -ms-flex: 0 0 100%;- flex: 0 0 100%;- padding: 10px !important- }-- .combo .price-features-common li p {- width: 100%;- float: none;- text-align: left- }-- .frequency-nav {- display: none- }-- .frequency-dropown {- display: block !important;- position: relative;- max-width: 336px;- margin: auto- }-- .dd-header {- border: 1px solid #7952b3;- border: 1px solid var(--theme-color);- display: -ms-flexbox;- display: flex;- position: relative;- -ms-flex-pack: justify;- justify-content: space-between;- padding: 10px- }-- .dd-header-title {- width: 90%- }-- .dd-list {- border: 1px solid #7952b3;- border: 1px solid var(--theme-color);- border-top: none;- margin: 0 auto;- padding: 1% 0;- width: 100%;- position: absolute;- background-color: #fff;- list-style: none;- z-index: 1001- }-- .dd-list-item {- padding: 3%- }-- .dd-list-item.active {- color: #fff;- background-color: #7952b3;- background-color: var(--theme-color)- }-- .line-arrow {- width: 8px;- height: 8px;- display: inline-block;- background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 432.5 280.2"><path d="M415.5 26.4c-15.6-15.6-40.9-15.6-56.6 0L216.3 169 73.6 26.4C58 10.7 32.7 10.7 17 26.4S1.4 67.3 17 82.9l171 171c7.8 7.8 18 11.7 28.3 11.7 10.2 0 20.5-3.9 28.3-11.7l170.9-171c15.6-15.6 15.6-40.9 0-56.5z" fill="#1d1d1b"/></svg>');- margin-right: 15px;- margin-top: 5px;- position: relative;- z-index: 1;- background-repeat: no-repeat- }-- .line-arrow.down-arrow {- -ms-transform: rotate(-180deg);- transform: rotate(-180deg)- }-}--@media screen and (max-width:320px) {- .plans-custom {- list-style: none;- display: flex;- flex-direction: column;- justify-content: center;- align-items: baseline;- }-- .pricing-table-main .pricing-table-header .filters {- -ms-flex-pack: center;- justify-content: center;- grid-gap: 20px;- gap: 20px- }-- .pricing-table-main .pricing-table-body {- margin-top: 0- }-}--.included-addons-sec {- border-top: 1px solid #ccc;- display: -ms-flexbox;- display: flex;- -ms-flex-direction: column;- flex-direction: column;- text-align: left-}--.included-addons-sec.elegant {- padding-left: 14%;- padding-right: 10%-}--.included-addons-sec.combo-template {- padding-left: 18%;- padding-right: 20%-}--.included-addons-sec.combo-pro-template {- padding-left: 14%;- padding-right: 20%-}--.included-addons-sec.solo-template {- padding-left: 12%;- padding-right: 20%-}--.included-addons-sec .addon-text {- font-size: 14px;- color: #777;- font-weight: 600;- padding-top: 10px-}--.pricing-table-body {- margin-top: 40px-}--.pricing-table-header {- padding-bottom: 10px-}--.pricing-table-header .filters {- -ms-flex-pack: justify;- justify-content: space-between;- -ms-flex-wrap: wrap;- flex-wrap: wrap-}--.pricing-table-header .filters .currency-nav-new,-.pricing-table-header .filters .frequency-nav-new {- border: 1px solid #d6d6d6;- border-radius: 4px;- padding: 0-}--.pricing-table-header .filters .currency-nav-new .navs-new,-.pricing-table-header .filters .frequency-nav-new .navs-new {- padding: 0;- margin: 0;- list-style: none-}--.pricing-table-header .filters .currency-nav-new .navs-new .nav-item,-.pricing-table-header .filters .frequency-nav-new .navs-new .nav-item {- padding: 4px-}--.pricing-table-header .filters .currency-nav-new .navs-new .nav-item:not(:last-child) .nav-link,-.pricing-table-header .filters .frequency-nav-new .navs-new .nav-item:not(:last-child) .nav-link {- border-right: none-}--.pricing-table-header .filters .currency-nav-new .navs-new .nav-link,-.pricing-table-header .filters .frequency-nav-new .navs-new .nav-link {- display: block;- cursor: pointer;- padding: 4px 7px;- border-radius: 3px-}--.pricing-table-header .filters .currency-nav-new .navs-new .nav-link.active,-.pricing-table-header .filters .frequency-nav-new .navs-new .nav-link.active {- color: #fff;- background-color: #7952b3;- background-color: var(--theme-color)-}--.pricing-table-header .filters .currency-nav-new {- width: 280px-}--.pricing-table-header .filters .currency-nav-new .left-scroll,-.pricing-table-header .filters .currency-nav-new .right-scroll {- height: 100%;- display: none;- padding: 7px 6px-}--.pricing-table-header .filters .currency-nav-new .left-scroll:hover,-.pricing-table-header .filters .currency-nav-new .right-scroll:hover {- background-color: #f7f7f7-}--.pricing-table-header .filters .currency-nav-new .left-scroll svg,-.pricing-table-header .filters .currency-nav-new .right-scroll svg {- width: 7px;- height: 7px-}--.pricing-table-header .filters .currency-nav-new .left-scroll {- border-right: 1px solid #d7d7d7;- border-radius: 4px 0 0 4px-}--.pricing-table-header .filters .currency-nav-new .right-scroll {- border-left: 1px solid #d7d7d7;- border-radius: 0 4px 4px 0-}--.pricing-table-header .filters .currency-nav-new .navs-new {- display: -ms-flexbox;- display: flex;- max-width: 233px;- position: absolute;- overflow-x: auto;- margin-left: 23px;- scrollbar-width: none;- -ms-overflow-style: none-}--.pricing-table-header .filters .currency-nav-new .navs-new::-webkit-scrollbar {- display: none-}--.pricing-table-header .filters .currency-dropdown-new,-.pricing-table-header .filters .frequency-dropown-new {- display: block;- position: relative;- -ms-flex-align: center;- align-items: center-}--.pricing-table-header .filters .dd-header {- cursor: pointer;- border: 1px solid #d6d6d6;- border-radius: 3px;- position: relative;- -ms-flex-pack: justify;- justify-content: space-between;- padding: 5px 9px;- width: 130px-}--.pricing-table-header .filters .dd-list {- border: 1px solid #d6d6d6;- border-top: none;- margin: 0 auto;- padding: 1% 0;- width: 100%;- position: absolute;- background-color: #fff;- list-style: none;- z-index: 1001-}--.pricing-table-header .filters .dd-list-item {- padding: 3% 7%;- cursor: pointer-}--.pricing-table-header .filters .dd-list-item.active,-.pricing-table-header .filters .dd-list-item:hover {- color: #fff;- background-color: #7952b3;- background-color: var(--theme-color)-}--.pricing-table-header .filters .line-arrow {- height: 100%-}--.pricing-table-header .filters .line-arrow svg {- width: 8px;- height: 8px-}--.pricing-table-header .filters .line-arrow.down-arrow {- -ms-transform: rotate(-180deg);- transform: rotate(-180deg)-}--.pricing-table-frequency {- margin-bottom: 40px;- text-align: center-}--.navs {- display: inline-block;- padding-left: 0;- margin-bottom: 0;- list-style: none-}--.navs .nav-item {- min-width: 100px;- float: left-}--.navs .nav-item:not(:last-child) .nav-link {- border-right: none-}--.navs .nav-link {- display: block;- cursor: pointer;- padding: 10px 25px;- border: 1px solid #7952b3;- border: 1px solid var(--theme-color)-}--.navs .nav-link.active {- color: #fff;- background-color: #7952b3;- background-color: var(--theme-color)-}--.frequency-dropown {- display: none-}\ No newline at end of filediff --git a/apps/OpenSign/src/styles/sidebar.css b/apps/OpenSign/src/styles/sidebar.cssdeleted file mode 100644index e69de29bb..000000000diff --git a/apps/OpenSignServer/index.js b/apps/OpenSignServer/index.jsindex d65239fc1..47f83dd38 100644--- a/apps/OpenSignServer/index.js+++ b/apps/OpenSignServer/index.js@@ -32,14 +32,16 @@ const s3Options = {},};-// ApiPayloadConverter-// import { ApiPayloadConverter } from 'parse-server-api-mail-adapter';-const mailgun = new Mailgun(formData);-const mailgunClient = mailgun.client({- username: 'api',- key: process.env.MAILGUN_API_KEY,-});-const mailgunDomain = process.env.MAILGUN_DOMAIN;+let mailgunClient;+let mailgunDomain;+if (process.env.MAILGUN_API_KEY) {+ const mailgun = new Mailgun(formData);+ mailgunClient = mailgun.client({+ username: 'api',+ key: process.env.MAILGUN_API_KEY,+ });+ mailgunDomain = process.env.MAILGUN_DOMAIN;+}export const config = {databaseURI:@@ -53,34 +55,36 @@ export const config = {publicServerURL: process.env.SERVER_URL || 'http://localhost:8080/app',// Your apps name. This will appear in the subject and body of the emails that are sent.appName: 'Open Sign',- emailAdapter: {- module: 'parse-server-api-mail-adapter',- options: {- // The email address from which emails are sent.- sender: process.env.MAILGUN_SENDER,- // The email templates.- templates: {- // The template used by Parse Server to send an email for password- // reset; this is a reserved template name.- passwordResetEmail: {- subjectPath: './files/password_reset_email_subject.txt',- textPath: './files/password_reset_email.txt',- htmlPath: './files/password_reset_email.html',+ emailAdapter: process.env.MAILGUN_API_KEY+ ? {+ module: 'parse-server-api-mail-adapter',+ options: {+ // The email address from which emails are sent.+ sender: process.env.MAILGUN_SENDER,+ // The email templates.+ templates: {+ // The template used by Parse Server to send an email for password+ // reset; this is a reserved template name.+ passwordResetEmail: {+ subjectPath: './files/password_reset_email_subject.txt',+ textPath: './files/password_reset_email.txt',+ htmlPath: './files/password_reset_email.html',+ },+ // The template used by Parse Server to send an email for email+ // address verification; this is a reserved template name.+ verificationEmail: {+ subjectPath: './files/verification_email_subject.txt',+ textPath: './files/verification_email.txt',+ htmlPath: './files/verification_email.html',+ },+ },+ apiCallback: async ({ payload, locale }) => {+ const mailgunPayload = ApiPayloadConverter.mailgun(payload);+ await mailgunClient.messages.create(mailgunDomain, mailgunPayload);+ },},- // The template used by Parse Server to send an email for email- // address verification; this is a reserved template name.- verificationEmail: {- subjectPath: './files/verification_email_subject.txt',- textPath: './files/verification_email.txt',- htmlPath: './files/verification_email.html',- },- },- apiCallback: async ({ payload, locale }) => {- const mailgunPayload = ApiPayloadConverter.mailgun(payload);- await mailgunClient.messages.create(mailgunDomain, mailgunPayload);- },- },- },+ }+ : null,filesAdapter: new S3Adapter(s3Options),auth: {google: {