Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import FAQ from './components/FAQ'
import Concepts from './pages/Concepts'
import BackToTopButton from './components/Backtotop'
import OurMission from './components/OurMission'
import MentorList from './components/MentorList';

function ScrollToTop() {
const { pathname } = useLocation()
Expand Down Expand Up @@ -42,13 +43,15 @@ export default function App() {
<LearningPath />
<Storyboards />
<Mentors />

<SummerOfAI />
<Contribute />
<FAQ />
</>
} />
<Route path="/our-mission" element={<OurMission />} />
<Route path="/concepts" element={<Concepts />} />
<Route path="/mentorlist" element={<MentorList />} />
</Routes>
</main>
<Footer />
Expand Down
64 changes: 64 additions & 0 deletions src/components/MentorList.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
import React from 'react'
import { mentors, avatarStyles } from '../data/mentors'

function MentorList() {
return (
<section className="min-h-screen py-16 px-6 lg:px-16 bg-white">

<h1 className="text-4xl font-bold mb-10 mt-5">
All Mentors
</h1>

<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">

{mentors.map((mentor) => (
<div
key={mentor.id}
className="rounded-3xl p-6 border transition-all duration-200 hover:-translate-y-1 hover:bg-white"
style={{
borderColor: 'var(--border)',
background: 'var(--cream)'
}}
>

{/* Avatar */}
<div
className="rounded-full flex items-center justify-center text-white font-bold mb-4"
style={{
...avatarStyles[mentor.avatarColor],
width: 80,
height: 80
}}
>
{mentor.initials}
</div>

<h2 className="text-xl font-bold mb-1">
{mentor.name}
</h2>

<p className="text-sm mb-3 text-gray-500">
{mentor.role}
</p>

<p className="italic text-sm mb-4">
"{mentor.advice}"
</p>

<a
href={mentor.linkedin}
target="_blank"
rel="noopener noreferrer"
className="text-purple-600 font-bold"
>
Connect on LinkedIn →
</a>
</div>
))}

</div>
</section>
)
}

export default MentorList
5 changes: 4 additions & 1 deletion src/components/Mentors.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { mentors, avatarStyles } from '../data/mentors'
import {Link} from 'react-router-dom';
import MentorList from './MentorList';


export default function Mentors() {
return (
Expand All @@ -8,7 +11,7 @@ export default function Mentors() {
<div className="section-label">Role Models</div>
<h2 className="section-title">Women who've walked<br />this path before you</h2>
</div>
<a href="#" className="btn-secondary hidden md:inline-flex">See all mentors →</a>
<Link to="/mentorlist" className="btn-secondary hidden md:inline-flex">See all mentors →</Link>
</div>

<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-5">
Expand Down
27 changes: 6 additions & 21 deletions src/components/SummerOfAI.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useState } from "react";
import { HighlightedText } from './Tooltip'

const features = [
{
Expand Down Expand Up @@ -35,7 +34,7 @@ export default function SummerOfAI() {
return (
<section
id="summer"
className="py-16 lg:py-24 px-5 sm:px-8 lg:px-16 relative overflow-hidden"
className="py-24 px-16 relative overflow-hidden"
style={{ background: 'var(--purple)' }}
>
{/* Big background year text */}
Expand Down Expand Up @@ -75,11 +74,8 @@ export default function SummerOfAI() {
<br />
Summer of AI
</h2>
<p
className="text-lg leading-relaxed font-light mb-8"
style={{ color: "rgba(255,255,255,0.75)", maxWidth: 480 }}
>
<HighlightedText text="An open source program where girls contribute to real AI projects, get mentored by women in the industry, and earn a certificate that actually means something." />
<p className="text-lg leading-relaxed font-light mb-8" style={{ color: 'rgba(255,255,255,0.75)', maxWidth: 480 }}>
An open source program where girls contribute to real AI projects, get mentored by women in the industry, and earn a certificate that actually means something.
</p>
<button
onClick={() => SetBtn(true)}
Expand Down Expand Up @@ -130,24 +126,13 @@ export default function SummerOfAI() {
>
<span className="text-2xl flex-shrink-0">{icon}</span>
<div>
<h4
className="font-display font-bold text-sm mb-1"
style={{ color: "white" }}
>
{title}
</h4>
<p
className="text-xs leading-relaxed font-light"
style={{ color: "rgba(255,255,255,0.65)" }}
>
<HighlightedText text={description} />
</p>
<h4 className="font-display font-bold text-sm mb-1" style={{ color: 'white' }}>{title}</h4>
<p className="text-xs leading-relaxed font-light" style={{ color: 'rgba(255,255,255,0.65)' }}>{description}</p>
</div>
</div>
))}
</div>
</div>
</section>

);
)
}