“Rebalance - Architecture portfolio” Documentation by “Sarvar Murad” v1.0


“Rebalance - Architecture portfolio HTML5 template”

Created: 05/03/2021
By: Sarvar Murad
Email: support@nicesquadthemes.com

Thank you for purchasing my theme. If you have any questions that are beyond the scope of this help file, please feel free to email via my work email here. Thanks so much!


Table of Contents

  1. File Structure
  2. Webpack Structure
  3. HTML Structure
  4. SCSS Files and Structure
  5. JavaScript
  6. Sources and Credits
  7. API Usage
  8. Any additional unique features that need an overview

A) File Structure - top

Theme mainly comes with 3 main folders

  1. "Build" folder is production folder, generated using webpack. All css and js codes are minified and optimized for the web

  2. "Src" folder is development folder, where you can do all the development stuff

  3. "Webpack" folder consist of all configurations for the development and production

  4. Babel configurations

  5. ESlint configurations

  6. JS-hint configurations

  7. Prettier configurations

  8. StyleLint configurations

  9. package.json configurations

  10. generated stat.json


B) Webpack Structure - top

What's included

Getting started

Commands

Find all the commands list in package.json folder

These are the included libraries in the project


C) HTML Structure - top

HTML files are configured using webpack, if you planning to create new HTML please refer to this source code, you can find it in webpack.development.js. Keep in mind that newly created HTML files has to be registered to the webpack.production.js too

All the inner pages are structured and located inside "inner" folder

Because theme uses virtual scroll it calculated the height of the elements, it is recommended to give proper height to components


D) SCSS Files and Structure - top

SCSS file structure is similar to initcss library

Please have a look at the library documentation
https://github.com/inuitcss/inuitcss/

Note: Please pay detailed information to ['stylesheet/settings', 'stylesheet/utilities', 'stylesheet/tools'] folders, all stylesheet logic is implemented within these folders


E) JavaScript - top

All JS files are located in src/scripts folder.

Theme heavily relies on the Locomotive Scroll. Please have a look to the documentation of the library, in src/scripts/controllers/locomotive-config.js it is initialized

Most js files are class based, and divided into components, you can have a look its structure

In order to enable smooth scrolling, you can do it by changing 'smooth:true' in src/scripts/controllers/locomotive-config.js


F) Credits - top

Most of the images which were used in the theme was copyrighted by Mohamed Abd Elnaby

Before using his portfolios in the theme, permission was asked. Please note that these images are not for commercial use

Images in Testimonial component [landing 2] were licensed by envato market and watermarked image will be provided, as i don't have privilige to use commercially

All human portaits are taken by Unsplash and Pexels


G) API Usage - top

Theme uses two types of API: Instagram and Google maps


Once again, thank you so much for purchasing this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.

Sarvar Murad

Go To Table of Contents