1
1
import Link from 'next/link' ;
2
2
3
- import { RecordTile , RecordTileProps } from '@/components/Tiles/RecordTile ' ;
3
+ import { EducationTile } from '@/components/Tiles/EducationTile ' ;
4
4
import BlurFade , { BLUR_FADE_DELAY } from '@/components/ui/BlurFade' ;
5
5
import { cn } from '@/lib/utils' ;
6
6
@@ -20,15 +20,7 @@ export function Education() {
20
20
{ /* TODO: Insert all courses using a recursive React component */ }
21
21
</ p >
22
22
) ;
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
+
32
24
return (
33
25
< section id = "education" className = "mb-12" >
34
26
< BlurFade delay = { BLUR_FADE_DELAY * 7 } >
@@ -42,7 +34,15 @@ export function Education() {
42
34
</ h2 >
43
35
</ BlurFade >
44
36
< 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
+ />
46
46
</ BlurFade >
47
47
</ section >
48
48
) ;
0 commit comments