bugfix - fixed button press logic

This commit is contained in:
James Wyndham 2024-02-29 12:37:31 +08:00
parent 2c951ff777
commit c74f706529
15 changed files with 34 additions and 1256 deletions

View File

@ -8,6 +8,7 @@ WORKDIR /app
ARG STRIPE_SECRET_KEY=""
ARG STRIPE_CANCEL_URL=""
ARG STRIPE_SUCCESS_URL=""
ARG STRIPE_BILLING_RETURN_URL=""
ARG HOST=""
ARG PORT="443"
ARG DEVELOPMENT=""
@ -17,6 +18,7 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV STRIPE_SECRET_KEY=${STRIPE_SECRET_KEY}
ENV STRIPE_CANCEL_URL=${STRIPE_CANCEL_URL}
ENV STRIPE_SUCCESS_URL=${STRIPE_SUCCESS_URL}
ENV STRIPE_BILLING_RETURN_URL=${STRIPE_BILLING_RETURN_URL}
ENV HOST=${HOST}
ENV PORT=${PORT}
ENV DEVELOPMENT=${DEVELOPMENT}

View File

@ -168,7 +168,7 @@ I really hope this helps in building a fresh image.
MIT License
Copyright (c) 2024 Sign365
Copyright (c) 2024 BIZ365 PTY LTD
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -6,8 +6,9 @@ services:
args:
STRIPE_SECRET_KEY: sk_test_51Oc1xLGaxPbSqiRDaGtJNmtk3aMQHFHVVSqIaC7TCUK74HQxzkb3jbjDqq5NQyoDEyKSeDitPB2bHX4vXqS8s0z100rXePxwfB
HOST: 0.0.0.0
STRIPE_SUCCESS_URL: https://sign365.com.au/account
STRIPE_CANCEL_URL: https://sign365.com.au/pricing
STRIPE_SUCCESS_URL: https://fastpocket.dev/account
STRIPE_CANCEL_URL: https://fastpocket.dev/pricing
STRIPE_BILLING_RETURN_URL: https://fastpocket.dev/account
PORT: 8090
DEVELOPMENT: ""
platform: linux/amd64

View File

