Skip to content

Commit e8b43a9

Browse files
authored
Merge pull request #47 from templerobotics/addedNewLeads
Added new leads
2 parents ae665bd + 15f65da commit e8b43a9

File tree

7 files changed

+43
-19
lines changed

7 files changed

+43
-19
lines changed
21.3 MB
Loading
-152 KB
Binary file not shown.
1.81 MB
Loading

src/pages/meet-the-leads/MeetTheLeads.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ import Styles from './MeetTheLeadsStyles'
1313
import TanishkasFace from '../../assets/pics/Leads/Tanishkas_face.jpg'
1414
import RoccosFace from '../../assets/pics/Leads/roccos_face.jpg'
1515
import MalinsFace from '../../assets/pics/Leads/Malins_face.jpg'
16-
import BriansFace from '../../assets/pics/Leads/Brians_face.jpg'
16+
import BriansFace from '../../assets/pics/Leads/Brian_face.png'
1717
import AlessiasFace from '../../assets/pics/Leads/Alessia_headshot.png'
1818
import JonahsFace from '../../assets/pics/Leads/Jonah_Face.jpg'
1919
import JadensFace from '../../assets/pics/Leads/Jadens_face.jpg'
20+
import JavisFace from '../../assets/pics/Leads/Javi_face.png'
2021
// a separator is needed for some reason, troubleshoot this or create a very small section div or style this like the robotics page
2122
//use robotics format
2223
//bakround is implemented but sections are not made to be compatible, change to gallery sections
@@ -93,6 +94,15 @@ const MeetTheLeads = (): React.ReactElement => {
9394
<div className='Leads-img-container'>
9495
<img src={ JonahsFace }/>
9596
</div>
97+
<div className='Leads-img-container'>
98+
<img src={ JavisFace }/>
99+
</div>
100+
<div className='leads-slide'>
101+
<h2>Meet our Chief of Marketing & Development!</h2>
102+
<p>
103+
Javier Price-Butler
104+
</p>
105+
</div>
96106
</Styles.LeadsGallery>
97107
</Styles.SpaceBackground>
98108
<Contact/>

src/pages/meet-the-leads/MeetTheLeadsStyles.tsx

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default class MeetTheLeadsStyles {
88
grid-template-columns: 100%;
99
grid-template-rows:
1010
calc(var(--vh) * .2) /* Intro heading */
11-
calc(var(--vh) * 2.39) /* Outreach gallery and photo gallery */
11+
calc(var(--vh) * 0.3904 * 7) /* Outreach gallery and photo gallery */
1212
max(calc(var(--vh) * .15), 100px); /* Contact info */
1313
justify-content: center;
1414
align-content: center;
@@ -17,15 +17,12 @@ export default class MeetTheLeadsStyles {
1717
display: grid;
1818
grid-template-columns: 100%;
1919
grid-template-rows:
20-
calc(var(--vh) * .2) /* Intro heading */
21-
calc(var(--vh) * 2.65) /* Outreach gallery and photo gallery */
22-
max(calc(var(--vh) * .15), 100px); /* Contact info */
23-
justify-content: center;
24-
align-content: center;
25-
20+
calc(var(--vh) * .2) /* Intro heading */
21+
calc(var(--vh) * 0.4282 * 7) /* Outreach gallery and photo gallery */
22+
max(calc(var(--vh) * .15), 100px); /* Contact info */
23+
justify-content: center;
24+
align-content: center;
2625
}
27-
28-
2926
`
3027

3128
static readonly TitleContainer = styled.div`
@@ -45,20 +42,34 @@ export default class MeetTheLeadsStyles {
4542
//grid of leads text and img squares
4643
display: grid;
4744
grid-template-columns: repeat(2 , minmax(0, 1fr));
48-
grid-template-rows: calc(var(--vh) * .4) repeat(6, minmax(0, 1fr));
45+
grid-template-rows: calc(var(--vh) * .4) repeat(7, minmax(0, 1fr));
4946
row-gap: 20px;
5047
column-gap: 4%;
5148
justify-items: center;
5249
align-items: center;
5350
text-align: center;
5451
margin-top: auto;
5552
56-
& > h2 {
53+
& p {
54+
font-size: calc(var(--vh) * 0.023);
55+
margin-top: 50px;
56+
@media (max-width: 718px) {
57+
font-size: calc(var(--vh) * 0.023);
58+
margin-top: 10px;
59+
}
60+
}
61+
62+
63+
& h2 {
5764
${FONT_FAMILY.TITLE}
65+
font-size: calc(var(--vh) * 0.042);
5866
grid-column-start: 1;
5967
grid-column-end: 3;
6068
text-align: center;
61-
margin: 0;
69+
@media (max-width: 718px) {
70+
font-size: calc(var(--vh) * 0.042);
71+
}
72+
margin-bottom: 10px;
6273
}
6374
6475
& > .Leads-img-container {
@@ -88,6 +99,7 @@ export default class MeetTheLeadsStyles {
8899
padding-right: 20%;
89100
}
90101
102+
91103
`
92104

93105
static readonly SpaceBackground = styled.div`

src/pages/robotic-mining/RoboticMiningStyles.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ export const MEET_THE_TEAM: GalleryImage[] = [
88
{ image: RMC_TEAM[0], title: 'Dr. John Helferty', description: 'Head Advisor' },
99
{ image: RMC_TEAM[1], title: 'Rocco Gruzman', description: 'Robotic\'s President' },
1010
{ image: RMC_TEAM[2], title: 'Malin Kussi', description: 'Vice President' },
11-
{ image: RMC_TEAM[3], title: 'Jaden Howard', description: 'Electrical Lead' },
12-
{ image: RMC_TEAM[4], title: 'Alessia Smith', description: 'Mechanical Lead' },
13-
{ image: RMC_TEAM[5], title: 'Brian Ervin', description: 'Programming Lead' },
14-
{ image: RMC_TEAM[6], title: 'Tanishka Shah', description: 'Project Manager' },
15-
{ image: RMC_TEAM[7], title: 'Jonah Tesler', description: 'Shop Manager' }
11+
{ image: RMC_TEAM[3], title: 'Javier Price-Butler', description: 'Chief of Development' },
12+
{ image: RMC_TEAM[4], title: 'Jaden Howard', description: 'Electrical Lead' },
13+
{ image: RMC_TEAM[5], title: 'Alessia Smith', description: 'Mechanical Lead' },
14+
{ image: RMC_TEAM[6], title: 'Brian Ervin', description: 'Programming Lead' },
15+
{ image: RMC_TEAM[7], title: 'Tanishka Shah', description: 'Project Manager' },
16+
{ image: RMC_TEAM[8], title: 'Jonah Tesler', description: 'Shop Manager' }
1617
]
1718

1819
export default class RoboticMiningStyles {

src/tools/Constants.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ export const RMC_TEAM = [
3434
require('../assets/pics/team/john-helferty.jpg'),
3535
require('../assets/pics/Leads/roccos_face.jpg'),
3636
require('../assets/pics/Leads/Malins_face.jpg'),
37+
require('../assets/pics/Leads/Javi_face.png'),
3738
require('../assets/pics/Leads/Jadens_face.jpg'),
3839
require('../assets/pics/Leads/Alessia_headshot.png'),
39-
require('../assets/pics/Leads/Brians_face.jpg'),
40+
require('../assets/pics/Leads/Brian_face.png'),
4041
require('../assets/pics/Leads/Tanishkas_face.jpg'),
4142
require('../assets/pics/Leads/Jonah_Face.jpg')
4243
]

0 commit comments

Comments
 (0)