Skip to content

Commit

Permalink
single source for contact form link
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonava committed Mar 8, 2024
1 parent 2962f85 commit 6a81c5e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 14 deletions.
3 changes: 2 additions & 1 deletion src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
faLinkedin,
faGithub,
} from '@fortawesome/free-brands-svg-icons';
import { contactFormLink } from '../content/nav';

export default function Footer() {
return (
Expand Down Expand Up @@ -93,7 +94,7 @@ export default function Footer() {
<Link
// Todo: Connect with Cheerio
// href="/contact"
href="https://forms.gle/uuA2s98v4oC4o8TU7"
href={contactFormLink}
target="_blank"
>
Contact
Expand Down
12 changes: 7 additions & 5 deletions src/pages/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ import Button from 'react-bootstrap/Button';
import JumbotronHeader from '../components/JumbotronHeader.jsx';
import { contactFormLink } from '../content/nav.js';

const about = () => {
export default function about() {

const title = "Gain Real-World Experience By Helping Others";

const subtitle = "BUILD provides a venue for students to gain academic and practical knowledge about software development, web development, and tech consulting. We are BUILDING our community through the pro-bono services we offer to nonprofits, startups, and local businesses.";

const nilayLinkedIn = "https://www.linkedin.com/in/nilay18/";
const mattLinkedIn = "https://www.linkedin.com/in/matthewpearce/";

const YEARS_SINCE_BUILDS_INCEPTION = new Date().getFullYear() - 2019;

return (
Expand Down Expand Up @@ -70,14 +74,12 @@ const about = () => {
<Row>
<Col>
<p>
{YEARS_SINCE_BUILDS_INCEPTION} years ago CS students <a href="https://www.linkedin.com/in/nilay18/" target="_blank">Nilay Sadavarte</a> and <a href="https://www.linkedin.com/in/matthewpearce/" target="_blank">Matt Pearce</a> had an idea. They wanted to use their skills to help the community. They wanted to make a difference. They wanted to BUILD. And so, BUILD UMass was born. Since its inception, BUILD has had an impact on dozens of non-profits, charities, and student groups, while helping hundreds of students gain real-world experience in software development, product management, and consulting. We are proud of our accomplishments, but we are always looking to do more. If you are an organization that could benefit from the services we provide, we would love to <a href={contactFormLink} target="_blank">hear from you</a>. If you are a student looking to gain real-world experience, we would love for you to be a part of the next chapter of our story.
{YEARS_SINCE_BUILDS_INCEPTION} years ago CS students <a href={nilayLinkedIn} target="_blank">Nilay Sadavarte</a> and <a href={mattLinkedIn} target="_blank">Matt Pearce</a> had an idea. They wanted to use their skills to help the community. They wanted to make a difference. They wanted to BUILD. And so, BUILD UMass was born. Since its inception, BUILD has had an impact on dozens of non-profits, charities, and student groups, while helping hundreds of students gain real-world experience in software development, product management, and consulting. We are proud of our accomplishments, but we are always looking to do more. If you are an organization that could benefit from the services we provide, we would love to <a href={contactFormLink} target="_blank">hear from you</a>. If you are a student looking to gain real-world experience, we would love for you to be a part of the next chapter of our story.
</p>
</Col>
</Row>
</div>
</Container>
</div>
);
};

export default about;
};
3 changes: 2 additions & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Row from 'react-bootstrap/Row';
import Col from 'react-bootstrap/Col';
import Button from 'react-bootstrap/Button';
import CompanyLogos from '../components/CompanyLogos';
import { contactFormLink } from '../content/nav';

import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import {
Expand Down Expand Up @@ -50,7 +51,7 @@ export default function Index() {
variant="light"
onClick={() => {
window.open(
'https://forms.gle/uuA2s98v4oC4o8TU7',
contactFormLink,
'_blank'
);
}}
Expand Down
15 changes: 8 additions & 7 deletions src/pages/services.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// import React from 'react';

import Container from 'react-bootstrap/Container';
import Row from 'react-bootstrap/Row';
import Col from 'react-bootstrap/Col';
import Button from 'react-bootstrap/Button';
import { contactFormLink } from '../content/nav';

export default function services() {
return (
Expand Down Expand Up @@ -45,9 +45,8 @@ export default function services() {
variant="light"
className="link-btn"
onClick={() => {
// window.open('/contact', '_self');
window.open(
'https://forms.gle/uuA2s98v4oC4o8TU7',
contactFormLink,
'_blank'
);
}}
Expand Down Expand Up @@ -84,7 +83,10 @@ export default function services() {
{/* Types */}
<Container>
{/* Software Development */}
<div className="margin3" id="Software">
<div
className="margin3"
id="Software"
>
<Row>
<Col className="center-vertical">
<div className="center">
Expand Down Expand Up @@ -207,7 +209,7 @@ export default function services() {
<Col>
<p className="pg-heading center">
Get in touch with us anyway and we’ll try our best to
accomodate any of your requests!
accommodate any of your requests!
</p>
</Col>
</Row>
Expand All @@ -217,9 +219,8 @@ export default function services() {
variant="light"
className="link-btn"
onClick={() => {
// window.open('/contact', '_self');
window.open(
'https://forms.gle/uuA2s98v4oC4o8TU7',
contactFormLink,
'_blank'
);
}}
Expand Down

0 comments on commit 6a81c5e

Please sign in to comment.