How blessedzulu/portfolio works
Project type and purpose
• This is a static personal portfolio website built from scratch using plain HTML, SASS/CSS and JavaScript.
• It uses GSAP for animations, Barba.js for page transitions, and Parcel as the build tool.
• The final artifacts are deployed to Netlify as a static site.
File structure
• Top-level files and configuration:
– package.json, package-lock.json (npm dependencies)
– .parcelrc, .postcssrc, .prettierrc, svgo.config.json (build tool configs)
– netlify.toml, static/_redirects, static/robots.txt, static/sitemap.xml (deployment configs)
• src directory (source):
– HTML pages (index.html, about.html, contact.html, etc.)
– assets (fonts, images, page-specific asset folders)
– js directory (index.js entry point for animations/transitions)
– sass directory (structured into abstracts, base, components, layout, pages, vendors)
• static directory (build output/published assets mirror)
README for additional insights
• Development flow:
1. npm install
2. npm start (Parcel dev server)
• Build flow (implicit): parcel build → static folder updated
• Hosting: deploy static folder to Netlify
Details and essential elements
• Config files feeding into the build (parcelrc, postcssrc, svgo.config)
• Asset folders and how they are processed/copied
• Optimization steps (e.g., image svg optimization, CSS autoprefixing)