File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { RecordTile } from '@/components/Tiles/RecordTile' ;
2
+
3
+ export type EducationTileProps = {
4
+ institutionLogo : string ;
5
+ institutionName : string ;
6
+ institutionLink : string ;
7
+ degree : string ;
8
+ major : string ;
9
+ duration : string ;
10
+ details ?: React . ReactNode ;
11
+ } ;
12
+
13
+ export function EducationTile ( {
14
+ institutionLogo,
15
+ institutionName,
16
+ institutionLink,
17
+ degree,
18
+ major,
19
+ duration,
20
+ details,
21
+ } : EducationTileProps ) {
22
+ const combinedDegreeNameAndMajor = degree . concat ( ', ' ) . concat ( major ) ;
23
+ return (
24
+ < RecordTile
25
+ organizationLogo = { institutionLogo }
26
+ organizationName = { institutionName }
27
+ organizationLink = { institutionLink }
28
+ role = { combinedDegreeNameAndMajor }
29
+ duration = { duration }
30
+ body = { details }
31
+ organizationBeforeRole = { true }
32
+ />
33
+ ) ;
34
+ }
You can’t perform that action at this time.
0 commit comments