Overview
This component is built with Astro and presents projects in an engaging card-based layout with staggered animations. Cards feature hover effects and technology tags to highlight the tech stack.Source Location
Props
This component does not accept any props. All content is hardcoded within the component.Usage
Basic Usage
Features
Staggered Card Animations
Each project card animates with an incremental delay:- Header: 0.2s delay
- Card 1: 0.3s delay
- Card 2: 0.4s delay
- Card 3: 0.5s delay
Project Cards
Three hardcoded projects:-
Portal Educativo Chitagá
- Icon: Monitor/display symbol
- Tech: Astro, React, Node.js
- Educational platform
-
Mapa Digital de Chitagá
- Icon: Map pin/location symbol
- Tech: Leaflet, TypeScript, API REST
- Digital map of local businesses and tourism
-
App de Gestión Agrícola
- Icon: Layers/stack symbol
- Tech: React Native, Firebase, IoT
- Agricultural management app
Layout Structure
Responsive Behavior
Grid Layout
- Mobile: Single column, flex vertical, 2rem gap
- Small (640px+): 2-column grid, 1.5rem gap
- Large (1024px+): 2-column grid, 2rem gap
- XL (1280px+): 3-column grid, 2rem gap
Styling Notes
Colors
- Background: White (
#ffffff) / Dark mode (#191919) - Card background: White / Dark mode (
rgba(255, 255, 255, 0.04)) - Card border:
rgba(0, 0, 0, 0.08)/ Dark mode (rgba(255, 255, 255, 0.08)) - Image placeholder background:
#f3f4f6/ Dark mode (rgba(255, 255, 255, 0.06)) - Tag background: Orange tint (
rgba(185, 58, 5, 0.08))
Card Hover Effects
Image Placeholder
- Height: 180px fixed
- Background: Light gray with centered SVG icon
- Icon size: 3rem × 3rem
- Icon color: Gray (
#9ca3af) / Dark mode (#6b7280)
Technology Tags
flex-wrap: wrap and 0.5rem gap.
Typography
- Badge:
--font-pop, 0.7rem, uppercase, green/orange - Title:
--font-montserrat, 700 weight, 1.75rem → 2.25rem (tablet+) - Subtitle:
--font-sans, 1rem, gray, max-width 520px - Card heading:
--font-montserrat, 600 weight, 1.05rem - Card text:
--font-sans, 0.875rem, 1.65 line-height - Tags:
--font-pop, 0.7rem, 500 weight
Card Anatomy
Image Section
Body Section
Content Structure
Hardcoded Spanish content:- Badge: “Hecho en Chitagá” (Made in Chitagá)
- Title: “Proyectos que resuelven problemas reales de aquí”
- Subtitle: Explanation that these are real tools, not academic exercises
- Cards: Three local projects with descriptions and tech stacks
Section Spacing
Dependencies
ScrollAnimation.jsx- Animation wrapper component- Framer Motion (via ScrollAnimation)
- CSS custom properties defined in global styles
- Inline SVG icons for placeholders
Customization Ideas
To make this component reusable with props:Accessibility
- Semantic HTML structure
- Proper heading hierarchy
- SVG icons as decorative elements
- Readable text contrast
- Card structure allows keyboard navigation