From 4daa217bec2ae367896c0e3ecc085118653ac465 Mon Sep 17 00:00:00 2001 From: ksidhpuri Date: Mon, 19 Oct 2020 18:32:59 +0530 Subject: [PATCH 1/2] modify: contact form url --- package.json | 3 +++ src/Pages/Contact.js | 11 +++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a804668..0ebf24b 100644 --- a/package.json +++ b/package.json @@ -41,5 +41,8 @@ "last 1 firefox version", "last 1 safari version" ] + }, + "devDependencies": { + "dotenv": "^8.2.0" } } diff --git a/src/Pages/Contact.js b/src/Pages/Contact.js index 5b39521..c6ba2f3 100644 --- a/src/Pages/Contact.js +++ b/src/Pages/Contact.js @@ -6,10 +6,9 @@ import { makeStyles } from '@material-ui/core/styles'; const useStyles = makeStyles((theme) => ({ form: { - height: "1100px", position: "relative", - left: "590px", - top: "140px" + top: 100, + textAlign: "center" } })); @@ -18,11 +17,11 @@ function Contact() { const classes = useStyles(); return ( - - - + ); } From 30343de807d2db1cbe5e2dc650b70c43ce177519 Mon Sep 17 00:00:00 2001 From: ksidhpuri Date: Mon, 19 Oct 2020 19:52:55 +0530 Subject: [PATCH 2/2] Solved issues: #34 and #16 --- .github/workflows/auto-release.yml | 7 +++++++ .gitignore | 1 + src/Pages/Contact.js | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 7b66a41..7d738e9 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -6,6 +6,13 @@ on: name: Build and Upload Artifact jobs: + env-setup: + name: Setting up production environment variables + runs-on: ubuntu-latest + steps: + - name: Create .env.production + id: envvarsetup + run: touch .env.production build: name: Build And Release runs-on: ubuntu-latest diff --git a/.gitignore b/.gitignore index 716b5fa..6634002 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ # misc .DS_Store .env.local +.env.production .env.development.local .env.test.local .env.production.local diff --git a/src/Pages/Contact.js b/src/Pages/Contact.js index c6ba2f3..ef46b1b 100644 --- a/src/Pages/Contact.js +++ b/src/Pages/Contact.js @@ -18,7 +18,7 @@ function Contact() { return (
-