Skip to content

Commit 98a5d4b

Browse files
committed
styling
1 parent efc6ba5 commit 98a5d4b

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

components/AlumniSection.jsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -152,35 +152,35 @@ const people = [{
152152
},
153153
];
154154

155-
const TechnicalTeam = () => {
155+
const AlumniSection = () => {
156156
const [executives, setExecutives] = useState([]);
157-
const [projects, setProjects] = useState([]);
157+
const [teams, setTeams] = useState([]);
158158
const [activeTab, setActiveTab] = useState('');
159159

160160
useEffect(() => {
161161
// Put Contenful stuff here
162162
fetchContent('technicalTeam').then(() => {
163163
setExecutives(people);
164164

165-
setProjects(["Presidents", "Events", "Finance", "Marketing", "Tech"]);
165+
setTeams(["Presidents", "Events", "Finance", "Marketing", "Tech"]);
166166

167167
setActiveTab("Presidents");
168168
});
169169
}, []);
170170

171171
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">
174174
<Image src={GREEN_SIDE_LINES_DIR} width={30} height={30} alt="" className='pb-16'/>
175175
<Heading underlineType={UnderlineTypes.GREEN_SHORT_UNDERLINE} classes={"text-white"}>Alumni</Heading>
176176
</div>
177177
<div>
178-
{projects.length > 0 && (
178+
{teams.length > 0 && (
179179
<Tabs
180180
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 ${
184184
activeTab === project
185185
? 'bg-[#00D3A9]'
186186
: ''
@@ -190,7 +190,7 @@ const TechnicalTeam = () => {
190190
))}
191191
</TabsHeader>
192192
<TabsBody>
193-
{projects.map((project) => (
193+
{teams.map((project) => (
194194
<TabPanel key={project} value={project}>
195195
{project === "Presidents" ? (
196196
<div className="text-white text-center text-xl font-semibold flex justify-center">
@@ -208,4 +208,4 @@ const TechnicalTeam = () => {
208208
);
209209
};
210210

211-
export default TechnicalTeam;
211+
export default AlumniSection;

components/CoPresident.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const President = [[{
3030
name: "John Doe",
3131
position: "Co-Pres",
3232
year: "2025",
33-
currRole: "Events team",
33+
currRole: "current job",
3434
testimonial: "Vitae eget venenatis rhoncus aliquet curabitur mauris, sed turpis nulla. Neque molestie mi placerat ultrices sit in sit.",
3535
linkedin: "random link",
3636
pfp: {
@@ -47,7 +47,7 @@ const President = [[{
4747
name: "Jane Doe",
4848
position: "Co-Pres",
4949
year: "2025",
50-
previousRole: "Events team",
50+
currRole: "current job",
5151
testimonial: "Wow I love this club",
5252
linkedin: "random link",
5353
pfp: {

pages/our-team/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import UnderConstruction from '../../components/UnderConstruction';
2+
import AlumniSection from '../../components/AlumniSection';
23

34
const OurTeam = () => {
45
return (
56
<div>
67
{/* <MeetOurTeam />
78
<InternalTeam />
8-
<TechnicalTeam />
9-
<AlumniSection /> */}
9+
<TechnicalTeam /> */}
10+
<AlumniSection />
1011
<UnderConstruction />
1112
</div>
1213
);

0 commit comments

Comments
 (0)