A modern portfolio website built with Next.js, Sanity CMS, and featuring an AI-powered chat assistant.
- 🎨 Modern, responsive design
- 📝 Content management with Sanity CMS
- 🤖 AI Chat Assistant powered by Google Gemini
- 💬 Real-time chat with contact collection
- 📊 Chat history tracking
- 🌙 Dark mode support
- ⚡ Built with Next.js 16 and React 19
The site includes an intelligent chat assistant that can answer questions about your skills, experience, and services. The AI is powered by Google's Gemini model and has full context about your CV/portfolio.
- Floating chat button in the bottom-right corner
- Contact information collection before chat starts
- AI responses based on your actual CV data
- Full conversation history saved to Sanity CMS
- Customizable AI personality and prompts
- See QUICK_START_AI_CHAT.md for testing instructions
- See AI_CHAT_SETUP.md for complete documentation
- Node.js 18+
- npm or yarn
- A Sanity account and project
- Google AI API key (for chat feature)
- Clone the repository
- Install dependencies:
npm install - Copy
.env.local.exampleto.env.localand fill in your values - Run the development server:
npm run dev - Open http://localhost:3000
- Access Sanity Studio at http://localhost:3000/studio
- Quick Start: AI Chat - Test the AI chat feature
- AI Chat Setup Guide - Complete AI chat documentation
- Never commit
.env.localor any file containing secrets - Use environment variables for all sensitive data
- The AI chat API route runs server-side only