+
diff --git a/src/pages/home/sections/section16/Section16.css b/src/pages/contactUs/ContactUs.css
similarity index 84%
rename from src/pages/home/sections/section16/Section16.css
rename to src/pages/contactUs/ContactUs.css
index 4495640..c1b7e5b 100644
--- a/src/pages/home/sections/section16/Section16.css
+++ b/src/pages/contactUs/ContactUs.css
@@ -28,7 +28,7 @@
justify-content: center;
align-items: center;
}
-.codeutsava__contact-title img{
+.codeutsava__contact-title img {
width: auto;
position: relative;
height: 90px;
@@ -37,7 +37,6 @@
.codeutsava__contact-submit-button {
font-family: var(--font-family);
font-size: 16px;
- width: 90%;
display: flex;
flex-direction: row;
justify-content: center;
@@ -46,6 +45,7 @@
border-radius: 4px;
border: none;
color: white;
+ margin-top: 1rem;
cursor: pointer;
background-color: var(--primary-c);
}
@@ -84,7 +84,7 @@
.codeutsava__contact-header {
width: 90%;
color: white;
- font-size: 1.9rem;
+ font-size: 1.6rem;
border-bottom: 1px solid rgba(193, 186, 186, 0.232);
}
@@ -115,14 +115,16 @@
}
.form-group label {
- font-size: 1rem;
- margin-bottom: 4px;
+ font-size: 16px;
+ margin-bottom: 8px;
}
input[type="text"],
input[type="email"],
+input[type="contact"],
textarea {
width: 100%;
+ font-family: var(--font-family3);
padding: 1rem;
margin-bottom: 10px;
border: 1px solid rgb(161, 153, 153, 0.5);
@@ -144,9 +146,8 @@ textarea {
resize: none;
}
-@media (max-width: 1000px) {
+@media screen and (max-width: 756px) {
.codeutsava__contact-section {
- display: flex;
margin: auto;
margin-top: 3rem;
}
@@ -173,7 +174,7 @@ textarea {
}
}
-@media (max-width: 625px) {
+@media screen and (max-width: 430px) {
.map-container {
width: 90%;
}
@@ -182,8 +183,24 @@ textarea {
flex-direction: column;
padding: 2rem 1rem;
}
- .codeutsava__contact-title{
+ .codeutsava__contact-title {
font-size: 40px;
line-height: 64px;
}
+ .codeutsava__contact-header {
+ margin-bottom: 2rem;
+ }
+ .codeutsava__contact-form {
+ width: 90%;
+ height: 530px;
+ margin-top: 2rem;
+ margin-bottom: 4rem;
+ }
+ .map-container {
+ width: 90%;
+ height: 530px;
+ }
+ .codeutsava__contact-submit-button {
+ margin-bottom: 2rem;
+ }
}
diff --git a/src/pages/contactUs/ContactUs.js b/src/pages/contactUs/ContactUs.js
new file mode 100644
index 0000000..393c717
--- /dev/null
+++ b/src/pages/contactUs/ContactUs.js
@@ -0,0 +1,38 @@
+import React, { Component } from "react";
+import "./ContactUs.css";
+import cauldron from "../../assets/images/cauldron.png";
+import { motion } from "framer-motion";
+import ContactForm from "../../components/contactForm/ContactForm";
+import Footer from "../../components/footer/Footer";
+import NavbarTeam from "../../components/navbarTeam/NavbarTeam";
+import IntroAudio from "../../components/introAudio/IntroAudio";
+
+const ContactUs = () => {
+ return (
+
+
+
+
+
+
+
+ Have Some Questions?
+
+
+
+
+
+
+
+
+
+
+ );
+};
+
+export default ContactUs;
diff --git a/src/pages/home/HomePage.js b/src/pages/home/HomePage.js
index a8cd5cb..17a67c7 100644
--- a/src/pages/home/HomePage.js
+++ b/src/pages/home/HomePage.js
@@ -20,9 +20,6 @@ import Section11 from "./sections/section11/Section11";
import Section12 from "./sections/section12/Section12";
import Section13 from "./sections/section13/Section13";
import Section14 from "./sections/section14/Section14";
-import Section16 from "./sections/section16/Section16";
-
-
const HomePage = () => {
return (
@@ -48,7 +45,6 @@ const HomePage = () => {
-
diff --git a/src/pages/home/sections/section1/Section1.css b/src/pages/home/sections/section1/Section1.css
index c9582d9..9a9bcec 100644
--- a/src/pages/home/sections/section1/Section1.css
+++ b/src/pages/home/sections/section1/Section1.css
@@ -40,15 +40,15 @@
align-items: center;
}
.codeutsava__section1-heading {
- margin: 1rem 0;
- height: 65px;
+ margin: 4px 0;
+ height: 70px;
}
.codeutsava__section1-subheading {
font-family: var(--font-family1);
font-weight: 500;
- font-size: 36px;
- line-height: 82px;
+ font-size: 40px;
+ line-height: 70px;
letter-spacing: 4px;
color: var(--secondary-c);
text-transform: uppercase;
diff --git a/src/pages/home/sections/section1/Section1.js b/src/pages/home/sections/section1/Section1.js
index c0482d5..aa3c575 100644
--- a/src/pages/home/sections/section1/Section1.js
+++ b/src/pages/home/sections/section1/Section1.js
@@ -15,8 +15,8 @@ import "../../../../../node_modules/font-awesome/css/font-awesome.min.css";
import register from "../../../../assets/images/register.pdf";
const Section1 = () => {
- const c1 = "#7f00a6";
- const c2 = "#b200ee";
+ // const c1 = "#7f00a6";
+ // const c2 = "#b200ee";
React.useEffect(() => {
const script = document.createElement("script");
@@ -29,122 +29,122 @@ const Section1 = () => {
};
}, []);
- const canvasRef = useRef(null);
- useEffect(() => {
- // Draw canvas here...
- const canvas = canvasRef.current;
- const c = canvas.getContext("2d");
+ // const canvasRef = useRef(null);
+ // useEffect(() => {
+ // // Draw canvas here...
+ // const canvas = canvasRef.current;
+ // const c = canvas.getContext("2d");
- canvas.width = window.innerWidth;
- canvas.height = window.innerHeight;
+ // canvas.width = window.innerWidth;
+ // canvas.height = window.innerHeight;
- var particleCount = 750;
- var mouse = {
- x: window.innerWidth / 2,
- y: window.innerHeight / 2,
- };
+ // var particleCount = 750;
+ // var mouse = {
+ // x: window.innerWidth / 2,
+ // y: window.innerHeight / 2,
+ // };
- canvas.addEventListener("mousemove", function (event) {
- mouse.x = event.clientX - canvas.width / 2;
- mouse.y = event.clientY - canvas.height / 2;
- });
+ // canvas.addEventListener("mousemove", function (event) {
+ // mouse.x = event.clientX - canvas.width / 2;
+ // mouse.y = event.clientY - canvas.height / 2;
+ // });
- function LightParticle(x, y, radius, color) {
- this.x = x;
- this.y = y;
- this.radius = radius;
- this.color = color;
+ // function LightParticle(x, y, radius, color) {
+ // this.x = x;
+ // this.y = y;
+ // this.radius = radius;
+ // this.color = color;
- this.update = function () {
- this.draw();
- };
+ // this.update = function () {
+ // this.draw();
+ // };
- this.draw = function () {
- c.save();
- c.beginPath();
- c.arc(this.x, this.y, this.radius, 0, Math.PI * 2, false);
- c.shadowColor = this.color;
- c.shadowBlur = 15;
- c.shadowOffsetX = 0;
- c.shadowOffsetY = 0;
- c.fillStyle = this.color;
- c.fill();
- c.closePath();
- c.restore();
- };
- }
+ // this.draw = function () {
+ // c.save();
+ // c.beginPath();
+ // c.arc(this.x, this.y, this.radius, 0, Math.PI * 2, false);
+ // c.shadowColor = this.color;
+ // c.shadowBlur = 15;
+ // c.shadowOffsetX = 0;
+ // c.shadowOffsetY = 0;
+ // c.fillStyle = this.color;
+ // c.fill();
+ // c.closePath();
+ // c.restore();
+ // };
+ // }
- var lightParticles = [];
+ // var lightParticles = [];
- var timer = 0;
- var opacity = 1;
- var speed = 0.0005;
- var colors = [c1, c2, "#fbfbdd", "#333333", "#F2E8C9"];
+ // var timer = 0;
+ // var opacity = 1;
+ // var speed = 0.0005;
+ // var colors = [c1, c2, "#fbfbdd", "#333333", "#F2E8C9"];
- var initializeParticles;
+ // var initializeParticles;
- (initializeParticles = function () {
- for (var i = 0; i < particleCount; i++) {
- var randomColorIndex = Math.floor(Math.random() * 6);
- var randomRadius = Math.random() * 2;
+ // (initializeParticles = function () {
+ // for (var i = 0; i < particleCount; i++) {
+ // var randomColorIndex = Math.floor(Math.random() * 6);
+ // var randomRadius = Math.random() * 2;
- // Ensure particles are spawned past screen width and height so
- // there will be no missing stars when rotating canvas
- var x = Math.random() * (canvas.width + 200) - (canvas.width + 200) / 2;
- var y = Math.random() * (canvas.width + 200) - (canvas.width + 200) / 2;
- lightParticles.push(
- new LightParticle(x, y, randomRadius, colors[randomColorIndex])
- );
- }
- })();
+ // // Ensure particles are spawned past screen width and height so
+ // // there will be no missing stars when rotating canvas
+ // var x = Math.random() * (canvas.width + 200) - (canvas.width + 200) / 2;
+ // var y = Math.random() * (canvas.width + 200) - (canvas.width + 200) / 2;
+ // lightParticles.push(
+ // new LightParticle(x, y, randomRadius, colors[randomColorIndex])
+ // );
+ // }
+ // })();
- function animate() {
- window.requestAnimationFrame(animate);
+ // function animate() {
+ // window.requestAnimationFrame(animate);
- c.save();
- if (isMouseDown === true) {
- // Ease into the new opacity
- var desiredOpacity = 0.01;
- opacity += (desiredOpacity - opacity) * 0.03;
- c.fillStyle = "rgba(0, 0, 0," + opacity + ")";
+ // c.save();
+ // if (isMouseDown === true) {
+ // // Ease into the new opacity
+ // var desiredOpacity = 0.01;
+ // opacity += (desiredOpacity - opacity) * 0.03;
+ // c.fillStyle = "rgba(0, 0, 0," + opacity + ")";
- // Ease into the new speed
- var desiredSpeed = 0.012;
- speed += (desiredSpeed - speed) * 0.01;
- timer += speed;
- } else {
- // Ease back to the original opacity
- var originalOpacity = 1;
- opacity += (originalOpacity - opacity) * 0.01;
- c.fillStyle = "rgba(0, 0, 0, " + opacity + ")";
+ // // Ease into the new speed
+ // var desiredSpeed = 0.012;
+ // speed += (desiredSpeed - speed) * 0.01;
+ // timer += speed;
+ // } else {
+ // // Ease back to the original opacity
+ // var originalOpacity = 1;
+ // opacity += (originalOpacity - opacity) * 0.01;
+ // c.fillStyle = "rgba(0, 0, 0, " + opacity + ")";
- // Ease back to the original speed
- var originalSpeed = 0.001;
- speed += (originalSpeed - speed) * 0.01;
- timer += speed;
- }
+ // // Ease back to the original speed
+ // var originalSpeed = 0.001;
+ // speed += (originalSpeed - speed) * 0.01;
+ // timer += speed;
+ // }
- c.fillRect(0, 0, canvas.width, canvas.height);
- c.translate(canvas.width / 2, canvas.height / 2);
- c.rotate(timer);
+ // c.fillRect(0, 0, canvas.width, canvas.height);
+ // c.translate(canvas.width / 2, canvas.height / 2);
+ // c.rotate(timer);
- for (var i = 0; i < lightParticles.length; i++) {
- lightParticles[i].update();
- }
+ // for (var i = 0; i < lightParticles.length; i++) {
+ // lightParticles[i].update();
+ // }
- c.restore();
- }
- animate();
- var isMouseDown = false;
+ // c.restore();
+ // }
+ // animate();
+ // var isMouseDown = false;
- window.addEventListener("mousedown", function () {
- isMouseDown = true;
- });
+ // window.addEventListener("mousedown", function () {
+ // isMouseDown = true;
+ // });
- window.addEventListener("mouseup", function () {
- isMouseDown = false;
- });
- }, []);
+ // window.addEventListener("mouseup", function () {
+ // isMouseDown = false;
+ // });
+ // }, []);
return (
{
className="codeutsava__section1"
id="home"
>
-
+ /> */}
{
>
Central India's{" "}
Largest Coding Event.{" "}
- Stay Tuned!
+ Join Us on 1st - 2nd November.
{
- const [formData, setFormData] = useState({});
- const [sentT, setSentT] = useState("Send");
- const handleChange = (e) => {
- setFormData({ ...formData, [e.target.name]: e.target.value });
- };
- var emailData = {
- service_id: "service_y25o3tu",
- template_id: "TCP-Tech_Response",
- user_id: "kE8yPfFnAkGs6aRJk",
- template_params: {
- person_name: formData.name,
- mobile_no: formData.contact,
- email_id: formData.email,
- message: formData.message,
- },
- };
- console.log(emailData);
- const handleButtonClick = (e) => {
- e.preventDefault();
- fetch("https://api.emailjs.com/api/v1.0/email/send", {
- method: "POST",
- headers: {
- "Content-Type": "application/json",
- },
- body: JSON.stringify(emailData),
- }).then(
- (response) => {
- console.log(response);
- },
- (err) => {
- console.log(err);
- }
- );
- };
- console.log(formData);
- return (
-
-
- Have Some Questions?
-
-
-
-
-
Contact Us
-
-
-
-
-
-
-
-
- );
-};
-
-export default Section16;