@@ -16,11 +16,11 @@ const Theme1 = (props) => {
1616 const { awards } = themeData . awardData ;
1717 return (
1818 < >
19- < div id = "section-to-print" ref = { componentRef } >
20- < div id = "theme1" >
19+ < Box id = "section-to-print" ref = { componentRef } >
20+ < Box _dark = { { border : '1px solid white' } } id = "theme1" >
2121 { /* Personal Info */ }
2222 < header id = 'info' className = 'text-center mt-2' >
23- < Heading as = 'h2' size = '2xl' noOfLines = { 1 } >
23+ < Heading as = 'h2' size = '2xl' className = 'mb-2' >
2424 { name }
2525 </ Heading >
2626 < Text fontSize = 'md' className = 'text-muted my-1 ' >
@@ -34,35 +34,34 @@ const Theme1 = (props) => {
3434 </ header >
3535 { /* Skills Part */ }
3636 < section id = "skills" className = 'my-2' >
37- < Heading bg = { '#D2E4E1' } as = 'h3' size = 'md' px = { 20 } py = { 2 } >
37+ < Heading _dark = { { color : 'gray.800' } } bg = { '#D2E4E1' } as = 'h3' size = 'md' px = { 20 } py = { 2 } >
3838 TECHNICAL SKILLS
3939 </ Heading >
4040
4141 < Box id = 'skills-set' className = 'basic-set d-flex justify-content-center align-items-center' >
42- < div className = 'skillBox' >
42+ < Box className = 'skillBox' >
4343 {
4444 skill . split ( ',' ) . map ( ( element , index ) => < Badge key = { index } className = 'skill-badge' variant = 'solid' > { element } </ Badge > )
4545 }
46- </ div >
46+ </ Box >
4747 </ Box >
4848 </ section >
4949
5050 { /* Project Section */ }
5151 {
5252 ! checkProj &&
53-
5453 < section id = "projects" className = 'my-2' >
55- < Heading bg = { '#D2E4E1' } as = 'h3' size = 'md' px = { 20 } py = { 2 } >
54+ < Heading _dark = { { color : 'gray.800' } } bg = { '#D2E4E1' } as = 'h3' size = 'md' px = { 20 } py = { 2 } >
5655 PROJECTS
5756 </ Heading >
5857
5958 < Box id = 'project-set' className = 'basic-set' >
6059 {
6160 Object . entries ( projectTitles ) . map ( ( element , index ) => {
6261 return (
63- < div key = { index } className = "subBox" >
62+ < Box key = { index } className = "subBox" >
6463 < Text className = 'sub-title' > { element [ 1 ] } </ Text >
65- < div className = 'sub-details' >
64+ < Box className = 'sub-details' >
6665 {
6766 ( Object . entries ( projectDesc ) [ index ] === undefined )
6867 ?
@@ -72,8 +71,8 @@ const Theme1 = (props) => {
7271 return < li key = { index } > { element } </ li >
7372 } )
7473 }
75- </ div >
76- </ div >
74+ </ Box >
75+ </ Box >
7776 )
7877 } )
7978 }
@@ -84,17 +83,17 @@ const Theme1 = (props) => {
8483 { /* Education Part */ }
8584
8685 < section id = "education" className = 'my-2' >
87- < Heading bg = { '#D2E4E1' } as = 'h3' size = 'md' px = { 20 } py = { 2 } >
86+ < Heading _dark = { { color : 'gray.800' } } bg = { '#D2E4E1' } as = 'h3' size = 'md' px = { 20 } py = { 2 } >
8887 EDUCATION
8988 </ Heading >
9089
9190 < Box id = 'education-set' className = 'basic-set' >
9291 {
9392 Object . entries ( educationTitles ) . map ( ( element , index ) => {
9493 return (
95- < div key = { index } className = "subBox" >
94+ < Box key = { index } className = "subBox" >
9695 < Text className = 'sub-title' > { element [ 1 ] } </ Text >
97- < div className = 'sub-details' >
96+ < Box className = 'sub-details' >
9897 {
9998 ( Object . entries ( educationDesc ) [ index ] === undefined )
10099 ?
@@ -104,8 +103,8 @@ const Theme1 = (props) => {
104103 return < li key = { index } > { element } </ li >
105104 } )
106105 }
107- </ div >
108- </ div >
106+ </ Box >
107+ </ Box >
109108 )
110109 } )
111110 }
@@ -116,17 +115,17 @@ const Theme1 = (props) => {
116115 {
117116 ! checkWork &&
118117 < section id = "experience" className = 'my-2' >
119- < Heading bg = { '#D2E4E1' } as = 'h3' size = 'md' px = { 20 } py = { 2 } >
118+ < Heading _dark = { { color : 'gray.800' } } bg = { '#D2E4E1' } as = 'h3' size = 'md' px = { 20 } py = { 2 } >
120119 WORK EXPERIENCE
121120 </ Heading >
122121
123122 < Box id = 'experience-set' className = 'basic-set' >
124123 {
125124 Object . entries ( workTitles ) . map ( ( element , index ) => {
126125 return (
127- < div key = { index } className = "subBox" >
126+ < Box key = { index } className = "subBox" >
128127 < Text className = 'sub-title' > { element [ 1 ] } </ Text >
129- < div className = 'sub-details' >
128+ < Box className = 'sub-details' >
130129 {
131130 ( Object . entries ( workDesc ) [ index ] === undefined )
132131 ?
@@ -136,8 +135,8 @@ const Theme1 = (props) => {
136135 return < li key = { index } > { element } </ li >
137136 } )
138137 }
139- </ div >
140- </ div >
138+ </ Box >
139+ </ Box >
141140 )
142141 } )
143142 }
@@ -148,24 +147,24 @@ const Theme1 = (props) => {
148147 {
149148 ! checkAward &&
150149 < section id = "awards" className = 'my-2' >
151- < Heading bg = { '#D2E4E1' } as = 'h3' size = 'md' px = { 20 } py = { 2 } >
150+ < Heading _dark = { { color : 'gray.800' } } bg = { '#D2E4E1' } as = 'h3' size = 'md' px = { 20 } py = { 2 } >
152151 AWARDS & ACHIEVEMENTS
153152 </ Heading >
154153
155154 < Box id = 'award-set' className = 'basic-set d-flex justify-content-between align-items-center' >
156- < div >
155+ < Box >
157156 {
158157 awards . split ( ',' ) . map ( ( element , index ) => {
159158 return < li key = { index } > { element } </ li >
160159 } )
161160 }
162161
163- </ div >
162+ </ Box >
164163 </ Box >
165164 </ section >
166165 }
167- </ div >
168- </ div >
166+ </ Box >
167+ </ Box >
169168 </ >
170169 )
171170}
0 commit comments