Skip to content

Commit 8e2d743

Browse files
committed
chore: update Education component to use EducationTile
1 parent ff5eb78 commit 8e2d743

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/components/Education.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Link from 'next/link';
22

3-
import { RecordTile, RecordTileProps } from '@/components/Tiles/RecordTile';
3+
import { EducationTile } from '@/components/Tiles/EducationTile';
44
import BlurFade, { BLUR_FADE_DELAY } from '@/components/ui/BlurFade';
55
import { cn } from '@/lib/utils';
66

@@ -20,15 +20,7 @@ export function Education() {
2020
{/* TODO: Insert all courses using a recursive React component */}
2121
</p>
2222
);
23-
const uwrecord: RecordTileProps = {
24-
organizationLogo: '/images/uwaterlooLogo.png',
25-
organizationName: 'University of Waterloo',
26-
organizationLink: 'https://uwaterloo.ca/',
27-
role: 'Bachelor of Mathematics, Computational Mathematics Major',
28-
duration: 'Sept 2022 - Present',
29-
details: educationDetails,
30-
organizationBeforeRole: true,
31-
};
23+
3224
return (
3325
<section id="education" className="mb-12">
3426
<BlurFade delay={BLUR_FADE_DELAY * 7}>
@@ -42,7 +34,15 @@ export function Education() {
4234
</h2>
4335
</BlurFade>
4436
<BlurFade delay={BLUR_FADE_DELAY * 8}>
45-
<RecordTile {...uwrecord} />
37+
<EducationTile
38+
institutionLogo={'/images/uwaterlooLogo.png'}
39+
institutionName={'University of Waterloo'}
40+
institutionLink={'https://uwaterloo.ca/'}
41+
degree={'Bachelor of Mathematics'}
42+
major={'Computational Mathematics Major'}
43+
duration={'Sept 2022 - Present'}
44+
details={educationDetails}
45+
/>
4646
</BlurFade>
4747
</section>
4848
);

0 commit comments

Comments
 (0)