This is my personal website and portfolio, built with Next.js, shadcn/ui, and magic ui, deployed on Vercel.
- Showcases my personal projects, skills, and experiences
- Includes a blog where I share my thoughts and insights
- Responsive design for optimal viewing on different devices
- Built using Next.js 14, React, Typescript, Shadcn/UI, TailwindCSS, Framer Motion, Magic UI
- Optimized for performance with Next.js and Vercel
The website can be easily customized by editing the single config file to reflect your own information and preferences.
To run this website locally:
-
Clone this repository:
git clone https://github.com/ameyxd/portfolio
-
Navigate to the project directory:
cd portfolio
-
Install dependencies:
pnpm install
-
Start the development server:
pnpm dev
-
Open the Config file and customize it with your personal information
This project is licensed under the MIT license.
- Create new MDX file in
content/posts/your-post.mdx
- Add frontmatter with required metadata:
--- title: Your Post Title publishedAt: YYYY-MM-DD description: Brief description tags: [tag1, tag2] ---
- Place images in
content/images/
directory - Reference in MDX:
![alt text](/images/your-image.jpg)
pnpm test:all
pnpm dev
-
Create new branch for your post:
git checkout -b post/your-post-name
-
Commit changes:
git add . git commit -m "post: add new blog post about X"
-
Push and test build:
git push origin post/your-post-name
-
Create PR to master
- Wait for build to pass
- Review preview
- Merge to master
-
Master branch will automatically:
- Build
- Deploy to GitHub Pages
- Process images
master
: Production-ready code onlydevelop
: Integration branch for featurespost/*
,feature/*
: Individual branches from develop
-
Ensure develop is stable
git checkout develop git pull origin develop pnpm ci:local git push origin develop # Wait for GitHub Actions to pass
-
Create new branch
git checkout -b post/your-post-name # or git checkout -b feature/your-feature
-
Work on changes
- Add/edit content
- Test locally with
pnpm dev
- Run
pnpm ci:local
to test build (optional - will run automatically on push)
-
Commit and push
git add . git commit -m "post: add new blog post about X" git push origin post/your-post-name
Note: Pre-push hook will automatically run CI checks before pushing
-
Create Pull Request
- Create PR from your branch to
develop
- Wait for GitHub Actions to pass
- Get review if needed
- Merge to develop
- Create PR from your branch to
-
Final Production Deploy
- Once develop is stable, create PR from develop to master
- Wait for GitHub Actions to pass
- Merge to master for production deployment
-
Cleanup
git checkout develop git pull origin develop git branch -d post/your-post-name
- Local CI checks run automatically before each push
- GitHub Actions run on PRs to develop and master
- Builds must pass before merging
- Master branch deploys automatically to production