-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
61 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,64 @@ | ||
import React, {useState} from 'react'; | ||
import React, { useState } from "react"; | ||
|
||
import FormModal from './FormModal'; | ||
import FormModal from "./FormModal"; | ||
|
||
import Container from 'react-bootstrap/Container'; | ||
import Col from 'react-bootstrap/Col'; | ||
import Row from 'react-bootstrap/Row'; | ||
import 'bootstrap/dist/css/bootstrap.css'; | ||
import Container from "react-bootstrap/Container"; | ||
import Col from "react-bootstrap/Col"; | ||
import Row from "react-bootstrap/Row"; | ||
import "bootstrap/dist/css/bootstrap.css"; | ||
|
||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; | ||
import { faLinkedin } from '@fortawesome/free-brands-svg-icons'; | ||
import { faGithub } from '@fortawesome/free-brands-svg-icons'; | ||
import { faEnvelope } from '@fortawesome/free-solid-svg-icons'; | ||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; | ||
import { faLinkedin } from "@fortawesome/free-brands-svg-icons"; | ||
import { faGithub } from "@fortawesome/free-brands-svg-icons"; | ||
import { faEnvelope } from "@fortawesome/free-solid-svg-icons"; | ||
|
||
function Contact(){ | ||
function Contact() { | ||
const [modalShow, setModalShow] = useState(false); | ||
|
||
const [modalShow, setModalShow] = useState(false); | ||
|
||
return ( | ||
<> | ||
<Container> | ||
<Row> | ||
<Col xs="3"> | ||
<a target="_blank" href="https://www.linkedin.com/in/nicholas-aguirre-a23a0616a/" className="contactLink"> | ||
<FontAwesomeIcon icon={faLinkedin} id="linkedInIcon" /> | ||
<br/> | ||
<p className="iconSubtitle">LinkedIn</p> | ||
</a> | ||
</Col> | ||
<Col xs="3"> | ||
<a target="_blank" href="https://github.com/HeyNeek" className="contactLink"> | ||
<FontAwesomeIcon icon={faGithub} id="githubIcon" /> | ||
<br/> | ||
<p className="iconSubtitle">GitHub</p> | ||
</a> | ||
</Col> | ||
<Col xs="3"> | ||
<FontAwesomeIcon onClick={() => setModalShow(true)} icon={faEnvelope} id="emailIcon" /> | ||
<br/> | ||
<p onClick={() => setModalShow(true)} className="iconSubtitle">Email</p> | ||
</Col> | ||
</Row> | ||
</Container> | ||
<FormModal show={modalShow} onHide={() => setModalShow(false)} /> | ||
</> | ||
) | ||
return ( | ||
<> | ||
<Container> | ||
<Row> | ||
<Col xs="3"> | ||
<a | ||
target="_blank" | ||
rel="noreferrer" | ||
href="https://www.linkedin.com/in/nicholas-aguirre-a23a0616a/" | ||
className="contactLink" | ||
> | ||
<FontAwesomeIcon icon={faLinkedin} id="linkedInIcon" /> | ||
<br /> | ||
<p className="iconSubtitle">LinkedIn</p> | ||
</a> | ||
</Col> | ||
<Col xs="3"> | ||
<a | ||
target="_blank" | ||
rel="noreferrer" | ||
href="https://github.com/HeyNeek" | ||
className="contactLink" | ||
> | ||
<FontAwesomeIcon icon={faGithub} id="githubIcon" /> | ||
<br /> | ||
<p className="iconSubtitle">GitHub</p> | ||
</a> | ||
</Col> | ||
<Col xs="3"> | ||
<FontAwesomeIcon | ||
onClick={() => setModalShow(true)} | ||
icon={faEnvelope} | ||
id="emailIcon" | ||
/> | ||
<br /> | ||
<p onClick={() => setModalShow(true)} className="iconSubtitle"> | ||
</p> | ||
</Col> | ||
</Row> | ||
</Container> | ||
<FormModal show={modalShow} onHide={() => setModalShow(false)} /> | ||
</> | ||
); | ||
} | ||
|
||
export default Contact; | ||
export default Contact; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters