Make it your own
Umair Jibran
Umair Jibran
This template is created with Next.js and Tailwind CSS. The primary goal of this template is to provide a starting point for developers to build their portfolio and to have a place where they can post their thoughts.
Technology Used
- Next.js - React framework with hybrid static rendering.
- Tailwind CSS - A utility-first CSS framework.
- Markdown - To write blog posts.
- AntD - An enterprise-class UI design language and React UI library.
- Feather Icons - Simply beautiful open source icons.
- Remark HTML - To parse markdown in HTML.
- Gray Matter - Parse front-matter from a string or file.
- TypeScript - JavaScript with syntax for types.
Getting Started
To get started with this template, follow these steps:
- Clone this repository
- Run
npm install
to install the dependencies. - Run
npm run dev
to start the development server.
Folder Structure
The folder structure is organized as follows:
_blogs
└── make-it-your-own.md
public
├── assets
└── robots.txt
src
├── app
├── components
├── data
├── lib
├── styles
└── types
- _blogs - Contains the markdown files for the blog posts.
- public - Contains static.
- src - Contains the source code.
- app - Contains the pages/layouts.
- components - Contains all the components.
- data - Contains the json files that you can update to add your data.
- lib - Contains utility functions.
- styles - Contains custom CSS styles.
- types - Contains TypeScript types.
Customization
To customize this template, you can follow these steps:
- Update the
data
files in thesrc/data
directory. - Add new blog posts in the
_blogs
directory. (Don't forget to add your cover image in thepublic/assets/blogs/[blog-id]/
directory.) - Update the
src/styles
directory to add your custom styles. - Update the
src/components
directory to add new components.
Miscellaneous
- To change the favicon, update the
src/app/icon.png
file. - To update the site metadata, update the
data/meta.json
file. - I am using Umami for analytics. You can update the
data/umamiAnalytics.json
file with your owndataWebsiteId
. (it's free to use and open-source.) - I am using Azure for hosting. You can either create your static site on Azure, and add the environment variables in the
repo > settings > Secrets and variables > actions
or delete the.github/workflows/azure-static-web-apps-polite-river-0640ed603.yml
file and update it with your preferred tool.
Closing Thoughts
I hope this template helps you to get started with your portfolio. If you have any questions or suggestions, feel free to reach out to me on Linkedin or email.
Happy coding! 🚀 Please star this repository if you find it helpful.