Features
The Pirson Dev Portfolio is packed with modern features that create an engaging user experience. Here’s a detailed look at what makes this portfolio stand out.Multilingual Support
Full internationalization powered by i18next and react-i18next, supporting three languages out of the box.English
Complete English translations
Spanish
Full Spanish language support
French
French translations included
Language Switcher Component
The customLangSwitcher component provides:
- Flag-based selection with SVG flag icons
- Automatic route translation when switching languages
- Hover dropdown menu for quick language changes
- LocalStorage persistence to remember user preferences
- Smooth animations with Framer Motion
The language switcher intelligently translates routes, so
/about-me in English becomes /sobre-mi in Spanish.Dark Mode & Theme Switching
A sophisticated theme system with smooth transitions and system preference detection.Theme Features
Theme System Details
Theme System Details
ThemeSwitcher Component Features:
- System preference detection using
prefers-color-schememedia query - LocalStorage persistence to save user theme preference
- Smooth transitions with custom CSS transition classes
- Animated icon toggle with scale and opacity animations
- Tailwind dark mode integration for consistent styling
Smooth Page Transitions
Every page navigation includes fluid animations powered by Framer Motion (motion v12).Animation System
The portfolio implements a spring-based animation system for page transitions:The
AnimatePresence component with mode="wait" ensures the previous page fully exits before the new one enters.Animation Features
- Fade in/out with opacity transitions
- Vertical slide with Y-axis transforms
- Blur effect for depth perception
- Spring physics for natural motion feel
Interactive UI Components
The portfolio includes several custom UI components built for engagement and usability.1. Floating Dock Navigation
A macOS-inspired dock navigation system:- Icon-based navigation using Tabler Icons
- Active state indication with color changes
- Hover effects for visual feedback
- Responsive design adapts to mobile and desktop
2. Timeline Component
A scroll-based timeline perfect for career history and education:- Scroll-triggered animations using Framer Motion’s
useScroll - Progress indicator that fills as you scroll
- Sticky titles for easy reference
- Responsive layout for mobile and desktop
- Gradient effects with violet theming
Timeline Implementation
Timeline Implementation
The Timeline component uses advanced Framer Motion hooks:This creates a smooth progress line that animates as the user scrolls through timeline entries.
3. Layout Text Flip
Animated text that cycles through multiple words:- Word rotation with smooth transitions
- Customizable word list via i18next translations
- Automatic cycling with configurable intervals
- Color animations matching the theme
4. Social Icon Links
Interactive social media icons with enhanced UX:- Hover tooltips showing the platform name
- Copy-to-clipboard functionality for email
- Scale animations on hover and tap
- Success feedback when copying
- Download support for CV/resume
The email icon includes smart clipboard functionality - clicking copies the email and shows a “Copied!” message.
Glassmorphism Design
Modern glassmorphism effects throughout the UI:- Backdrop blur for depth and layering
- Semi-transparent backgrounds with opacity control
- Border styling with adaptive colors for light/dark modes
- Shadow effects for elevation
Responsive Design
Fully responsive layout using Tailwind CSS 4:Mobile First
Optimized for mobile devices with touch-friendly interactions
Desktop Enhanced
Enhanced layouts and features for larger screens
- Breakpoint-based layouts using Tailwind’s responsive utilities
- Adaptive typography with responsive text sizing
- Touch-optimized interactions for mobile devices
- Grid layouts that adapt to screen size
Performance Features
Vite 7 Build System
- Lightning-fast HMR for instant development feedback
- Optimized production builds with code splitting
- Modern ESM for native browser support
- Asset optimization for images and static files
React 19 Features
- Latest React features for optimal performance
- Concurrent rendering for smooth UI updates
- Automatic batching for efficient state updates
Analytics Integration
Built-in Vercel Analytics support:- Page view tracking automatically configured
- Performance monitoring for Core Web Vitals
- Zero configuration when deployed to Vercel
- Privacy-friendly analytics without cookies
Developer Experience
ESLint Configuration
Pre-configured ESLint with React-specific rules:- React Hooks rules to enforce best practices
- React Refresh plugin for HMR compatibility
- Modern JavaScript linting with latest standards
TypeScript Support
Partial TypeScript integration:- TypeScript UI components for type safety
- JSX components for flexibility
- Gradual adoption path for full TypeScript migration
Components like
timeline.tsx and FloatingDock.tsx are written in TypeScript, while page components use JSX for rapid development.Utility Libraries
Class Management
- clsx - Conditional class name composition
- tailwind-merge - Intelligent Tailwind class merging
- class-variance-authority - Variant-based component styling
Icon Libraries
Multiple icon libraries for maximum flexibility:- @tabler/icons-react (v3.35.0) - Primary icon set
- lucide-react (v0.544.0) - Alternative icons
- react-icons (v5.5.0) - Community icon packs
Customization
The portfolio is highly customizable:Customization Options
Customization Options
Colors & Theming:
- Modify Tailwind CSS configuration
- Update CSS custom properties for gradients
- Customize component color schemes
- Edit translation files in
src/locales/ - Update page components in
src/pages/ - Add new routes to
App.jsx
- Extend UI components in
src/components/ui/ - Create new components following existing patterns
- Integrate additional animation effects