0 murdered in 0 days. Ceasefire now 🇵🇸

Make it your own

Cover Image for Make it your own
Umair JibranUmair 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:

  1. Clone this repository
  2. Run npm install to install the dependencies.
  3. 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:

  1. Update the data files in the src/data directory.
  2. Add new blog posts in the _blogs directory. (Don't forget to add your cover image in the public/assets/blogs/[blog-id]/ directory.)
  3. Update the src/styles directory to add your custom styles.
  4. 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 own dataWebsiteId. (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.

The source code isavailable on GitHub
© 2024 All rights reserved. Made with 🖤 by Umair Jibran.