Skip to content

Commit b31d4d6

Browse files
committed
change alt and other minor fixes
1 parent 58418c9 commit b31d4d6

1 file changed

Lines changed: 11 additions & 15 deletions

File tree

client/src/pages/about.tsx

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,23 @@ export default function AboutPage() {
3131
<div className="space-y-4 font-sans text-base leading-relaxed text-white md:text-lg">
3232
<p>
3333
{/*>>Hardcoded description of the club to be altered<<*/}
34-
Description of the clubs aims, why it exists, its mission, etc
35-
etc. Second paragraph here, a second paragraph would be pretty
36-
cool. The more info the better yippee!!
37-
{/*>>Hardcoded description of the club to be altered<<*/}
38-
</p>
39-
<p>
40-
{/*>>Hardcoded description of the club to be altered<<*/}
41-
Lorem ipsum dolor such and such I can&apos;t remember the rest.
34+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
35+
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
36+
enim ad minim veniam, quis nostrud exercitation ullamco laboris
37+
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor
38+
in reprehenderit in voluptate velit esse cillum dolore eu fugiat
39+
nulla pariatur.
4240
{/*>>Hardcoded description of the club to be altered<<*/}
4341
</p>
4442
</div>
4543
</div>
4644
<div className="relative aspect-[4/3] w-full flex-shrink-0 overflow-hidden rounded-2xl bg-light_2 md:w-96 lg:w-[32rem]">
4745
<div className="flex h-full w-full items-center justify-center">
4846
<Image
49-
/*>>Hardcoded feature image to be altered. Only alter 'src', 'alt' is supposed to be a placeholder<<*/
47+
/*>>Hardcoded feature image to be altered.<<*/
5048
src="/landing_placeholder.png"
51-
/*>>Hardcoded feature image to be altered. Only alter 'src', 'alt' is supposed to be a placeholder<<*/
52-
alt="/landing_placeholder.png"
49+
/*>>Description of feature image - alter this alongside the feature image.<<*/
50+
alt="Placeholder Picture"
5351
fill={true}
5452
/>
5553
</div>
@@ -70,7 +68,7 @@ export default function AboutPage() {
7068
<div className="relative h-[8.75rem] w-[8.25rem] overflow-hidden">
7169
<Image
7270
src={profilePic === null ? "/landing_placeholder.png" : profilePic}
73-
alt="/landing_placeholder.png"
71+
alt="Placeholder Picture"
7472
fill
7573
className="object-cover object-center"
7674
/>
@@ -140,9 +138,7 @@ export default function AboutPage() {
140138
</main>
141139
);
142140
} else {
143-
for (let i = 0; i < 8; i++) {
144-
committeeList.push(committee[i]);
145-
}
141+
committeeList.push(...committee.slice(0, 8));
146142
}
147143

148144
return (

0 commit comments

Comments
 (0)