resolve variables
parent
f1eb9d827b
commit
17789af363
Binary file not shown.
|
@ -2,8 +2,9 @@
|
||||||
import React, { useRef, useState } from "react"
|
import React, { useRef, useState } from "react"
|
||||||
import ReCAPTCHA from "react-google-recaptcha";
|
import ReCAPTCHA from "react-google-recaptcha";
|
||||||
import { toast } from "react-hot-toast";
|
import { toast } from "react-hot-toast";
|
||||||
const { RECAPTCHA_SITE_KEY } = process.env;
|
const { NEXT_PUBLIC_RECAPTCHA_SITE_KEY } = process.env;
|
||||||
console.log( RECAPTCHA_SITE_KEY )
|
|
||||||
|
console.log(`Recaptcha Site Key: ${NEXT_PUBLIC_RECAPTCHA_SITE_KEY}`);
|
||||||
|
|
||||||
export default function ContactUsContent() {
|
export default function ContactUsContent() {
|
||||||
const recaptchaRef = useRef(null);
|
const recaptchaRef = useRef(null);
|
||||||
|
@ -99,7 +100,7 @@ export default function ContactUsContent() {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-6">
|
<div className="mt-6">
|
||||||
<ReCAPTCHA ref={recaptchaRef} size="invisible" sitekey={`${RECAPTCHA_SITE_KEY}`} onChange={onReCAPTCHAChange} />
|
<ReCAPTCHA ref={recaptchaRef} size="invisible" sitekey={process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY} onChange={onReCAPTCHAChange} />
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-6">
|
<div className="mt-6">
|
||||||
<button
|
<button
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
output: 'standalone'
|
output: 'standalone'
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = nextConfig
|
module.exports = nextConfig
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "SimplySyncedLLC_Website",
|
"name": "SimplySyncedLLC_Website",
|
||||||
"version": "1.1.0",
|
"version": "1.2.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "SimplySyncedLLC_Website",
|
"name": "SimplySyncedLLC_Website",
|
||||||
"version": "1.1.0",
|
"version": "1.2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@headlessui/react": "^1.7.14",
|
"@headlessui/react": "^1.7.14",
|
||||||
"@sendgrid/mail": "^8.1.3",
|
"@sendgrid/mail": "^8.1.3",
|
||||||
|
|
Loading…
Reference in New Issue