The project is a working calculator made in the style of neomorphism.
The following technologies were used to create this project:
To develop the project through gulp, I used the following types of NPM plugins:
Plugin | Status | Description |
---|---|---|
gulp-sourcemaps | Intended for generation of css source maps which will be necessary at debugging of a code. |
|
gulp-imagemin | Minify PNG , JPEG , GIF and SVG images with imagemin |
|
gulp-autoprefixer | Prefix CSS with Autoprefixer |
|
imagemin-pngquant | Pngquant imagemin plugin |
|
gulp-uglify | Minify JavaScript with UglifyJS3 . |
|
gulp-rigger | Rigger is a build time include engine for Javascript , CSS , CoffeeScript . |
|
gulp-minify-css | Gulp plugin to minify CSS |
|
rimraf | The UNIX command rm -rf for node. |
|
gulp-watch | File watcher that uses super-fast chokidar and emits vinyl objects. | |
gulp-pug | This Gulp plugin enables you to compile your Pug templates into HTML or JS . |
|
gulp-sass | Compilation of sass and scss files |
|
browser-sync | Keep multiple browsers & devices in sync when building websites. |
app
- this repository is intended for files with the help of which the project is being developed. It is from this repository that all project files are compiled, which are later transferred to thedist
repository;dist
- this folder is a repository where files from theapp
repository are compiled;docs
- a repository intended for displaying the project on Github Pages servers.
-
app
- this repository is divided into several folders and files:-
image
- all images for the site are stored in the folder; -
js
- this folder consists of the main js file calledmain.js
folderpartial
inside which contains js files predlagaemye to initialize js plugins and the folderlibs
which contains js library; -
scss
- this folder consists of the main css file calledmain.scss
and the folderpartial
in which are contained the various scss files and folderlibs
containing the scss library; -
template
- the folder contains 2 fileshead.pug
andscripts.pug
and folderpartials
inside which there are various pug files consisting of page blocks. -
index.pug
- is the main file inside which page elements are created.
-
-
dist
- this repository is divided into several folders and files:-
image
- this folder stores minimized and processed images using gulp plugins such asgulp-imagemin
andimagemin-pngquant
; -
js
- this folder contains the main js file calledmain.js
which was compiled and minified using the pluginsgulp-rigger
andgulp-uglify
; -
css
- the folder contains the filemain.css
which contains all the basic styles of the page, the file has been compiled and and minified using the pluginsgulp-sass
andgulp-minify-css
. -
index.html
- the file is the main html document of the page that has been compiled and minimized fromindex.pug
file using the plugingulp-pug
.
-
-
gulpfile.js
- this file is a configuration file designed to run tasks assigned by the developer:html:dist
- this command is run through the console by writing itgulp html:dist
. This command is used to compilepug
files, minimize them and transferpug
files to thedist
repository;js:dist
- this command is run through the console by writing itgulp js:dist
. This command is used to compile a file using therigger
plugin, create asourcemap
, minimize the file, and transfer it to thedist
repository;style:dist
- this command is run through the console by writing itgulp style:dist
. This command is used to compilescss
files, minimize them, createsourcemap
, and transfer files to thedist
repository;image:dist
- this command is run through the console by writing itgulp image:dist
. Use this command to minimize and transfer images to thedist
repository;fonts:dist
- this command is run through the console by writing itgulp fonts:dist
. Use this command to move fonts to thedist
repository;dist
- this command is run through the console by writing itgulp dist
. This command is designed to run several commands at the same time, such as:html:dist
,js:dist
,style:dist
,image:dist
,fonts:dist
;watch
- this command is run through the console by writing itgulp watch
. Use this command to monitor file changes;webserver
- this command is run through the console by writing itgulp webserver
. This command is used to start the local web server;clean
- this command is run through the console by writing itgulp clean
. This command is used to clean up the repository;default
- this command is run through the console by writing itgulp default
.This command is used to run all tasks at the same time.
The image of the website:
- Gif
- Desktop Image
- Tablet Image
- Phone Image
414px
375px
320px