diff --git a/src/components/Contact.jsx b/src/components/Contact.jsx
index 43fea43..757232d 100644
--- a/src/components/Contact.jsx
+++ b/src/components/Contact.jsx
@@ -1,9 +1,74 @@
-import React from 'react'
+import {useState, useRef} from 'react';
+import { motion } from 'framer-motion';
+import emailjs from '@emailjs/browser';
+import {styles} from "../Style";
+import {EarthCanvas} from "./canvas";
+import {SectionWrapper} from "../hoc";
+import { slideIn } from '../utils/motion';
const Contact = () => {
+const formRef = useRef();
+const [form, setForm] = useState({
+ name:"",
+ email:"",
+ message:""
+});
+
+const [loading, setLoading] = useState(false);
+
+const handleChange = (e) => {};
+const handleSubmit = (e) => {}
+
return (
-
Contact
+
+
+ Get in touch
+ Contact .
+
+
+
+
+
+
+
)
}
-export default Contact
\ No newline at end of file
+export default SectionWrapper(Contact,"contact");
\ No newline at end of file
diff --git a/src/components/Works.jsx b/src/components/Works.jsx
index 9e11e05..3efb197 100644
--- a/src/components/Works.jsx
+++ b/src/components/Works.jsx
@@ -97,4 +97,4 @@ className="mt-3 text-secondary text-[17px] max-w-3xl leading-[30px]"
)
}
-export default SectionWrapper(Works,"works");
\ No newline at end of file
+export default SectionWrapper(Works,"work");
\ No newline at end of file
diff --git a/src/components/canvas/Earth.jsx b/src/components/canvas/Earth.jsx
index 25c1a22..490ab68 100644
--- a/src/components/canvas/Earth.jsx
+++ b/src/components/canvas/Earth.jsx
@@ -1,9 +1,43 @@
-import React from 'react'
+import {Suspense} from 'react';
+import { Canvas } from '@react-three/fiber';
+import { OrbitControls, Preload, useGLTF } from '@react-three/drei';
+import CanvasLoader from "../Loader";
const Earth = () => {
+ const earth= useGLTF("./planet/scene.gltf")
+
return (
- Earth
+
+ )
+}
+
+const EarthCanvas=()=>{
+ return(
+
)
}
-export default Earth
\ No newline at end of file
+export default EarthCanvas
\ No newline at end of file