Modern, performant portfolio built with Astro, featuring zero JavaScript by default and optimal performance.
Full-Stack Developer | KIIT '27 | Google Student Ambassador '25
- Static Site Generation: Lightning-fast load times
- Zero JS by Default: Only hydrate what's needed
- Content Collections: Type-safe project management
- Dark Mode: Seamless theme switching
- Optimized Fonts: Preloaded custom typography
- Responsive Design: Mobile-first approach
- Accessibility: WCAG compliant
- SEO Optimized: Structured data and meta tags
- Lighthouse Score: 100/100/100/100
- Bundle Size: <50KB total JavaScript
- First Contentful Paint: <1.2s
- Time to Interactive: <2.5s
- Website: https://mdsahil.me
- Sitemap: https://mdsahil.me/sitemap.xml
- Google Search Console: https://search.google.com/search-console
- Namecheap: https://www.namecheap.com
- Framework: Astro
- Language: TypeScript
- Styling: CSS with custom properties
- Deployment: Vercel/Netlify ready
npm install
npm run dev
npm run build
npm run previewsrc/
components/ Reusable Astro components
content/
projects/ Project markdown files
layouts/ Page layouts
pages/ Route pages
styles/ Global CSS
utils/ Helper functions
public/ Static assets
astro.config.mjs Astro configuration
- 90% JavaScript Reduction: From 195KB to <50KB
- Removed GSAP: Replaced with CSS animations
- Build-time GitHub Stars: No client-side API calls
- Component Architecture: Modular and maintainable
- TypeScript: Type-safe content and props
- Optimized Fonts: Preloaded and subsetted
Create a new .md file in src/content/projects/:
---
title: "Project Name"
description: "Project description"
tech: ["tech1", "tech2"]
github: "https://github.com/username/repo"
live: "https://example.com"
order: 1
---- Colors: Edit
src/styles/variables.css - Typography: Modify font in
src/styles/fonts.css - Animations: Update
src/styles/animations.css
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro help |
Get help using the Astro CLI |
MIT License
MD Sahil
- GitHub: @mdsahilnoob
- LinkedIn: mdsahilnoob
- Email: mds603052@gmail.com

