@@ -152,35 +152,35 @@ const people = [{
152
152
} ,
153
153
] ;
154
154
155
- const TechnicalTeam = ( ) => {
155
+ const AlumniSection = ( ) => {
156
156
const [ executives , setExecutives ] = useState ( [ ] ) ;
157
- const [ projects , setProjects ] = useState ( [ ] ) ;
157
+ const [ teams , setTeams ] = useState ( [ ] ) ;
158
158
const [ activeTab , setActiveTab ] = useState ( '' ) ;
159
159
160
160
useEffect ( ( ) => {
161
161
// Put Contenful stuff here
162
162
fetchContent ( 'technicalTeam' ) . then ( ( ) => {
163
163
setExecutives ( people ) ;
164
164
165
- setProjects ( [ "Presidents" , "Events" , "Finance" , "Marketing" , "Tech" ] ) ;
165
+ setTeams ( [ "Presidents" , "Events" , "Finance" , "Marketing" , "Tech" ] ) ;
166
166
167
167
setActiveTab ( "Presidents" ) ;
168
168
} ) ;
169
169
} , [ ] ) ;
170
170
171
171
return (
172
- < section className = "bg-[#7055FD] p-12 md:min-h-screen h-full" >
173
- < div className = "mb-9 flex flex-row justify-center" >
172
+ < section className = "bg-[#7055FD] p-20 md:min-h-screen h-full" >
173
+ < div className = "mb-20 flex flex-row justify-center" >
174
174
< Image src = { GREEN_SIDE_LINES_DIR } width = { 30 } height = { 30 } alt = "" className = 'pb-16' />
175
175
< Heading underlineType = { UnderlineTypes . GREEN_SHORT_UNDERLINE } classes = { "text-white" } > Alumni</ Heading >
176
176
</ div >
177
177
< div >
178
- { projects . length > 0 && (
178
+ { teams . length > 0 && (
179
179
< Tabs
180
180
value = { activeTab } >
181
- < TabsHeader className = "flex flex-row justify-center" >
182
- { projects . map ( ( project ) => (
183
- < Tab className = { `alumni-tab rounded-full p-1 font-medium text-white ${
181
+ < TabsHeader className = "flex flex-row justify-center gap-4 pb-20 " >
182
+ { teams . map ( ( project ) => (
183
+ < Tab className = { `alumni-tab rounded-full p-2 font-medium text-white ${
184
184
activeTab === project
185
185
? 'bg-[#00D3A9]'
186
186
: ''
@@ -190,7 +190,7 @@ const TechnicalTeam = () => {
190
190
) ) }
191
191
</ TabsHeader >
192
192
< TabsBody >
193
- { projects . map ( ( project ) => (
193
+ { teams . map ( ( project ) => (
194
194
< TabPanel key = { project } value = { project } >
195
195
{ project === "Presidents" ? (
196
196
< div className = "text-white text-center text-xl font-semibold flex justify-center" >
@@ -208,4 +208,4 @@ const TechnicalTeam = () => {
208
208
) ;
209
209
} ;
210
210
211
- export default TechnicalTeam ;
211
+ export default AlumniSection ;
0 commit comments