Overview
Card components are specialized display components that present structured data in a consistent, visually appealing format. All card components are located insrc/components/cards/.
ProjectCard
Displays a project with an image, title, description, technologies, and links.Props
Project object with the following structure:
Project name
Brief project description
Project screenshot or logo (optional)
Array of technology names (e.g., [“React”, “TypeScript”])
URL to the GitHub repository
URL to the live website (optional)
Usage
Features
- Image with hover zoom animation
- Technology badges
- GitHub and website links with icons
- Hover effects (shadow, lift, color transition)
- Responsive layout
Example Data
BlogCard
Displays a blog post with title, description, publish date, and reading time.Props
Blog post object with frontmatter:
URL to the blog post
Post title
Post description or excerpt
Publication date (e.g., “Jan 15, 2024”)
Estimated reading time (e.g., “5 min read”)
Usage
Features
- Clickable card linking to full post
- Calendar and clock icons for metadata
- HTML description support
- Hover effects
Example Data
WorkExperienceCard
Displays work experience with company name, positions, duration, and technologies.Props
Work experience object:
Company name
Company website URL
Employment type:
"full-time", "part-time", "contract", "internship", or "volunteer"Array of technologies used (optional)
Usage
Features
- Type-based badge with icon (full-time, contract, etc.)
- Multiple positions support
- Technology badges
- Clickable card linking to company website
- Calendar icon for duration
Example Data
Type Configuration
Each employment type has a specific badge color and icon:- full-time: Green badge with briefcase icon
- part-time: Blue badge with clock icon
- contract: Gray badge with handshake icon
- internship: Orange badge with school icon
- volunteer: Red badge with heart icon
AchievementCard
Displays an achievement or recognition with an icon and title.Props
Usage
Features
- Large icon display
- Clickable card opening in new tab
- Centered layout
- Icon color transition on hover
Example Data
Common Features
All card components share these features:Base Card Component
They all use theCard UI component (see UI Elements) which provides:
- Rounded corners (
rounded-2xl) - Shadow effects with hover animation
- Lift effect on hover (
hover:-translate-y-1) - Smooth transitions
Hover Effects
- Shadow intensity increase
- Vertical lift animation
- Color transitions on text/icons
- Image zoom (ProjectCard)
Responsive Design
Cards work across all screen sizes:Related Components
UI Elements
Learn about the base Card, Badge, and Icon components
Sections
See how to organize cards into sections
