Shubham's Portfolio
A fully responsive portfolio website for showcasing machine learning engineering work, projects, blogs, and GitHub activity. Built with Vue 3 and Element Plus, styled with a custom PrismML design system — warm paper palette, structural borders, angular CTAs.
Live: https://strcoder4007.github.io/portfolio/
Features
- Fully responsive — horizontal and vertical: adapts cleanly from 375 px mobile up to 1440 px+ desktop, including short viewports where the sidebar would otherwise overflow behind the header.
- Two-column sticky layout — fixed sidebar with intro / contact, scrollable content rail for projects, blogs, etc.
- Project filtering — tag-based tabs (
All / AI-ML / Web / Algo) filter the project list.
- Blog support — per-project blog entries and a dedicated Blogs section.
- GitHub stats section — embeds GitHub readme stats, top languages, streak, and contribution graph.
- Element Plus overrides — message toasts, button styles, etc. themed to match the PrismML palette.
- Static deployment — builds directly to
docs/ for GitHub Pages.
Tech Stack
- Framework: Vue 3 (Composition API + Options API)
- UI Library: Element Plus
- Router: Vue Router 4
- Build: Vue CLI (Webpack 5)
- Styling: SCSS + CSS custom properties,
sass + sass-loader
Getting Started
Requirements: Node.js v20+
# Clone
git clone https://github.com/strcoder4007/portfolio.git
cd portfolio
# Install dependencies
npm install
# Dev server (opens at http://localhost:8080/portfolio/)
npm run dev
# Lint
npm run lint
# Production build (outputs to docs/)
npm run build
Project Structure
portfolio/
├── src/
│ ├── App.vue # Root: NavBar + router-view; defines PrismML palette
│ ├── main.js # Entry: mounts Vue + ElementPlus + router
│ ├── router/index.js # Route definitions
│ ├── assets/ # Fonts, project images
│ └── components/
│ ├── NavBar.vue # Fixed top navigation, mobile hamburger menu
│ ├── LandingPage.vue # Two-column sticky grid (sidebar + content rail)
│ ├── PortfolioPage.vue
│ ├── ShimmerImage.vue
│ └── sections/
│ ├── IntroSection.vue # Sidebar content (role, contact, bio, CTAs)
│ ├── ProjectsSection.vue # allProjects list + tabs + cards
│ ├── BlogsSection.vue
│ ├── AboutSection.vue
│ ├── GithubSection.vue
│ └── project/ # TabsComponent, LandingComponent (project cards)
├── public/ # Static assets (favicon, index.html template)
├── docs/ # Production build output (served by GitHub Pages)
├── docs-md/ # Extended developer documentation
│ ├── ARCHITECTURE.md
│ ├── COMPONENTS.md
│ ├── CONTENT_GUIDE.md
│ ├── DEPLOYMENT.md
│ └── DEVELOPMENT.md
├── generate_favicon.py # Regenerates favicon from the PrismML palette
├── vue.config.js # publicPath: '/portfolio/', outputDir: 'docs'
└── package.json
Design System — PrismML
The palette and structural tokens are defined in src/App.vue (:root block) and consumed across every component.
| Token |
Hex |
Use |
--color-bg |
#E9E4E0 |
Page background (warm paper) |
--color-bg-alt |
#E2DDD8 |
Sidebar background |
--color-text |
#262C35 |
Primary text, structural borders |
--color-text-dim |
#5A606B |
Secondary / body text |
--color-border |
#262C35 |
Structural borders |
--color-accent |
#CFBEBE |
Brand mark, link accents |
--color-accent-dim |
#B8A8A8 |
Hover states |
--color-surface |
#FFFFFF |
Card surfaces |
Typography: --font-heading (Space Grotesk → Bricolage → Brandon), --font-body (Bricolage → Space Grotesk), --font-mono (JetBrains Mono).
CTAs use an angular clip-path (--clip-arrow) and the structural-border neo-brutalist style; the favicon mirrors the same palette and ◆ brand mark used in the navbar.
Deployment
The build outputs to docs/ (configured in vue.config.js):
npm run build
For GitHub Pages:
- Push to the repository (the
docs/ folder is committed).
- In the repo settings, set Pages → Source to
Deploy from a branch → main → /docs.
- The site is served at
https://<user>.github.io/portfolio/ (the publicPath: '/portfolio/' in vue.config.js makes asset URLs resolve correctly under the project URL).
Customizing
- Edit project entries in
src/components/sections/ProjectsSection.vue (allProjects array).
- Replace profile image / project images in
src/assets/.
- Update intro content in
src/components/sections/IntroSection.vue.
- Tweak palette tokens in
src/App.vue :root block.
- Regenerate the favicon to match any palette change:
python3 generate_favicon.py.
- Rebuild:
npm run build.
Contact
Shubham Singh
Open to AI Engineering roles.
License
MIT — see LICENSE.