Introduction

Thank you for purchasing our template!

Get started with FlexPack's components and options for laying out your own project, including a lot of components, powerful scripts, fully detailed documentation, and responsive design.

General description

FlexPack is an powerful and trendy Multipurpose HTML Template. The design of the template is fully responsive and highly optimized for mobile, so will adapt itself to any mobile or tablet device. FlexPack Template build with Bootstrap 4 and multiple components so you can build new pages very easy on their basis. Feel free to visit the preview link or contact us with a feature request.

File structure

A guide to understanding how FlexPack template is structured and organized.

  • app/ - source files
    • index.html - the main HTML page.
    • app.html - App & Software landing page.
    • product.html - product landing page.
    • personal.html - personal portfolio landing page.
    • about.html - about page for your business or project describing.
    • blog.html - page for add blog posts and events cards.
    • blog-post.html - blog post page.
    • coming-soon.html - coming soon page with count down timer.
    • contact.html - contact page with google map and working contact form.
    • faq.html - FAQ page.
    • signin.html - sign in page.
    • signup.html - sign up page.
    • slider.html - page with carousel slider header. Perfect for your service describing.
    • product.html - product landing page.
    • 404.html - 404 error page.
    • parallax.html - page with parallax image header.
    • video.html - page with video background header.
    • assets/
      • bootstrap/ - original Bootstrap files
      • css/ - compiled CSS files
      • fonts/ - font files
      • img/ - image files
      • js/ - JavaScript files
      • plugins/ - plugins
      • scss/ - source SASS files
      • video/ - video files
    • partials/ - HTML partials
    • documentation/
      • documentation.html
      • components.html
  • dist/ - ready for production files.
  • .gitignore
  • gulpfile.js
  • package.json

HTML Structure

This is the base of main HTML file:

<!doctype html>
<html lang="en">
  <head>
    @@include("partials/head.html", {
      "cssFile": "flexpack",
      "pageTitle": "FlexPack - Multipurpose Landing Pages Package"
    })
  </head>
  <body data-spy="scroll" data-target=".navbar">
    <!-- NAVBAR
    ================================================== -->
    @@include("partials/navbar-full.html", {
      "category": "headers",
      "page": "index.html"
    })
    <!-- MAIN CONTENT
    ================================================== -->
    ...
    <!-- FOOTER
    ================================================== -->
    @@include("partials/footer.html")
    <!-- JAVASCRIPT
    ================================================== -->
    @@include("partials/scripts.html")
  </body>
</html>

Compilation

Gulp is used to handle file compilation and other tasks. The following commands are available:

  • npm install - to download and install required dependencies
  • gulp - to start a new server and start watching for changes in HTML, JS and SASS files
  • gulp build - to compile SASS and HTML files, minify assets and prepare files for production

HTML includes

The gulp-file-include package is used to make global changes in HTML files easier. The following partials are available:

  • welcome.html - imports HTML with main page content.
  • head.html - imports the head of the page. Plugins CSS styles and main CSS file connects here. The following variables are available:
    • @@cssFile (string) - CSS file to import
    • @@pageTitle (string) - page title
  • navbar-full.html - imports the navbar with dropdowns. The following variables are available:
    • @@page (string) - currently active link.
    • @@category (string) - currently active dropdown menu.
  • navbar-app.html - imports the navbar for App landing page. No variables are available.
  • navbar-product.html - imports the navbar for Product landing page. No variables are available.
  • navbar-personal.html - imports the navbar for Personal portfolio landing page (include only brand logo and hamburger menu button). No variables are available.
  • navbar-documentation.html - imports the navbar for documentation page. No variables are available.
  • sidebar-menu.html - imports the sidebar menu (can include navigation links, social icons, text, images and the other content). No variables are available.
  • footer.html - imports the standard footer with 4 columns. No variables are available.
  • footer-dark.html - imports the footer with dark background and newsletter form. No variables are available.
  • footer-simple.html - imports the minimal footer with text and links (1 column). No variables are available.
  • scripts.html - import the scripts. Here connects plugins, third party scripts and main JS file. No variables are available.

Easily create new .html partials inside the /partials folder and point to them from any file by specifying the path to the partial file and using the @@include keyword.

Please read the official package documentation for more info.

Images

All images used in the template was downloaded from Unsplash.com and made via mockups that are free for both personal and commercial use.

Contact form

This template contains a fully functioning PHP contact form.

In order to set up the contact form, please follow the steps below:

  1. Open the config.php file and fill out the required information:
    • Your email address ($to_email) This is an email address new emails will be sent to.
    • Email subject ($mail_subject) This is a subject of new emails you will receive.
  2. Save config.php file.

MailChimp insrtuctions

A JS component to enable Mailchimp newsletter signups via AJAX. In order to make the form work, you need to find, modify and fill in the action URL of your Mailchimp newsletter campaign.

  1. Please follow the instructions here to find the action URL of your newsletter campaign. It should look something like http://xxxxx.us#.list-manage1.com/subscribe/post?u=xxxxx&id=xxxx.
  2. Replace post?u= with post-json?u=.
  3. Add &c=? at the end. Your string should now look something like http://xxxxx.us#.list-manage1.com/subscribe/post-json?u=xxxxx&id=xxxx&c=?.
  4. Replace the value of the action attribute in the form code below with the results.
<!-- Newsletter Form -->
<div id="mc_embed_signup">
  <form class="newsletter_form validate" action="//themeforest.us16.list-manage.com/subscribe/post-json?u=3c9679e26b601e1a87122b12f&id=e4b9351526&c=?" method="get" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" target="_blank" novalidate="">
    <div id="mc_embed_signup_scroll">
    <div class="mc-field-group form-group">
      <label for="mce-EMAIL" class="sr-only">E-mail address</label>
      <input type="email" value="" name="EMAIL" class="required email form-control newsletter_input" id="mce-EMAIL" placeholder="Email address">
    </div>
    <div id="mce-responses" class="clear">
      <div class="response"></div>
      <div class="response" id="mce-success-response"></div>
   </div>
    <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
    <div aria-hidden="true" id="mce-hidden-input">
      <input type="text" name="b_507744bbfd1cc2879036c7780_4523d25e1b" tabindex="-1" value="">
    </div>
    <div class="clear">
      <button type="submit" class="btn btn-outline text-light" id="mc-embedded-subscribe">
        <i class="far fa-paper-plane"></i>
      </button>
    </div>
    </div>
  </form>
</div> <!-- #mc_embed_signup -->

Changelog

Version 1.2.0 - August 19, 2018

  • Added:
    • Personal portfolio landing page
    • Sign in page
    • Sign up page
    • FAQ page
    • Blog and Events page
    • Blog post page
    • Cooming Soon page
    • New components
    • New navbar style
    • New color scheme
    • To the top button
    • Preloader
  • Changed:
    • Documentation and Components description on the different pages now
    • In testimonials card .card-testimonial-quote-footer changed to .media with .avatar component.

Version 1.1.0 - June 19, 2018

  • Added:
    • Product landing page
    • About page
    • Contact page
    • 404 page
    • Slider header
    • Parallax header
    • Video background header
    • Newsletter form powered by MailChimp
    • New components
    • New navbar and footer styles
    • New color scheme
  • Update:
    • Bootstrap version 4.1.1
    • Jquery library 3.3.1
    • popper.js 1.14.3
  • Fixed:
    • Bug with navbar height

Version 1.0.0 - May 17, 2018

  • Initial release