Skip to content

Commit

Permalink
Merge branch 'issue-31'
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasarivera committed Jan 31, 2024
2 parents d2d4fa0 + fe6a41f commit 9bab9c4
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 14 deletions.
6 changes: 6 additions & 0 deletions app/client/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ body {
object-fit: contain;
}

.landing-link {
color: gold !important;
font-size: 20px !important;
text-decoration: none !important;
}

.btn-outline-light-landing {
color: white !important;
border-color: white !important;
Expand Down
53 changes: 40 additions & 13 deletions app/imports/ui/pages/About.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const About = () => (
<h1>Who We Are</h1>
</Container>
<Container className="p-3">
<Row>
<Row className="m-auto align-items-stretch align-content-stretch text-center flex-column flex-md-row">
<Col className="align-middle text-center">
<h1>Rooted in the Mission to Spread Seeds of Giving Worldwide</h1>
</Col>
Expand All @@ -23,28 +23,28 @@ const About = () => (
</Row>
</Container>
<Container fluid className="color2 p-3">
<Row className="m-5">
<h1>The Voluntree:</h1>
<Row className="m-5 flex-column flex-md-row">
<h1 className="text-center">The Voluntree:</h1>
</Row>
<Row className="m-5 align-items-center align-content-center text-center">
<Col className="col-4">
<Card className="rounded-0 d-flex justify-content-center align-items-center text-center p-3" style={{ height: '325px' }}>
<Row className="m-auto align-items-stretch align-content-stretch text-center flex-column flex-md-row">
<Col className="col-md-4 mb-4">
<Card className="rounded-0 d-flex flex-column justify-content-center align-items-center text-center p-3 h-100">
<h3>Makes Working Together Simple</h3>
<br />
<Image src="./images/workTogetherAbout.png" alt="People working together" className="d-block" style={{ width: '32%' }} />
<p>Removes barriers for volunteers to connect.</p>
</Card>
</Col>
<Col className="col-4">
<Card className="rounded-0 d-flex justify-content-center align-items-center text-center p-3" style={{ height: '325px' }}>
<Col className="col-md-4 mb-4">
<Card className="rounded-0 d-flex flex-column justify-content-center align-items-center text-center p-3 h-100">
<h3>Unlocks Your Potential</h3>
<br />
<Image src="./images/growthAbout.png" alt="People working together" className="d-block" style={{ width: '32%' }} />
<p>Provides opportunities to grow and learn</p>
</Card>
</Col>
<Col className="col-4">
<Card className="rounded-0 d-flex justify-content-center align-items-center text-center p-3" style={{ height: '325px' }}>
<Col className="col-md-4 mb-4">
<Card className="rounded-0 d-flex flex-column justify-content-center align-items-center text-center p-3 h-100">
<h3>Benefits Your Community</h3>
<br />
<Image src="./images/benifitCommunityAbout.png" alt="People working together" className="d-block" style={{ width: '45%' }} />
Expand All @@ -59,9 +59,36 @@ const About = () => (
<h3>Sara Kenley</h3>
<p>Founder</p>
</Container>
<Container>
<h1>Contact Us</h1>
<p>sarakenley@thevoluntree.com</p>
<Container fluid className="color2 p-3 justify-content-center">
<Row className="mx-auto flex-column flex-md-row">
<Col className="col-md-6 mx-auto mb-4 px-lg-5">
<h1>Contact Us</h1>
<p>sarakenley@thevoluntree.com</p>
<p>Inquiries? Leave a message or email us, and we will be happy to answer your question.</p>
</Col>
<Col className="col-md-6 mx-auto justify-content-center">
<form className="mx-auto">
<div className="form-group">
{/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}
<label htmlFor="name">Name:</label>
<input type="text" className="form-control" id="name" />
</div>
<div className="form-group">
{/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}
<label htmlFor="email">Email:</label>
<input type="email" className="form-control" id="email" />
</div>
<div className="form-group">
{/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}
<label htmlFor="message">Message:</label>
<textarea className="form-control" id="message" rows="4" />
</div>
<button type="button" className="btn btn-primary">
Submit
</button>
</form>
</Col>
</Row>
</Container>
</>
);
Expand Down
2 changes: 1 addition & 1 deletion app/imports/ui/pages/Landing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const Landing = () => (
</p>
<p>Ready to get started? Sign up now and let&apos;s grow The Voluntree together!</p>
<p>
<a href="/signup">Sign Up</a> | <a href="/about">Learn More</a>
<a className="landing-link" href="/signup">Sign Up</a> | <a className="landing-link" href="/about">Learn More</a>
</p>
</Row>
</Col>
Expand Down

0 comments on commit 9bab9c4

Please sign in to comment.