I have taken inspiration from the Link to create my portfolio.
- Updated from react framework to Vite.
- Why? Because Vite's hot reloading and page building is blazing fast than react framework.
- Added Docker Support
- Added Airbnb coding style with eslint and prettier
- Added CV Print Feature using marked package
A vscode inspired portfolio project
Checkout Original Source »
View Website
Table of Contents
The project is inspired by Visual Studio Code and caglarturali.github.io. The pages of the portfolio are powered by markdown
, which make them easy to modify or add your own contents.
-
Clone the repo
git clone https://github.com/rakimsth/portfolio.git
-
Install NPM packages
yarn
-
Enter your name in
.env.development
VITE_APP_NAME=<your_name>
-
Add your markdown pages in
public/pages
-
Add your routes in
src/app/pages/page.ts
, make sure the names of pages are consistent with markdown files.import { GiBinoculars } from 'react-icons/gi'; export const pages = [ { index: 0, name: 'overview.md', route: '/overview', icon: <GiBinoculars color="#D07000" />, }, { index: 1, name: 'skills.md', route: '/skills' }, { index: 2, name: 'experience.md', route: '/experience' }, { index: 3, name: 'education.md', route: '/education' }, { index: 4, name: 'projects.md', route: '/projects' }, { index: 5, name: 'certificates.md', route: '/certificates' }, { index: 6, name: 'accomplishments.md', route: '/accomplishments' }, ];
-
Add your social links in
src/app/pages/link.tsx
, which will appear in both sidebar and homepage.export const links = [ { index: 0, title: 'Find me on Github', href: 'https://github.com/rakimsth', icon: <FaGithub />, }, ];
-
Runs the app in the development mode
npm start
-
If you would like to deploy your own portfolio, Update .env file with the following
VITE_APP_NAME=<your_name>
- We have dockerfile in the project directory.
- Build the Docker Image
docker build -t portfolio .
- Run the docker image using the following command
docker run -it -d -p 80:80 portfolio
- Powered by markdown
- Dark mode and light mode available
- Closable tabs
- Collapsible explorer
- Responsive web design
- Auto-deploy to gh-pages with github actions ready
Raktim Shrestha - Personal Portfolio - rakimsth@gmail.com
Project Link: https://github.com/rakimsth/portfolio
- Change the
base
in vite.config.js - Update the
GIT URL
as well asCNAME
in deploy.sh file - Stay in root folder & run the following command to deploy
bash deploy.sh