Overview
The hero section includes:- Badge component - Visual indicator at the top
- Welcome card - Displays name and professional description
- Photo slider - Swiper-powered card-style carousel with images and videos
- Video controls - Sound toggle for video slides
- CTA buttons - Download CV and LinkedIn profile links
File Location
Key Features
Swiper Integration
The hero section uses Swiper.js with the Cards Effect to create a modern, interactive photo slider:Media Configuration
The photo slider supports both images and videos. Media items are defined in the frontmatter:Video Handling
Videos in the slider include automatic playback control and a sound toggle button:Conditional Rendering
The slider conditionally renders either video or image based on the media type:Call-to-Action Buttons
Two prominent CTA buttons are provided:- Download CV - Download PDF resume
- View LinkedIn - Link to LinkedIn profile
Styling
The hero section features:- Square aspect ratio slider (1:1)
- Cards effect with shadows and rotation
- Glassmorphism video controls with backdrop blur
- Custom pagination bullets with primary color
- Hover animations on CTA buttons
Accessibility
aria-labelattributes on interactive buttonsplaysinlineattribute for mobile video compatibilityrel="noopener noreferrer"on external links- Custom pagination is keyboard accessible and clickable
Dependencies
Components Used
Badget.astro- Badge component at the topWelcomeCard.astro- Name and description card
Related Sections
- History Section - Professional background
- Contact Section - Contact information