Skip to content

Commit

Permalink
Error removals (#738)
Browse files Browse the repository at this point in the history
* description update

* remove error message

* fixed keyerror & css warnings

* ease the transition between font sizes
  • Loading branch information
smalex-z authored Nov 26, 2024
1 parent ea8bd79 commit 1e7c4da
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions components/DevProjectCards.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ function Project({
className={`${styles['project-card']} ${styles['grid-tablet-only-2']}`}
>
<div className={styles['project-image-container']}>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={img} alt={alt} style={{ maxWidth: '100%' }}/>
</div>
<div>
Expand Down
2 changes: 1 addition & 1 deletion components/OfficerCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function Officers(props) {
// TODO: more flexible mobile views
<>
{props.officers.map((officer) => (
<Officer {...officer} size={props.size} style={props.style} key={props.officers.name} />
<Officer {...officer} size={props.size} style={props.style} key={officer.name} />
))}
</>
);
Expand Down
4 changes: 2 additions & 2 deletions pages/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ function DevTeam() {
<Layout>
<NextSeo
title='ACM Dev Team | ACM at UCLA'
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.'
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.'
/>
<Banner decorative />
<div className={'content-section text-center'}>
<h1 className='text-center'>Dev Team</h1>
<p className={styles['dev-team-info']}>
{/* eslint-disable-next-line max-len */}
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.
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.
</p>
<p className={styles['dev-team-info']}>
If you&apos;re interested in joining us,&nbsp;
Expand Down
6 changes: 3 additions & 3 deletions styles/components/DevProjCard.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@
}

.description-header {
font-size: 1.8em;
font-size: 1.4em;
}

.description-box p {
font-size: 1.8em;
font-size: 1.4em;
}
}

Expand Down Expand Up @@ -174,7 +174,7 @@
aspect-ratio: 1 / 1;
display: flex;
height: auto;
justify-content: start;
justify-content: flex-start;
margin: 0 auto;
max-width: 300px;
width: 100%;
Expand Down

0 comments on commit 1e7c4da

Please sign in to comment.