Skip to content

Commit

Permalink
Shift backgroundPosition of cover photos (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumManiac authored Dec 26, 2023
1 parent da0e3eb commit 2765598
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/components/CoverPhoto/CoverPhoto.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
background-repeat: no-repeat;
background-position: 50% 90%;
background-size: cover;
height: 15rem;
}
height: 20rem;
}
2 changes: 1 addition & 1 deletion src/routes/Awards.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import TechnicalExcellenceImage from '../img/awards/technical_excellence.png';
const Awards = () => {
return (
<>
<CoverPhoto image={awardsCoverImage} style={{ backgroundPosition: '50% 40%' }} />
<CoverPhoto image={awardsCoverImage} style={{ backgroundPosition: '50% 52.5%' }} />
<Container fluid>
<Row className="my-4 mx-2 gx-5 justify-content-right">
<AwardYear Year={2023} />
Expand Down
2 changes: 1 addition & 1 deletion src/routes/Contact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Contact = () => {
<>
<CoverPhoto
image={contactCoverPhoto}
style={{ backgroundPosition: '50% 100%' }}
style={{ backgroundPosition: '50% 85%' }}
/>
<Container fluid>
<Row lg={2} md={2} sm={1} xs={1}>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import galleryCoverImage from '../img/home/link_to_gallery.jpg';
const Home = () => {
return (
<>
<CoverPhoto image={coverPhotoImage} style={{ backgroundPosition: '50% 60%' }} />
<CoverPhoto image={coverPhotoImage} style={{ backgroundPosition: '50% 70%' }} />
<Container fluid>
<Row className="my-4 mx-2 gx-5 justify-content-center">
<Col lg={{ span: 4 }}>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/Join.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import joinCoverPhoto from '../img/join/cover_join.jpg';
const Join = () => {
return (
<>
<CoverPhoto image={joinCoverPhoto} style={{ backgroundPosition: 'center bottom' }} />
<CoverPhoto image={joinCoverPhoto} style={{ backgroundPosition: '50% 65%' }} />
<Container fluid>
<Row className="my-4 mx-2 gx-5 justify-content-center">
<Content title="WHY JOIN US?">
Expand Down
2 changes: 1 addition & 1 deletion src/routes/Outreach.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import edPhoto from '../img/outreach/ed_session.jpg';
const Outreach = () => {
return (
<>
<CoverPhoto image={outreachCoverPhoto} style={{ backgroundPosition: '50% 40%' }} />
<CoverPhoto image={outreachCoverPhoto} style={{ backgroundPosition: '50% 50%' }} />
<Container fluid>
<Row className="my-4 mx-2 gx-5 justify-content-center">
<Content title="OUTREACH">
Expand Down
2 changes: 1 addition & 1 deletion src/routes/Team.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ import styles from './css/Team.module.css';
const Team = () => {
return (
<>
<CoverPhoto image={teamCoverImage} style={{ position: 'center bottom' }} />
<CoverPhoto image={teamCoverImage} style={{ backgroundPosition: '50% 75%' }} />
<Container fluid>
<Row className="my-4 mx-2 gx-4 justify-content-center">
<Col>
Expand Down
1 change: 1 addition & 0 deletions src/routes/css/Join.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
line-height: 135%;
font-weight: 400;
font-size: 0.9rem;
margin-top: 1rem;
margin-bottom: 3%;
}

0 comments on commit 2765598

Please sign in to comment.