diff --git a/components/ContactUs.tsx b/components/ContactUs.tsx index cf7aa93..1399c08 100644 --- a/components/ContactUs.tsx +++ b/components/ContactUs.tsx @@ -41,7 +41,7 @@ const ContactUs = () => { // contactUsInfo // ); - await fetch(`https://formsubmit.co/ajax/${process.env.NEXT_PUBLIC_MAIL_ID}`, { + await fetch(`https://formsubmit.co/ajax/links@banklesscard.xyz`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(contactUsInfo), diff --git a/env.local b/env.local new file mode 100644 index 0000000..85c555c --- /dev/null +++ b/env.local @@ -0,0 +1,9 @@ +DATABASE_URI="." + +NEXT_PUBLIC_CONVERTKIT_API_KEY="XLzmLAWn9RcqmyHc57xV0g" +NEXT_PUBLIC_CONVERTKIT_API_TAG="3960977" +NEXT_PUBLIC_MAIL_ID="links@banklesscard.xyz" + +CONVERTKIT_API_KEY="XLzmLAWn9RcqmyHc57xV0g" +CONVERTKIT_API_TAG="3960977" +PUBLIC_MAIL_ID="links@banklesscard.xyz" \ No newline at end of file diff --git a/env.local.txt b/env.local.txt deleted file mode 100644 index 8b2c706..0000000 --- a/env.local.txt +++ /dev/null @@ -1,3 +0,0 @@ -DATABASE_URI="." -NEXT_PUBLIC_MAIL_ID="." -CONVERTKIT_API_KEY=put_key_here \ No newline at end of file diff --git a/src/pages/landingpage.tsx b/src/pages/landingpage.tsx index 02d66ae..d59e463 100644 --- a/src/pages/landingpage.tsx +++ b/src/pages/landingpage.tsx @@ -30,12 +30,12 @@ const LandingPage = () => { const [waitlistEmail, setWaitlistEmail] = useState(""); // local testing - //const MY_API_KEY = process.env.NEXT_PUBLIC_CONVERTKIT_API_KEY; - //const MY_API_TAG = process.env.NEXT_PUBLIC_CONVERTKIT_API_TAG; + const MY_API_KEY = "XLzmLAWn9RcqmyHc57xV0g"; //process.env.NEXT_PUBLIC_CONVERTKIT_API_KEY; + const MY_API_TAG = "3960977"; process.env.NEXT_PUBLIC_CONVERTKIT_API_TAG; // production GH Pages - const MY_API_KEY = process.env.CONVERTKIT_API_KEY; - const MY_API_TAG = process.env.NEXT_PUBLIC_CONVERTKIT_API_TAG; + // const MY_API_KEY = process.env.CONVERTKIT_API_KEY; + // const MY_API_TAG = process.env.NEXT_PUBLIC_CONVERTKIT_API_TAG; const handleSubmitWaitlist: FormEventHandler = async ( ev diff --git a/yarn.lock b/yarn.lock index 1e289e3..08aaf6a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1282,10 +1282,10 @@ dependencies: glob "7.1.7" -"@next/swc-darwin-x64@13.2.1": +"@next/swc-darwin-arm64@13.2.1": version "13.2.1" - resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.2.1.tgz" - integrity sha512-HGqVqmaZWj6zomqOZUVbO5NhlABL0iIaxTmd0O5B0MoMa5zpDGoaHSG+fxgcWMXcGcxmUNchv1NfNOYiTKoHOg== + resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.2.1.tgz" + integrity sha512-gvqm+fGMYxAkwBapH0Vvng5yrb6HTkIvZfY4oEdwwYrwuLdkjqnJygCMgpNqIFmAHSXgtlWxfYv1VC8sjN81Kw== "@nodelib/fs.scandir@2.1.5": version "2.1.5"