diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 97ea7c6..d76e417 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -38,4 +38,4 @@ jobs:
uses: ncipollo/release-action@v1.14.0
with:
artifacts: "react-github-actions-build"
- tag: v1.5.4.6
\ No newline at end of file
+ tag: v1.5.4.7
\ No newline at end of file
diff --git a/src/App.js b/src/App.js
index 2663cfd..e9203ca 100644
--- a/src/App.js
+++ b/src/App.js
@@ -17,7 +17,7 @@ import ScrollToTop from "./components/ScrollToTop";
import "./style.css";
import "./App.css";
import "bootstrap/dist/css/bootstrap.min.css";
-import Home2 from "./components/Home/Home2";
+//import Home2 from "./components/Home/Home2";
function App() {
const [load, upadateLoad] = useState(true);
diff --git a/src/components/About/About.js b/src/components/About/About.js
index 9cd94d4..bc171f1 100644
--- a/src/components/About/About.js
+++ b/src/components/About/About.js
@@ -1,6 +1,6 @@
import React from "react";
import Particle from "../Particle";
-import Techstack from "./Techstack";
+import Clients from "./Clients";
import Home2 from "../Home/Home2"
import { Container } from "react-bootstrap";
@@ -54,7 +54,7 @@ function About() {
(This we will change to the logos of those we worked with)
-
+
{/*
Tools I use
diff --git a/src/components/About/Techstack.js b/src/components/About/Clients.js
similarity index 62%
rename from src/components/About/Techstack.js
rename to src/components/About/Clients.js
index c18ddc9..d51d563 100644
--- a/src/components/About/Techstack.js
+++ b/src/components/About/Clients.js
@@ -1,6 +1,5 @@
import React from "react";
import { Col, Row } from "react-bootstrap";
-import { CgCPlusPlus } from "react-icons/cg";
import pubArt from "../../Assets/publicartworkers.png";
import nsw from "../../Assets/nsw.svg";
import local from "../../Assets/local.png";
@@ -8,65 +7,52 @@ import nw from "../../Assets/nw.png";
import air from "../../Assets/air.png";
import tina from "../../Assets/tina.png";
import nag from "../../Assets/nag.png";
-import {
- DiJavascript1,
- DiReact,
- DiNodejs,
- DiMongodb,
- DiPython,
- DiGit,
-} from "react-icons/di";
-import {
- SiPytorch,
- SiFirebase,
- SiNextdotjs,
-} from "react-icons/si";
+// import {
+// DiJavascript1,
+// DiReact,
+// DiNodejs,
+// DiMongodb,
+// DiPython,
+// DiGit,
+// } from "react-icons/di";
+// import {
+// SiPytorch,
+// SiFirebase,
+// SiNextdotjs,
+// } from "react-icons/si";
-function Techstack() {
+function Clients() {
return (
- {/* */}
+
- {/* */}
+
- {/* */}
+
- {/* */}
+
- {/* */}
+
- {/* */}
+
- {/* */}
- {/*
-
-
-
-
-
-
-
-
-
-
- */}
);
}
-export default Techstack;
+export default Clients;
\ No newline at end of file
diff --git a/src/components/About/Toolstack.js b/src/components/About/Toolstack.js
deleted file mode 100644
index 619d86d..0000000
--- a/src/components/About/Toolstack.js
+++ /dev/null
@@ -1,33 +0,0 @@
-import React from "react";
-import { Col, Row } from "react-bootstrap";
-import {
- SiLinux,
- SiVisualstudiocode,
- SiPostman,
- SiHeroku,
- SiVercel,
-} from "react-icons/si";
-
-function Toolstack() {
- return (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- );
-}
-
-export default Toolstack;
diff --git a/src/components/Contact.js b/src/components/Contact.js
index bb1c095..e96b4cf 100644
--- a/src/components/Contact.js
+++ b/src/components/Contact.js
@@ -1,75 +1,95 @@
import React, { useState } from "react";
function ContactForm() {
+ const isDevelopment = process.env.NODE_ENV === "development";
const [name, setName] = useState("");
const [email, setEmail] = useState("");
const [message, setMessage] = useState("");
const handleSubmit = async (event) => {
event.preventDefault();
- const data = { name, email, message };
+ let data = { name, email, message };
try {
- console.log('Form submission successful:');
// clear form
setName('');
setEmail('');
setMessage('');
+ data = { name: "testUser1", email: "test@test.com", message: "Hello, this is a test message." };
+ console.log('Form submission successful:');
+ console.log(data);
} catch (error) {
console.error('Form submission error:', error);
console.log('Error caught');
}
};
+ if (isDevelopment) {
+ try {
+ document.getElementsByClassName("submit").addEventListener("click", handleSubmit);
+ }
+ catch (error) {
+ console.error('Error:', error);
+ }
+ }
+ else {
+ try {
+ document.getElementsByClassName("submit").removeEventListener("click", handleSubmit);
+ }
+ catch (error) {
+ console.error('Error:', error);
+ }
+ }
+
return (
-<>
+ <>
-
-
-
-
-
-
-
-
Get in touch!
-