@ -52,6 +52,7 @@ func main() {
stripe.Key = os.Getenv("STRIPE_SECRET_KEY")
stripeSuccessURL := os.Getenv("STRIPE_SUCCESS_URL")
stripeCancelURL := os.Getenv("STRIPE_CANCEL_URL")
stripeBillingReturnURL := os.Getenv("STRIPE_BILLING_RETURN_URL")
app.OnBeforeServe().Add(func(e *core.ServeEvent) error {
e.Router.POST("/create-checkout-session", func(c echo.Context) error {
// 1. Destructure the price and quantity from the POST body
@ -273,7 +274,7 @@ func main() {
//create new session
sessionParams := &stripe.BillingPortalSessionParams{
Customer: stripe.String(stripeCustomer.ID),
ReturnURL: stripe.String("https://sign365.com.au/account"),
ReturnURL: &stripeBillingReturnURL,
}
sesh, err := session.New(sessionParams)
if err != nil {
@ -286,7 +287,7 @@ func main() {
//create new session
sessionParams := &stripe.BillingPortalSessionParams{
Customer: stripe.String(existingCustomerRecord.GetString("stripe_customer_id")),
ReturnURL: stripe.String("https://sign365.com.au/account"),
ReturnURL: &stripeBillingReturnURL,
}
sesh, err := session.New(sessionParams)
if err != nil {

View File

@ -0,0 +1,14 @@
import { cookies } from "next/headers";
export async function setCookie(key: string, value: string) {
const cookieStore = cookies()
cookieStore.set(key, value)
}
export async function removeCookie(key: string) {
const cookieStore = cookies()
cookieStore.delete(key)
}
export async function getCookie(key: string) {
const cookieStore = cookies()
return cookieStore.get(key)
}

View File

@ -1,4 +1,4 @@
'use client';
"use client";
import posthog from 'posthog-js'
import { PostHogProvider } from 'posthog-js/react'
import GoogleAnalytics from "@/components/GoogleAnalytics";

View File

@ -12,8 +12,6 @@ export const GetStartedSectionButton = ({
user,
}: GetStartedSectionButtonProps) => {
const router = useRouter();
const portalWebsite = process.env
.NEXT_PUBLIC_PORTAL_SIGN365_WEBSITE as string;
const [subscription, setSubscription] = useState<Subscription>();
useEffect(() => {
(async () => {
@ -28,11 +26,7 @@ export const GetStartedSectionButton = ({
}, [user]);
return subscription ? (
<a href={portalWebsite}>
<button className="btn text-base capitalize !rounded-md bg-base-content bg-bg-gray-925 hover:bg-gray-900 w-full sm:w-auto mt-8">
Management Portal
</button>
</a>
<></>
) : (
<button
onClick={() => router.push("/pricing")}

View File

@ -86,10 +86,6 @@ export default function Header({ isUserLoggedIn }: HeaderProps) {
const authCookie = await getAuthCookie();
pb.authStore.loadFromCookie(authCookie || "");
if (!authCookie || !pb.authStore.isValid) {
console.log("firing");
document
.getElementById("sign-in-modal")
?.setAttribute("name", "signIn");
document.getElementById("sign-in-modal")?.click();
} else {
router?.push("/account");
@ -102,13 +98,6 @@ export default function Header({ isUserLoggedIn }: HeaderProps) {
</button>
<button
onClick={() => {
localStorage.removeItem("price");
document
.getElementById("sign-up-modal")
?.setAttribute("name", SourceModal.SignUp);
document
.getElementById("sign-up-modal")
?.removeAttribute("price_id");
document.getElementById("sign-up-modal")?.click();
}}
className={`btn btn-primary btn-sm text-primary-content`}

View File

@ -1,3 +1,5 @@
"use client";
import React from "react";
import Icon from "@/components/Icon/Icon";
import { useForm } from "react-hook-form";
@ -67,10 +69,10 @@ function ModalSignUp() {
) {
reset();
document.getElementById("sign-up-modal")?.click();
const type = document
.getElementById("sign-up-modal")
?.getAttribute("type");
const price = localStorage.getItem("price");
const type = localStorage.getItem("type");
console.log("price", price);
console.log("type", type);
price && generateCheckoutPage(JSON.parse(price), type ?? "");
}
} catch (error) {

View File

@ -19,9 +19,6 @@ export default function PriceCard({
const openSignUpModalOnPriceClick = (price: Price, type: string) => {
const signUpModal = document.getElementById("sign-up-modal-button");
if (!signUpModal) return;
signUpModal.setAttribute("price_id", price.price_id);
signUpModal.setAttribute("type", type);
signUpModal.setAttribute("name", SourceModal.SignUpViaPurchase);
signUpModal.click();
};
const generateCheckoutPage = async (price: Price, type: string) => {
@ -51,10 +48,13 @@ export default function PriceCard({
const userIsAuthenticated = await isAuthenticated();
console.log("userIsAuthenticated", userIsAuthenticated);
const price = isAnnual ? product.yearlyPrice : product.monthlyPrice;
console.log("price", price);
console.log("product.type", product.type);
localStorage.setItem("price", JSON.stringify(price));
localStorage.setItem("type", product.type);
if (userIsAuthenticated) {
await generateCheckoutPage(price, product.type);
} else {
localStorage.setItem("price", JSON.stringify(price));
openSignUpModalOnPriceClick(price, product.type);
}
};

View File

@ -1,572 +0,0 @@
<!DOCTYPE html>
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
>
<head>
<title> </title>
<!--[if !mso]><!-->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!--<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type="text/css">
#outlook a {
padding: 0;
}
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
p {
display: block;
margin: 13px 0;
}
</style>
<!--[if mso]>
<noscript>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG />
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
</noscript>
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
.mj-outlook-group-fix {
width: 100% !important;
}
</style>
<![endif]-->
<!--[if !mso]><!-->
<link
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700"
rel="stylesheet"
type="text/css"
/>
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700);
</style>
<!--<![endif]-->
<style type="text/css">
@media only screen and (min-width: 480px) {
.mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}
}
</style>
<style media="screen and (min-width:480px)">
.moz-text-html .mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}
</style>
<style type="text/css">
@media only screen and (max-width: 480px) {
table.mj-full-width-mobile {
width: 100% !important;
}
td.mj-full-width-mobile {
width: auto !important;
}
}
</style>
</head>
<body style="word-spacing: normal; background-color: #f4f4f4">
<div style="background-color: #f4f4f4">
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#151719" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div
style="
background: #151719;
background-color: #151719;
margin: 0px auto;
max-width: 600px;
"
>
<table
align="center"
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="background: #151719; background-color: #151719; width: 100%"
>
<tbody>
<tr>
<td
style="
direction: ltr;
font-size: 0px;
padding: 20px 0;
text-align: center;
"
>
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div
class="mj-column-per-100 mj-outlook-group-fix"
style="
font-size: 0px;
text-align: left;
direction: ltr;
display: inline-block;
vertical-align: top;
width: 100%;
"
>
<table
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="vertical-align: top"
width="100%"
>
<tbody>
<tr>
<td
align="center"
style="
font-size: 0px;
padding: 10px 25px;
padding-bottom: 30px;
word-break: break-word;
"
>
<table
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="
border-collapse: collapse;
border-spacing: 0px;
"
>
<tbody>
<tr>
<td style="width: 180px">
<img
height="auto"
src="https://lh3.googleusercontent.com/nFUBkvMXR0QLeykUdweUzEu5gzHk601Cg3Ld64E8PpEV19VeKk9AkfBev61Es4D8Uig=w1800"
style="
border: none;
display: block;
outline: none;
text-decoration: none;
height: auto;
width: 100%;
font-size: 13px;
"
title=""
width="180"
/>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td
align="left"
style="
font-size: 0px;
padding: 10px 25px;
padding-top: 0px;
padding-bottom: 0px;
word-break: break-word;
"
>
<div
style="
font-family: Arial, sans-serif;
font-size: 13px;
line-height: 22px;
text-align: left;
color: #55575d;
"
></div>
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#151719" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div
style="
background: #151719;
background-color: #151719;
margin: 0px auto;
max-width: 600px;
"
>
<table
align="center"
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="background: #151719; background-color: #151719; width: 100%"
>
<tbody>
<tr>
<td
style="
direction: ltr;
font-size: 0px;
padding: 0 0 0 0;
text-align: center;
"
>
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div
class="mj-column-per-100 mj-outlook-group-fix"
style="
font-size: 0px;
text-align: left;
direction: ltr;
display: inline-block;
vertical-align: top;
width: 100%;
"
>
<table
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="vertical-align: top"
width="100%"
>
<tbody>
<tr>
<td
align="center"
style="
font-size: 0px;
padding: 0px 25px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
word-break: break-word;
"
>
<table
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="
border-collapse: collapse;
border-spacing: 0px;
"
>
<tbody>
<tr>
<td style="width: 600px">
<img
height="auto"
src="https://lh6.googleusercontent.com/7BpAy4Uh4sYeFpeU2DIQg7vBAmIE5zNmQHSOickHbTxcz1yl6DSf3gL_Ru-TXzgCJVY=w2400"
style="
border: none;
display: block;
outline: none;
text-decoration: none;
height: auto;
width: 100%;
font-size: 13px;
"
title=""
width="600"
/>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#151719" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div
style="
background: #151719;
background-color: #151719;
margin: 0px auto;
max-width: 600px;
"
>
<table
align="center"
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="background: #151719; background-color: #151719; width: 100%"
>
<tbody>
<tr>
<td
style="
direction: ltr;
font-size: 0px;
padding: 0 0 0 0;
text-align: center;
"
>
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div
class="mj-column-per-100 mj-outlook-group-fix"
style="
font-size: 0px;
text-align: left;
direction: ltr;
display: inline-block;
vertical-align: top;
width: 100%;
"
>
<table
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="vertical-align: top"
width="100%"
>
<tbody>
<tr>
<td
align="left"
style="
font-size: 0px;
padding: 10px 25px;
padding-top: 25px;
padding-bottom: 5px;
word-break: break-word;
"
>
<div
style="
font-family: Arial, sans-serif;
font-size: 13px;
line-height: 22px;
text-align: left;
color: #55575d;
"
>
<p
style="
line-height: 60px;
text-align: center;
margin: 10px 0;
font-size: 55px;
color: #fcfcfc;
font-family: 'Roboto', Helvetica, Arial,
sans-serif;
"
>
<b>Thanks For Booking</b>
</p>
</div>
</td>
</tr>
<tr>
<td
align="left"
style="
font-size: 0px;
padding: 10px 25px;
padding-top: 0px;
padding-bottom: 20px;
word-break: break-word;
"
>
<div
style="
font-family: Arial, sans-serif;
font-size: 13px;
line-height: 22px;
text-align: left;
color: #55575d;
"
>
<p
style="
line-height: 30px;
text-align: center;
margin: 10px 0;
color: #f5f5f5;
font-size: 25px;
font-family: 'Roboto', Helvetica, Arial,
sans-serif;
"
>
<b>Our Sales People Will Be In Touch!</b
><br /><span
style="
color: #ffffff;
font-size: 18px;
font-family: 'Roboto', Helvetica, Arial,
sans-serif;
"
>We know you are going to love Sign365!</span
>
</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#151719" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div
style="
background: #151719;
background-color: #151719;
margin: 0px auto;
max-width: 600px;
"
>
<table
align="center"
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="background: #151719; background-color: #151719; width: 100%"
>
<tbody>
<tr>
<td
style="
direction: ltr;
font-size: 0px;
padding: 0 0 0 0;
padding-bottom: 40px;
text-align: center;
"
>
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div
class="mj-column-per-100 mj-outlook-group-fix"
style="
font-size: 0px;
text-align: left;
direction: ltr;
display: inline-block;
vertical-align: top;
width: 100%;
"
>
<table
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="vertical-align: top"
width="100%"
>
<tbody>
<tr>
<td
align="left"
style="
font-size: 0px;
padding: 10px 25px;
padding-top: 5px;
padding-bottom: 0px;
word-break: break-word;
"
>
<div
style="
font-family: Arial, sans-serif;
font-size: 13px;
line-height: 22px;
text-align: left;
color: #55575d;
"
>
<p
style="
line-height: 16px;
text-align: center;
margin: 10px 0;
font-size: 12px;
color: #ffffff;
font-family: 'Times New Roman', Helvetica, Arial,
sans-serif;
"
>
Unit 5 17-19 Foundry Rd, Midland, 6056, Western
Australia&nbsp;<br /><span
style="
color: #ffffff;
font-family: 'Times New Roman', Helvetica,
Arial, sans-serif;
"
>© Sign365 2024</span
>
</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</div>
</body>
</html>

View File

@ -1,270 +0,0 @@
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
</title>
<!--[if !mso]><!-->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
#outlook a {
padding: 0;
}
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
p {
display: block;
margin: 13px 0;
}
</style>
<!--[if mso]>
<noscript>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
</noscript>
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700);
</style>
<!--<![endif]-->
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}
}
</style>
<style media="screen and (min-width:480px)">
.moz-text-html .mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}
</style>
<style type="text/css">
@media only screen and (max-width:480px) {
table.mj-full-width-mobile {
width: 100% !important;
}
td.mj-full-width-mobile {
width: auto !important;
}
}
</style>
</head>
<body style="word-spacing:normal;background-color:#F4F4F4;">
<div style="background-color:#F4F4F4;">
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#151719" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div style="background:#151719;background-color:#151719;margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
style="background:#151719;background-color:#151719;width:100%;">
<tbody>
<tr>
<td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;">
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix"
style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation"
style="vertical-align:top;" width="100%">
<tbody>
<tr>
<td align="center"
style="font-size:0px;padding:10px 25px;padding-bottom:30px;word-break:break-word;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation"
style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:180px;">
<img height="auto"
src="https://lh3.googleusercontent.com/nFUBkvMXR0QLeykUdweUzEu5gzHk601Cg3Ld64E8PpEV19VeKk9AkfBev61Es4D8Uig=w1800"
style="border:none;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;"
title="" width="180" />
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="left"
style="font-size:0px;padding:10px 25px;padding-top:0px;padding-bottom:0px;word-break:break-word;">
<div
style="font-family:Arial, sans-serif;font-size:13px;line-height:22px;text-align:left;color:#55575d;">
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#151719" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div style="background:#151719;background-color:#151719;margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
style="background:#151719;background-color:#151719;width:100%;">
<tbody>
<tr>
<td style="direction:ltr;font-size:0px;padding:0 0 0 0;text-align:center;">
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix"
style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation"
style="vertical-align:top;" width="100%">
<tbody>
<tr>
<td align="center"
style="font-size:0px;padding:0px 25px;padding-right:0px;padding-bottom:0px;padding-left:0px;word-break:break-word;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation"
style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:600px;">
<img height="auto"
src="https://lh6.googleusercontent.com/7BpAy4Uh4sYeFpeU2DIQg7vBAmIE5zNmQHSOickHbTxcz1yl6DSf3gL_Ru-TXzgCJVY=w2400"
style="border:none;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;"
title="" width="600" />
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#151719" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div style="background:#151719;background-color:#151719;margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
style="background:#151719;background-color:#151719;width:100%;">
<tbody>
<tr>
<td style="direction:ltr;font-size:0px;padding:0 0 0 0;text-align:center;">
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix"
style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation"
style="vertical-align:top;" width="100%">
<tbody>
<tr>
<td align="left"
style="font-size:0px;padding:10px 25px;padding-top:25px;padding-bottom:5px;word-break:break-word;">
<div
style="font-family:Arial, sans-serif;font-size:13px;line-height:22px;text-align:left;color:#55575d;">
<p
style="line-height: 60px; text-align: center; margin: 10px 0;font-size:55px;color:#fcfcfc;font-family:'Roboto',Helvetica,Arial,sans-serif">
<b>Thanks For Signing Up</b></p>
</div>
</td>
</tr>
<tr>
<td align="left"
style="font-size:0px;padding:10px 25px;padding-top:0px;padding-bottom:20px;word-break:break-word;">
<div
style="font-family:Arial, sans-serif;font-size:13px;line-height:22px;text-align:left;color:#55575d;">
<p
style="line-height: 30px; text-align: center; margin: 10px 0;color:#f5f5f5;font-size:25px;font-family:'Roboto',Helvetica,Arial,sans-serif">
<b>Our Sales People Will Be In Touch!</b><br /><span
style="color:#ffffff;font-size:18px;font-family:'Roboto',Helvetica,Arial,sans-serif">We
know you are going to love Sign365!</span></p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#151719" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div style="background:#151719;background-color:#151719;margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
style="background:#151719;background-color:#151719;width:100%;">
<tbody>
<tr>
<td style="direction:ltr;font-size:0px;padding:0 0 0 0;padding-bottom:40px;text-align:center;">
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix"
style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation"
style="vertical-align:top;" width="100%">
<tbody>
<tr>
<td align="left"
style="font-size:0px;padding:10px 25px;padding-top:5px;padding-bottom:0px;word-break:break-word;">
<div
style="font-family:Arial, sans-serif;font-size:13px;line-height:22px;text-align:left;color:#55575d;">
<p
style="line-height: 16px; text-align: center; margin: 10px 0;font-size:12px;color:#ffffff;font-family:'Times New Roman',Helvetica,Arial,sans-serif">
Unit 5 17-19 Foundry Rd, Midland, 6056, Western
Australia&nbsp;<br /><span
style="color:#ffffff;font-family:'Times New Roman',Helvetica,Arial,sans-serif">©
Sign365 2024</span></p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</div>
</body>
</html>

View File

@ -1,288 +0,0 @@
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
</title>
<!--[if !mso]><!-->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
#outlook a {
padding: 0;
}
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
p {
display: block;
margin: 13px 0;
}
</style>
<!--[if mso]>
<noscript>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
</noscript>
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700);
</style>
<!--<![endif]-->
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}
}
</style>
<style media="screen and (min-width:480px)">
.moz-text-html .mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}
</style>
<style type="text/css">
@media only screen and (max-width:480px) {
table.mj-full-width-mobile {
width: 100% !important;
}
td.mj-full-width-mobile {
width: auto !important;
}
}
</style>
</head>
<body style="word-spacing:normal;background-color:#F4F4F4;">
<div style="background-color:#F4F4F4;">
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#151719" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div style="background:#151719;background-color:#151719;margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
style="background:#151719;background-color:#151719;width:100%;">
<tbody>
<tr>
<td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;">
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix"
style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation"
style="vertical-align:top;" width="100%">
<tbody>
<tr>
<td align="center"
style="font-size:0px;padding:10px 25px;padding-bottom:30px;word-break:break-word;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation"
style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:180px;">
<img height="auto"
src="https://lh3.googleusercontent.com/nFUBkvMXR0QLeykUdweUzEu5gzHk601Cg3Ld64E8PpEV19VeKk9AkfBev61Es4D8Uig=w1800"
style="border:none;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;"
title="" width="180" />
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="left"
style="font-size:0px;padding:10px 25px;padding-top:0px;padding-bottom:0px;word-break:break-word;">
<div
style="font-family:Arial, sans-serif;font-size:13px;line-height:22px;text-align:left;color:#55575d;">
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#151719" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div style="background:#151719;background-color:#151719;margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
style="background:#151719;background-color:#151719;width:100%;">
<tbody>
<tr>
<td style="direction:ltr;font-size:0px;padding:0 0 0 0;text-align:center;">
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix"
style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation"
style="vertical-align:top;" width="100%">
<tbody>
<tr>
<td align="center"
style="font-size:0px;padding:0px 25px;padding-right:0px;padding-bottom:0px;padding-left:0px;word-break:break-word;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation"
style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:600px;">
<img height="auto"
src="https://lh6.googleusercontent.com/3LpVm9IPVlWtVfBjamr8tyJqy5sGesXae47Hv2an7uiotE8iKHLrmjSTTZgmDhRtY2M=w2400"
style="border:none;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;"
title="" width="600" />
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#151719" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div style="background:#151719;background-color:#151719;margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
style="background:#151719;background-color:#151719;width:100%;">
<tbody>
<tr>
<td style="direction:ltr;font-size:0px;padding:0 0 0 0;text-align:center;">
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix"
style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation"
style="vertical-align:top;" width="100%">
<tbody>
<tr>
<td align="left"
style="font-size:0px;padding:10px 25px;padding-top:25px;padding-bottom:5px;word-break:break-word;">
<div
style="font-family:Arial, sans-serif;font-size:13px;line-height:22px;text-align:left;color:#55575d;">
<p
style="line-height: 60px; text-align: center; margin: 10px 0;font-size:55px;color:#fcfcfc;font-family:'Roboto',Helvetica,Arial,sans-serif">
<b>White Paper</b></p>
</div>
</td>
</tr>
<tr>
<td align="left"
style="font-size:0px;padding:10px 25px;padding-top:0px;padding-bottom:20px;word-break:break-word;">
<div
style="font-family:Arial, sans-serif;font-size:13px;line-height:22px;text-align:left;color:#55575d;">
<p
style="line-height: 30px; text-align: center; margin: 10px 0;color:#f5f5f5;font-size:25px;font-family:'Roboto',Helvetica,Arial,sans-serif">
<b>Our White Paper Is Attached To This Email</b><br /><span
style="color:#ffffff;font-size:18px;font-family:'Roboto',Helvetica,Arial,sans-serif">Discover
The Benefits of Using Sign365 For Your Business</span></p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#151719" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div style="background:#151719;background-color:#151719;margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
style="background:#151719;background-color:#151719;width:100%;">
<tbody>
<tr>
<td style="direction:ltr;font-size:0px;padding:0 0 0 0;padding-bottom:40px;text-align:center;">
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix"
style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation"
style="vertical-align:top;" width="100%">
<tbody>
<tr>
<td align="center" vertical-align="middle"
style="font-size:0px;padding:10px 25px;padding-bottom:30px;word-break:break-word;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation"
style="border-collapse:separate;line-height:100%;">
<tr>
<td align="center" bgcolor="#ffffff" role="presentation"
style="border:none;border-radius:3px;cursor:auto;mso-padding-alt:10px 25px;background:#ffffff;"
valign="middle">
<p
style="display:inline-block;background:#ffffff;color:#ffffff;font-family:Roboto, Helvetica, Arial, sans-serif;font-size:18px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;border-radius:3px;">
<span style="color:#151719">Book A Demo</span>
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left"
style="font-size:0px;padding:10px 25px;padding-top:5px;padding-bottom:0px;word-break:break-word;">
<div
style="font-family:Arial, sans-serif;font-size:13px;line-height:22px;text-align:left;color:#55575d;">
<p
style="line-height: 16px; text-align: center; margin: 10px 0;font-size:12px;color:#ffffff;font-family:'Times New Roman',Helvetica,Arial,sans-serif">
Unit 5 17-19 Foundry Rd, Midland, 6056, Western
Australia&nbsp;<br /><span
style="color:#ffffff;font-family:'Times New Roman',Helvetica,Arial,sans-serif">©
Sign365 2024</span></p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</div>
</body>
</html>

View File

@ -1,87 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url>
<loc>https://sign365.com.au/</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://sign365.com.au/pricing</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://sign365.com.au/blogs</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://sign365.com.au/blogs/creating-custom-forms-a-step-by-step-guide</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://sign365.com.au/blogs/offline-google-forms</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://sign365.com.au/blogs/sign365-vs-docusign</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://sign365.com.au/blogs/sign365-vs-sign-now</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://sign365.com.au/blogs/adobe-fill-and-sign-vs-sign-now</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://sign365.com.au/blogs/adobe-fill-and-sign-vs-docusign</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://sign365.com.au/blogs/docusign-vs-signnow</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://sign365.com.au/blogs/sign365-vs-adobe-fill-and-sign</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://sign365.com.au/blogs/offline-google-forms</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://sign365.com.au/blogs/free-group-training-forms</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://sign365.com.au/blogs/your-forms-on-sign365-in-5-minutes</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://sign365.com.au/blogs/creating-custom-forms-a-step-by-step-guide</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://sign365.com.au/blogs/top-5-best-document-automation-software</loc>
<lastmod>2024-01-17T02:06:08+00:00</lastmod>
<priority>0.64</priority>
</url>
</urlset>

View File

@ -18,14 +18,6 @@ interface ManageSubscriptionProps {
function AccountContent({ user }: ManageSubscriptionProps) {
const router = useRouter();
const { Canvas } = useQRCode();
const portalWebsite = process.env
.NEXT_PUBLIC_PORTAL_SIGN365_WEBSITE as string;
const downloadApplicationLink = process.env
.NEXT_PUBLIC_SIGN365_APPLICATION_LINK as string;
const portalWebsiteTemplatesLink = process.env
.NEXT_PUBLIC_SIGN365_WEBSITE_TEMPLATE_LINK as string;
const portalWebsiteIntegrationsLink = process.env
.NEXT_PUBLIC_SIGN365_WEBSITE_INTEGRATIONS_LINK as string;
const [subscription, setSubscription] = useState<Subscription>();
const [loading, setLoading] = useState(true);