@@ -48,8 +48,10 @@ This is the Python CDMX community website built with MkDocs Material. The site s
4848- ** Variables-first approach** : All colors, transitions, and spacing use CSS custom properties
4949- ** MkDocs Material integration** : Leverages native variables (`var(--md-primary-fg-color)`)
5050- ** Responsive design** : Single breakpoint at 768px for mobile
51- - ** Component-based** : Clear separation of concerns
52- - ** Heavily optimized** : Eliminated duplications, reduced code by 35%
51+ - ** Component-based** : Clear separation of concerns with dedicated sections
52+ - ** Maintainable selectors** : Uses semantic classes instead of hardcoded identifiers
53+ - ** Optimized structure** : Consolidated media queries, unified transitions
54+ - ** Heavily optimized** : Eliminated duplications, consistent variable usage
5355
5456### Component Classes
5557
@@ -60,13 +62,17 @@ This is the Python CDMX community website built with MkDocs Material. The site s
6062
6163#### Cards & Content
6264- `.participation-card` - Large centered icons with call-to-action buttons
65+ - `.year-card` - Annual summaries with specialized styling and hover effects
66+ - `.stat-card` - Statistics display cards
67+ - `.volunteer-card` - Individual volunteer profile cards with badges and social links
6368- `.community-highlight` - Special highlighted sections
6469- `.upcoming-events` - Event highlight sections
6570
6671#### Navigation & Buttons
6772- `.action-buttons` - Hero button containers
6873- `.btn` , `.btn-primary` - Standard action buttons (green)
6974- `.btn-nav` - Discrete navigation buttons (minimal style )
75+ - `.btn-action` - Volunteer card action buttons (outline style )
7076- `.quick-navigation` - End-of-page navigation grid
7177- `.quick-navigation-title` - Navigation section titles
7278
@@ -75,6 +81,32 @@ This is the Python CDMX community website built with MkDocs Material. The site s
7581- `.community-link` - Individual social platform buttons with hover effects
7682- Specific classes: `.telegram` , `.meetup` , `.youtube` , `.github` , `.instagram` , `.linkedin`
7783
84+ #### Volunteer System (Optimized & Maintainable)
85+ - `.volunteer-card` - Main volunteer profile container with grid layout
86+ - `.volunteer-header` - ** NEW** : Maintainable class for hiding TOC headers
87+ - `.card-header` - Two-column grid: info on left, avatar/social on right
88+ - `.card-info` - Left column with name, subtitle, and badges
89+ - `.card-title` - Volunteer names (h3 elements within cards)
90+ - `.card-subtitle` - Role descriptions with proper hierarchy
91+ - `.badges-container` - Flex container for role badges
92+ - `.badge` - Discrete role badges with semi-transparent backgrounds
93+ - `.badge .ambassador` - Green theme for ambassadors
94+ - `.badge .organizer` - Blue theme for organizers
95+ - `.badge .production` - Orange theme for production roles
96+ - `.badge .host` - Purple theme for event hosts
97+ - `.badge .technical` - Gray theme for technical support
98+ - `.badge .support` - Brown theme for general support
99+ - `.badge .global` - Pink theme for global representation
100+ - `.badge .strategic` - Indigo theme for strategic roles
101+ - `.avatar-section` - Right column with circular avatar and social icons
102+ - `.volunteer-avatar` - 100px circular images with hover scale effect
103+ - `.social-icons` - Flex container for social media links
104+ - `.social-icon` - Individual social platform buttons
105+ - `.card-content` - Main content area with role details
106+ - `.card-role` - Container for role title , description, and contributions
107+ - `.role-title` - Uppercase, prominent role titles
108+ - `.role-description` - Italic, lighter role descriptions
109+
78110## Development Workflow
79111
80112### CSS Modifications
@@ -154,6 +186,51 @@ palette:
154186</div >
155187```
156188
189+ ### Volunteer Cards (Modern Design with TOC Navigation)
190+ ```markdown
191+ ### Volunteer Name {.volunteer-header }
192+
193+ <!-- Volunteer Name -->
194+ <div class="volunteer-card ">
195+ <div class="card-header ">
196+ <div class="card-info ">
197+ <h3 class="card-title "> Volunteer Name</h3 >
198+ <p class="card-subtitle "> Role description</p >
199+ <div class="badges-container ">
200+ <span class="badge ambassador"> Embajador</span >
201+ <span class="badge organizer"> Organizador</span >
202+ </div >
203+ </div >
204+ <div class="avatar-section ">
205+ <img src="/images/voluntarios/avatar.jpg" alt="Volunteer Name" class="volunteer-avatar lazy-image " loading="lazy">
206+ <div class="social-icons ">
207+ <a href="#" class="social-icon linkedin" target="_blank"> <i class="fab fa-linkedin "> </i > </a >
208+ <a href="#" class="social-icon github" target="_blank"> <i class="fab fa-github "> </i > </a >
209+ </div >
210+ </div >
211+ </div >
212+ <div class="card-content ">
213+ <div class="card-role ">
214+ <span class="role-title "> MAIN ROLE TITLE</span >
215+ <span class="role-description "> Detailed role description</span >
216+ <strong > Contribuciones principales:</strong >
217+ <ul >
218+ <li > Contribution item 1</li >
219+ <li > Contribution item 2</li >
220+ </ul >
221+ </div >
222+ </div >
223+ </div >
224+ ```
225+
226+ ** Key Features:**
227+ - `{.volunteer-header }` automatically hides the h3 but keeps TOC functionality
228+ - Two-column grid layout with responsive design
229+ - Circular avatars with hover effects
230+ - Discrete badges with role-specific colors
231+ - Social icons grouped below avatar
232+ - Structured role information with title/description separation
233+
157234### Button Types
158235```html
159236<!-- Primary action buttons -->
@@ -216,13 +293,19 @@ palette:
216293- ** Typography** : Uses clamp() for responsive scaling
217294
218295## Maintenance Notes
219- - CSS file currently ~ 450 lines (optimized from 692 lines )
296+ - CSS file currently optimized and organized ( ~ 800+ lines, multiple optimizations )
220297- All social media colors centralized in variables
221- - Unified button system with three variants (primary, standard, navigation)
298+ - Unified button system with four variants (primary, standard, navigation, action )
222299- Single responsive breakpoint for consistency
223300- Dark/light mode handled automatically by MkDocs Material variables
224301- Community links use brand-specific colors with smooth hover transitions
225302- Participation cards use large centered icons for modern appearance
303+ - Year cards with specialized styling and gradient hover effects
304+ - ** NEW** : Comprehensive volunteer system with modern grid layout
305+ - ** NEW** : Maintainable ` .volunteer-header ` class eliminates hardcoded names
306+ - ** NEW** : Discrete badge system with 8 role types and consistent styling
307+ - ** NEW** : Two-column responsive design with avatar/social integration
308+ - Complete responsive design for all card types with mobile-first approach
226309
227310## Critical Information for New Developers
228311
@@ -252,13 +335,33 @@ palette:
252335- ** Complex styling** : If requires 5+ CSS rules, consider a new class
253336- ** Brand consistency** : Always check existing patterns before creating new styles
254337
338+ ### Volunteer System Best Practices
339+ - ** Always use ` .volunteer-header ` ** : Never hardcode names in CSS selectors
340+ - ** Badge consistency** : Use predefined badge classes (ambassador, organizer, etc.)
341+ - ** Image optimization** : Volunteer avatars should be 200x200px minimum, optimized
342+ - ** Social links** : Include LinkedIn and GitHub at minimum, add others as needed
343+ - ** Role structure** : Use ` .role-title ` for main role, ` .role-description ` for details
344+ - ** Responsive design** : Test two-column layout on mobile (becomes single column)
345+ - ** TOC navigation** : Ensure all volunteer headers work with table of contents
346+
255347### Integration Points
256348- ** MkDocs Material** : Uses ` extra_css ` in mkdocs.yml to load custom.css
257349- ** FontAwesome** : Loaded via CDN import in CSS file
258350- ** Component System** : Uses ` --8<-- ` syntax for markdown includes
259351- ** Color System** : Inherits from mkdocs.yml palette configuration
260352
261353## Recent Major Updates
354+
355+ ### Latest Optimizations (Current)
356+ - ** Volunteer System Redesign** : Complete overhaul with modern two-column layout
357+ - ** Maintainable Architecture** : New ` .volunteer-header ` class eliminates hardcoded name lists
358+ - ** CSS Optimization** : Consolidated variables, eliminated duplications, unified media queries
359+ - ** TOC Navigation** : Seamless integration of volunteer cards with table of contents
360+ - ** Badge System** : Comprehensive role identification with discrete, color-coded badges
361+ - ** Avatar System** : Circular images with hover effects and integrated social icons
362+ - ** Grid Layout** : Responsive design with mobile-first approach
363+
364+ ### Previous Major Updates
262365- Complete CSS optimization (35% code reduction)
263366- New community motto component with decorative quotes
264367- Modernized participation cards with centered icons
@@ -267,6 +370,8 @@ palette:
267370- Consolidated media queries into single responsive section
268371- Eliminated unused gradients and duplicate code
269372- Added quick navigation component for page endings
373+ - Year cards with specialized hover effects and color coding
374+ - Complete responsive design updates for all components
270375
271376## Working with Claude AI
272377
@@ -301,7 +406,17 @@ Please refer to the CLAUDE.md file for project guidelines and existing patterns.
3014063 . ** Use existing patterns** - Check similar components before creating new ones
3024074 . ** Follow CSS structure** - Add new styles in the appropriate section
3034085 . ** Test responsive** - Verify 768px breakpoint behavior
304- 6 . ** Attach this file to Claude** - Use this memory for consistency and guidance
409+ 6 . ** Use ` .volunteer-header ` ** - For any volunteer-related TOC headers
410+ 7 . ** Follow badge system** - Use predefined badge classes for volunteer roles
411+ 8 . ** Attach this file to Claude** - Use this memory for consistency and guidance
412+
413+ ## Adding New Volunteers (Step-by-Step)
414+ 1 . ** Add volunteer image** to ` docs/images/voluntarios/ ` (200x200px minimum)
415+ 2 . ** Use the volunteer card template** from this file
416+ 3 . ** Add ` .volunteer-header ` class** to the markdown header
417+ 4 . ** Choose appropriate badges** from the predefined badge system
418+ 5 . ** Test TOC navigation** to ensure proper functionality
419+ 6 . ** Verify responsive design** on mobile devices
305420
306421## Project Continuation Checklist
307422- [ ] CLAUDE.md file read and understood
0 commit comments