A modern and fully responsive personal portfolio template built with Next.js 13, featuring advanced animations, secure email functionality, and seamless performance across devices.
- Latest Next.js 13 Features: Leverages App Router, Server Actions, and Client/Server Components.
- TypeScript Integration: Ensures type safety and maintainability.
- Tailwind CSS: For modern and responsive UI design with light/dark mode support.
- Framer Motion: Adds smooth animations and transitions for enhanced user engagement.
- Email API Integration: Secure email functionality using React.Email and Resend with robust form validation.
- Custom React Hooks: For efficient state management and modularity.
- 100% Responsive Design: Optimized for mobile, tablet, and desktop devices.
- Performance Optimizations: Achieves a Lighthouse performance score of 95+ and an average load time of <100ms.
To get started with the project locally:
- Node.js version 18 or later
- Package manager of your choice (npm, yarn, or pnpm)
-
Clone the repository:
git clone https://github.com/your-username/portfolio.git cd portfolio
-
Install dependencies:
npm install # or yarn install # or pnpm install
Start the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 in your browser to view the project.
To build the project for production:
npm run build
Start the production server:
npm start
Run the project locally to test responsiveness, performance, and features:
- Email Functionality: Fill out the contact form to test email delivery via the Resend API.
- Responsive Design: Test the UI on different devices and screen sizes.
- Light/Dark Mode: Toggle between themes to ensure proper styling.
portfolio/
├── app/
│ ├── layout.tsx # Layout component
│ ├── page.tsx # Main page component
├── components/ # Reusable UI components
├── styles/ # Global styles and Tailwind CSS configuration
├── public/ # Static assets (e.g., images)
├── lib/ # Custom hooks and utility functions
├── email/ # Email templates for React.Email
└── package.json # Project configuration
- Next.js 13: Framework for server-side rendering and static site generation.
- TypeScript: Type-safe programming.
- Tailwind CSS: Utility-first CSS framework.
- Framer Motion: Library for animations.
- React.Email: Email template rendering.
- Resend: Email delivery API.
Contributions are welcome! Feel free to fork the repository and submit a pull request.
- Fork the project.
- Create a feature branch (
git checkout -b feature-name
). - Commit your changes (
git commit -m 'Add feature-name'
). - Push to the branch (
git push origin feature-name
). - Open a pull request.
This project is licensed under the MIT License.
Feel free to customize and adapt this template for your own use!