hyp0th3rmi4 / portfolio-website

Personal website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Portfolio Website

This website has been built by using the theme prologue by Pixelarity. The original version of the code has been modified to include all the goodies that we would like to have in web application:

  • image minification
  • js minification and bundling
  • css styling
  • packaging via webpack

The configuration of the package.json file has been inspired by these two tutorials:

Javascript linting has been limited to the index.js file only because all the other Javascript files are already minified and are not compliant with es6.

In order to make the previous javascript files work with webpack I also had to modify its configuration to ensure that the scripts that expose global functions are properly imported and referenced among files. This is necessary for the inclusion of:

  • jquery.min.js used by the other files.
  • breakpoints.min.js used by the main.js file.

Additional fixes to the CSS have been added to include accreditation to the images taken from Unsplash.

Image minification has been implemented via imagemin-webpack-plugin and copy-webpack-plugin since the minification via the suggested method by Jonas Duri, was only working for images directly referenced in assets processed through the loaders and did not pick the images that were statically referenced in templates in handlebars.

About

Personal website

License:Apache License 2.0


Languages

Language:SCSS 58.5%Language:JavaScript 32.9%Language:Handlebars 8.6%