Prerequisites
Before you begin, ensure you have the following installed:Node.js
Version 18.0 or higher recommended
npm
Comes bundled with Node.js
You can verify your installations by running:
Installation
Install Dependencies
Install all required packages using npm:This will install:
- astro (^5.7.13) - The core framework
- gsap (^3.14.2) - Animation library
- swiper (^11.2.6) - Slider component
- @fontsource-variable/onest (^5.2.8) - Typography
Configure Environment Variables
Create your environment file from the example:Edit
.env and add your Groq API key:Available Commands
All commands are run from the root of the project:Project Structure
Understand the key files and directories:The
src/pages/ directory uses file-based routing. Each .astro file becomes a route automatically.Basic Customization
Get started with these quick customizations:Update Profile Information
Editsrc/data/nico-profile.json with your own information:
Change Color Scheme
Update CSS custom properties insrc/layouts/Layout.astro:
Add Your Photos
Replace images in thepublic/ directory:
src/sections/hero.astro:
Modify Section Content
Each section is a separate component insrc/sections/:
hero.astro- Landing section with photo sliderhistory.astro- Professional backgroundskills.astro- Skills and technologiesworks.astro- Work experience/portfoliochatbot.astro- AI assistantcontact.astro- Contact information
Testing the AI Chatbot
Once your Groq API key is configured:Navigate to AI Chat Section
Scroll to the “Pregunta lo que necesites” section or click the AI Chat link in the navigation
Try Quick Questions
Click one of the pre-configured question buttons:
- Fortalezas (Strengths)
- CRM (CRM Experience)
- Contratar (Why Hire)
- Herramientas (Tools)
The chatbot has a 2-second cooldown between requests to prevent rate limiting. Responses are typically very fast thanks to Groq’s optimized inference.
Verifying Everything Works
Check that all features are functioning:Animations
Hero text should animate in on page load
Photo Slider
Swipe or click to navigate through photos
Glass Cursor
Custom cursor appears on desktop (1024px+)
AI Chatbot
Ask a question and receive a response
Scroll Effects
Sections reveal as you scroll down
Responsive Design
Resize browser to test mobile layouts
Troubleshooting
Port Already in Use
If port 4321 is already in use:AI Chatbot Not Responding
Test API Key
Verify your API key at console.groq.com
Animations Not Working
Check if “Reduce Motion” is enabled in your OS settings:- macOS: System Preferences → Accessibility → Display → Reduce motion
- Windows: Settings → Ease of Access → Display → Show animations
prefers-reduced-motion and disables animations when this preference is set.
Build Errors
Clear the cache and rebuild:Next Steps
Architecture Overview
Learn about the component structure and design patterns
AI Chatbot Deep Dive
Understand how the AI assistant works
Animation System
Master GSAP animations and effects
Deployment
Deploy your site to production
Ready to customize? Start by updating your profile information and photos, then explore the component structure to make deeper changes.