Overview
This component is built with Astro and features text content on one side with two animated mission cards, and a decorative SVG graphic on the other. All elements useScrollAnimation for progressive reveal effects.
Source Location
Props
This component does not accept any props. All content is hardcoded within the component.Usage
Basic Usage
Features
Multi-Level Animations
The component uses staggered animations for a polished entrance:- Main text content (0.2s delay) - Default fade-in-up
- First mission card (0.4s delay) - Slide from left (
x: -30) - Second mission card (0.6s delay) - Slide from left (
x: -30) - Visual graphic (0.3s delay) - Rotate effect (
rotate: -10to0)
Mission Cards
The component includes two mission cards with icons and text:-
Lo que queremos lograr (What we want to achieve)
- Icon: Circle with info symbol
- Content: Vision for local tech talent
-
A dónde apuntamos (Where we’re heading)
- Icon: Eye symbol
- Content: Impact goals beyond the municipality
SVG Graphic
Custom SVG visualization featuring:- Concentric circles at different opacities
- Three colored nodes (orange and green)
- Connecting lines between nodes
- Center text “CT” (Chitagá Tech)
Layout Structure
Responsive Behavior
- Mobile: Single column, vertical stack
- Tablet (768px+): Two columns - content (1fr) + graphic (auto), 5rem gap
- Mission cards stack vertically with 1rem gap
Styling Notes
Colors
- Background: White (
#ffffff) / Dark mode (#191919) - Badge: Green dark border / Orange border (dark mode)
- Title: Green dark / White (dark mode)
- Description text: Gray (
#4b5563) / Light gray (#d1d5dbdark mode) - Strong text: Green dark / Orange (dark mode)
- Icons: Orange (
--color-orange)
Card Hover Effects
Typography
- Badge:
--font-pop, 0.7rem, uppercase, letter-spacing - Title:
--font-montserrat, 700 weight, 1.75rem (mobile) to 2.25rem (tablet+) - Description:
--font-sans, 1rem, 1.7 line-height - Card headings:
--font-montserrat, 600 weight, 0.95rem - Card text:
--font-sans, 0.875rem
Content Structure
The hardcoded Spanish content explains:- Badge: “El porqué” (The why)
- Title: “Porque irse no debería ser la única opción”
- Description: Explanation of the problem and solution
- Mission cards: Goals and vision statements
Dependencies
ScrollAnimation.jsx- Animation wrapper component- Framer Motion (via ScrollAnimation)
- CSS custom properties defined in global styles
- SVG icons embedded inline
Accessibility
- Semantic HTML with proper heading hierarchy
- SVG elements use proper stroke and fill attributes
- Strong tags for emphasis in description text