From cec391babcf17d0f85e1983b0a7723cd6d97e922 Mon Sep 17 00:00:00 2001 From: Giulia Nicola Pernice Date: Wed, 22 May 2024 18:37:22 +0100 Subject: [PATCH] Updae Contact Form + Build Deploy Action --- .github/workflows/build.yml | 2 +- src/components/ContactForm.jsx | 3 +++ src/content/cv.json | 17 +++++++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 src/content/cv.json diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba9593d..0679c7c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,7 +38,7 @@ jobs: uses: sebastianpopp/ftp-action@releases/v2 with: host: 164.90.233.208 - user: admin_giulianicola + user: admin_kdsigner password: ${{ secrets.SS_FTP }} options: '--only-newer --delete' localDir: './public/' diff --git a/src/components/ContactForm.jsx b/src/components/ContactForm.jsx index bf50fda..0fb65f0 100644 --- a/src/components/ContactForm.jsx +++ b/src/components/ContactForm.jsx @@ -1,4 +1,5 @@ import React from "react" +import ReCAPTCHA from "react-google-recaptcha" import { GhostButton } from "./theme" const FORMSPARK_ACTION_URL = "https://submit-form.com/0VlKJYuD" @@ -10,6 +11,7 @@ export default function ContactForm(props) { method="POST" action={FORMSPARK_ACTION_URL} > +