A world-class, interactive portfolio website built with cutting-edge technologies.
- Interactive 3D Hero Section - Built with React Three Fiber and Drei
- Smooth Animations - Powered by Framer Motion
- Glassmorphism Design - Modern, minimalist dark theme
- Custom Cursor - Animated cursor with hover states
- Content Management - Sanity.io CMS integration
- Performance Optimized - Next.js with App Router and SSG
- Responsive Design - Mobile-first approach with Tailwind CSS
- Framework: Next.js 14 with App Router
- Styling: Tailwind CSS
- Animation: Framer Motion
- 3D Graphics: React Three Fiber & Drei
- State Management: Zustand
- CMS: Sanity.io
- Deployment: Vercel
-
Install Dependencies
npm install
-
Set up Environment Variables Create a
.env.localfile with:NEXT_PUBLIC_SANITY_PROJECT_ID=your_sanity_project_id NEXT_PUBLIC_SANITY_DATASET=production SANITY_API_TOKEN=your_sanity_api_token -
Set up Sanity Studio
npx sanity init
Follow the prompts to create your Sanity project.
-
Run the Development Server
npm run dev
-
Open your browser Navigate to http://localhost:3000
src/
├── app/ # Next.js App Router
│ ├── globals.css # Global styles
│ ├── layout.tsx # Root layout
│ └── page.tsx # Home page
├── components/
│ ├── 3d/ # Three.js components
│ ├── layout/ # Layout components
│ ├── projects/ # Project-related components
│ ├── sections/ # Page sections
│ └── ui/ # UI components
├── lib/ # Utilities and configurations
│ ├── sanity.ts # Sanity client
│ ├── store.ts # Zustand store
│ └── utils.ts # Utility functions
└── types/ # TypeScript type definitions
The portfolio uses Sanity for content management with the following schema:
- Project: Contains project details, images, descriptions, and links
- Custom fields: Cover images, tags, live URLs, and GitHub links
This project is configured for automatic deployment to GitHub Pages:
-
Manual Build & Export
npm run export -
Automatic Deployment
- Push to
mainbranch triggers GitHub Actions - Static files are automatically built and deployed
- Available at:
https://skullfire07.github.io/[repository-name]
- Push to
-
Build the project
npm run build
-
Deploy to Vercel
- Connect your GitHub repository to Vercel
- Add environment variables in Vercel dashboard
- Deploy automatically on push to main branch
- Animated geometric shapes with mouse interaction
- Particle system with dynamic lighting
- Smooth camera movements and transitions
- Masonry layout with staggered animations
- Custom hover effects with shader-like visuals
- Integration with Sanity CMS for dynamic content
- Mobile-first approach
- Touch-friendly interactions
- Optimized for all screen sizes
- Lighthouse Score: 95+ across all metrics
- First Contentful Paint: < 1.5s
- Largest Contentful Paint: < 2.5s
- Cumulative Layout Shift: < 0.1
- Chrome 90+
- Firefox 88+
- Safari 14+
- Edge 90+
This is a personal portfolio project. For suggestions or issues, please open a GitHub issue.
MIT License - feel free to use this as inspiration for your own portfolio!