Click Here To view Demo
This portfolio is designed to be simple to use. Just follow these steps:
-
Clone the Repository:
git clone https://github.com/sreekesh-k/Free-Portfolio-Template-Base.git
-
Modify Placeholders:
- Open
index.htmland replace the placeholder content (text, images, links) with your own details. - Modify the assets in the
assets/folder as needed.
- Open
-
Deploy on GitHub Pages:
- Commit and push your changes to a GitHub repository.
- Go to your repository settings → Pages → Select the
mainbranch and/ (root)directory. - Save changes, and your portfolio will be live at
https://yourusername.github.io/your-repo/.
If you want to modify beyond just replacing placeholders, follow these steps:
This project uses TailwindCSS (version 3.4.17). To get started, initialize a new npm project and install TailwindCSS:
npm init -y
npm install -D tailwindcss@3.4.17Generate a TailwindCSS configuration file:
npx tailwindcss initModify tailwind.config.js to include custom fonts and content settings:
/** @type {import('tailwindcss').Config} */
export default {
content: ["./*.html"],
theme: {
extend: {
fontFamily: {
"popins-black": "popins-black",
"popins-bold": "popins-bold",
"popins-extrabold": "popins-extrabold",
"popins-extralight": "popins-extralight",
"popins-medium": "popins-medium",
"popins-semibold": "popins-semibold",
"popins-thin": "popins-thin",
"popins-regular": "popins-regular",
},
},
},
plugins: [],
};Run the following command to generate the final CSS:
npx tailwindcss -i input.css -o style.css --watchThis command watches for changes in input.css and compiles them into style.css.
If you are adding custom fonts, ensure that you include @font-face rules in input.css before compiling. Example:
@font-face {
font-family: "popins-semibold";
src: url("./assets/fonts/Poppins-SemiBold.ttf");
}After adding the font rules in input.css, compile Tailwind again using:
npx tailwindcss -i input.css -o style.css --watchBefore deploying, ensure that the font rules from input.css are copied into style.css, or else they will not take effect.
After making customizations, ensure that you ignore unnecessary files by adding the following to your .gitignore file:
node_modules/
package-lock.json
package.json
tailwind.config.jsThis will prevent unnecessary files from being pushed to your repository.
- HTML: Modify
index.htmlto replace placeholder content with your own. - CSS: Edit
anim.cssfor custom animations or modifyinput.cssif you are using Tailwind. - JavaScript: Modify
script.jsto add interactivity. - Assets: Replace the images and fonts in the
assets/folder as needed.
Feel free to fork the repository and submit pull requests for improvements.