Skip to content

Commit 1e7c4da

Browse files
authored
Error removals (#738)
* description update * remove error message * fixed keyerror & css warnings * ease the transition between font sizes
1 parent ea8bd79 commit 1e7c4da

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

components/DevProjectCards.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ function Project({
6464
className={`${styles['project-card']} ${styles['grid-tablet-only-2']}`}
6565
>
6666
<div className={styles['project-image-container']}>
67+
{/* eslint-disable-next-line @next/next/no-img-element */}
6768
<img src={img} alt={alt} style={{ maxWidth: '100%' }}/>
6869
</div>
6970
<div>

components/OfficerCard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function Officers(props) {
7777
// TODO: more flexible mobile views
7878
<>
7979
{props.officers.map((officer) => (
80-
<Officer {...officer} size={props.size} style={props.style} key={props.officers.name} />
80+
<Officer {...officer} size={props.size} style={props.style} key={officer.name} />
8181
))}
8282
</>
8383
);

pages/dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ function DevTeam() {
3131
<Layout>
3232
<NextSeo
3333
title='ACM Dev Team | ACM at UCLA'
34-
description='The ACM Dev Team handles general internal development needs for ACM at UCLA. We maintain and create organization-wide projects such as the website, Discord bot, Membership Portal, and link shortener.'
34+
description='The ACM Dev Team handles general internal development needs for ACM at UCLA. We maintain and create organization-wide projects such as the website, Discord bot, Membership Portal, and CMS Template.'
3535
/>
3636
<Banner decorative />
3737
<div className={'content-section text-center'}>
3838
<h1 className='text-center'>Dev Team</h1>
3939
<p className={styles['dev-team-info']}>
4040
{/* eslint-disable-next-line max-len */}
41-
The ACM Dev Team handles general internal development needs for all of ACM at UCLA. We maintain and create organization-wide projects such as the website, Discord bot, Membership Portal, and link shortener.
41+
The ACM Dev Team handles general internal development needs for all of ACM at UCLA. We maintain and create organization-wide projects such as the website, Discord bot, Membership Portal, and CMS Template.
4242
</p>
4343
<p className={styles['dev-team-info']}>
4444
If you&apos;re interested in joining us,&nbsp;

styles/components/DevProjCard.module.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,11 @@
138138
}
139139

140140
.description-header {
141-
font-size: 1.8em;
141+
font-size: 1.4em;
142142
}
143143

144144
.description-box p {
145-
font-size: 1.8em;
145+
font-size: 1.4em;
146146
}
147147
}
148148

@@ -174,7 +174,7 @@
174174
aspect-ratio: 1 / 1;
175175
display: flex;
176176
height: auto;
177-
justify-content: start;
177+
justify-content: flex-start;
178178
margin: 0 auto;
179179
max-width: 300px;
180180
width: 100%;

0 commit comments

Comments
 (0)