Welcome to the second iteration of my portfolio website, now enhanced with Next.js 14, Tailwind CSS, and Sanity CMS. This project is designed to be open source, allowing you to clone, customize, and deploy your own version with ease.
This is the second version of my portfolio website built with Next.js 14, Tailwind CSS, and Sanity CMS. You can see the live production version here. The project is set up for easy cloning and customization.
This project was inspired by Praha's Framer template. I used it as the primary design reference, building this project from scratch and customizing it to suit my needs and style.
- Next.js 14: The latest features and optimizations.
- Tailwind CSS: Rapidly build modern websites without ever leaving your HTML.
- Sanity CMS: A headless CMS to manage content with ease.
- TypeScript: Static type checking for better code quality.
- Framer Motion: An open-source motion library to power animations.
To get started with this project, you first need to set up a Sanity project. My default Sanity project is also open source and can be used as a reference for how the data should be structured. You can find it here.
- Node.js and npm/yarn installed on your machine.
- A Sanity project set up and configured. You can use V2 Sanity as a reference.
-
Clone the repository:
git clone https://github.com/Maiz27/v2.git cd v2
-
Install dependencies:
npm install # or yarn install
-
Create and configure the
.env
file:cp .env.example .env # Update .env with your Sanity project configuration
-
Run the development server:
npm run dev # or yarn dev
Open http://localhost:3000 with your browser to see the result.
The package.json
includes several scripts for common tasks:
{
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
}
}
dev
: Runs the development server.build
: Builds the application for production.start
: Starts the production server.lint
: Runs ESLint to lint your code.
Contributions are welcome! Please fork the repository and create a pull request with your changes. Ensure your code follows the project's style guidelines and passes all tests.
This project is open-source and available under the MIT License.