|
1 |
| -import { motion } from "framer-motion" |
2 |
| -import { fadeIn } from "../../utils/variants" |
3 |
| -import ContactForm from "./ContactForm"; |
4 | 1 |
|
| 2 | +import ContactForm from "./ContactForm"; |
| 3 | +import DividerTag from "../dividerTag/DividerTag"; |
| 4 | +import FooterContact from "./FooterContact"; |
5 | 5 |
|
6 | 6 | // Reemplaza 'ID_DEL_ARCHIVO' con el ID real de tu archivo en Google Drive
|
7 |
| -const googleDriveFileId = '1LTja5061INTTENK-pJXuo0nfOeaoabEa'; |
| 7 | +// const googleDriveFileId = "1LTja5061INTTENK-pJXuo0nfOeaoabEa"; |
8 | 8 |
|
9 | 9 | // Construye el enlace de descarga directa desde Google Drive
|
10 |
| -const googleDriveDownloadLink = `https://drive.google.com/uc?export=download&id=${googleDriveFileId}`; |
| 10 | +// const googleDriveDownloadLink = `https://drive.google.com/uc?export=download&id=${googleDriveFileId}`; |
11 | 11 |
|
12 | 12 | const Contact = () => {
|
13 | 13 | return (
|
14 |
| - |
15 |
| - |
16 |
| - <section id="contact" className="min-h-[86vh] mt-9 flex items-center "> |
17 |
| - <div className="container mx-auto"> |
18 |
| - <div className="min-h-[75vh] relative top-6 mt-12 flex flex-col items-center justify-between gap-4 rounded-3xl bg-black/20 backdrop-blur-2xl"> |
19 |
| - <div className=" w-[80%] relative min-h-[35vh] flex flex-col text-center justify-center font-secondary lg:text-left"> |
20 |
| - <div className=" w-2/3 lg:absolute lg:top-0 hidden lg:h-[50%] lg:flex items-center "> |
21 |
| - <motion.div |
22 |
| - variants={fadeIn('left', 0.1)} |
23 |
| - initial='hidden' |
24 |
| - whileInView={'show'} |
25 |
| - viewport={{ once: false, amount: 0.2 }} |
26 |
| - className="lg:text-[150px] text-[90px] font-bold ">H</motion.div> |
27 |
| - <motion.div |
28 |
| - variants={fadeIn('left', 0.3)} |
29 |
| - initial='hidden' |
30 |
| - whileInView={'show'} |
31 |
| - viewport={{ once: false, amount: 0.2 }} |
32 |
| - className="lg:text-[150px] text-[90px] font-bold ">o</motion.div> |
33 |
| - <motion.div |
34 |
| - variants={fadeIn('left', 0.5)} |
35 |
| - initial='hidden' |
36 |
| - whileInView={'show'} |
37 |
| - viewport={{ once: false, amount: 0.2 }} |
38 |
| - className="lg:text-[150px] text-[90px] font-bold ">l</motion.div> |
39 |
| - <motion.div |
40 |
| - variants={fadeIn('left', 0.7)} |
41 |
| - initial='hidden' |
42 |
| - whileInView={'show'} |
43 |
| - viewport={{ once: false, amount: 0.2 }} |
44 |
| - className="lg:text-[150px] text-[90px] font-bold ">a</motion.div> |
45 |
| - <motion.div |
46 |
| - variants={fadeIn('left', 0.9)} |
47 |
| - initial='hidden' |
48 |
| - whileInView={'show'} |
49 |
| - viewport={{ once: false, amount: 0.2 }} |
50 |
| - className="lg:text-[150px] text-[90px] font-bold text-accent ">!</motion.div> |
51 |
| - </div> |
52 |
| - <div className=" w-full h-[50%] flex justify-start lg:absolute lg:bottom-0"> |
53 |
| - <motion.p |
54 |
| - variants={fadeIn('top', 0.5)} |
55 |
| - initial='hidden' |
56 |
| - whileInView={'show'} |
57 |
| - viewport={{ once: false, amount: 0.2 }} |
58 |
| - className="text-2xl font-semibold text-justify "> |
59 |
| - Muchas Gracias por tomarte el tiempo para conocerme. Estoy entusiasmado por la posibilidad de trabajar juntos o colaborar en futuros proyectos. |
60 |
| - Si tienes alguna consulta o proyecto para realizar, no dudes en contactarme. |
61 |
| - <br />Saludos. |
62 |
| - </motion.p> |
63 |
| - </div> |
| 14 | + <> |
| 15 | + <section |
| 16 | + id="contact" |
| 17 | + className="min-h-[86vh] mt-9 flex items-center flex-col " |
| 18 | + > |
| 19 | + <DividerTag tag="Contact" /> |
| 20 | + <div className="container mx-auto min-h-[86vh] bg-black/20 backdrop-blur-2xl rounded-xl flex flex-col justify-center items-center"> |
| 21 | + <div className="w-[80%] min-h-[82vh] flex justify-center items-start flex-col "> |
| 22 | + <h2 className="text-xl sm:text-2xl md:text-3xl lg:text-4xl font-bold text-white font-primary text-center mb-10"> |
| 23 | + Thanks for visiting me! |
| 24 | + </h2> |
| 25 | + <h2 className="text-xl sm:text-2xl md:text-3xl lg:text-4xl font-bold text-white font-primary text-center"> |
| 26 | + Let's Connects and Work Together |
| 27 | + </h2> |
| 28 | + <ContactForm /> |
64 | 29 | </div>
|
65 |
| - <div className=" w-[80%] min-h-[35vh] flex lg:flex-row flex-col items-center text-center lg:justify-between font-secondary lg:text-left"> |
66 |
| - <div className=" lg:w-[60%] w-[100%] flex"> |
67 |
| - <ContactForm /> |
68 |
| - </div> |
69 |
| - <div className=" min-h-[37vh] w-[100%] flex justify-center items-center lg:items-end lg:justify-end lg:mb-4"> |
70 |
| - <motion.a |
71 |
| - href={googleDriveDownloadLink} |
72 |
| - target="_blank" |
73 |
| - rel="noopener noreferrer" |
74 |
| - variants={fadeIn('left', 0.1)} |
75 |
| - initial='hidden' |
76 |
| - whileInView={'show'} |
77 |
| - viewport={{ once: false, amount: 0.7 }} |
78 |
| - className="btn lg:btn-lg" |
79 |
| - > |
80 |
| - Descargar C.V. |
81 |
| - </motion.a> |
82 |
| - </div> |
| 30 | + <div className="w-full h-full relative bottom-20"> |
| 31 | + <FooterContact /> |
83 | 32 | </div>
|
84 | 33 | </div>
|
85 |
| - </div> |
86 |
| - </section> |
| 34 | + </section> |
| 35 | + </> |
87 | 36 | );
|
88 | 37 | };
|
89 | 38 |
|
|
0 commit comments