Samar

Samar - Creative Agency Bootstrap HTML Template

Samar

Samar - Creative Agency Bootstrap HTML Template

This documentation is last updated on 30 April 2022

Thank you for purchasing this HTML template.

If you like this template, Please support us by rating this template with 5 stars

Sass Compile -

1.- Install Node.js

To compile Sass via the command line first, we need to install node.js. The easiest way is downloading it from the official website nodejs.org open the package and follow the wizard.

2.- Initialize NPM

NPM is the Node Package Manager for JavaScript. NPM makes it easy to install and uninstall third party packages. To initialize a Sass project with NPM, open your terminal and CD (change directory) to your project folder.

npm init

Once in the correct folder, run the command npm init. You will be prompted to answer several questions about the project, after which NPM will generate a package.json file in your folder.

3.- Install Node-Sass

Node-sass is an NPM package that compiles Sass to CSS (which it does very quickly too). To install node-sass run the following command in your terminal: npm install node-sass

npm install node-sass

4.- Write Node-sass Command

Everything is ready to write a small script in order to compile Sass. Open the package.json file in a code editor. You will see something like this:

In the scripts section add an scss command

"scripts": {
  "scss": "node-sass --watch scss/main.scss css/style.css"
},

5.- Run the Script

To execute our one-line script, we need to run the following command in the terminal: npm run scss

npm run scss

Folder Directories -

  • images

    This folder contains all the images of Samar template.

  • fonts

    This folder font files for various template features.

  • css

    This folder contains all the CSS files of Samar template.

  • js

    This folder has all javascript files for various template features.

  • vendor

    This folder has all plugins used in the template.

  • script

    This folder has all script contact form used in the template.

  • scss

    Scss File

Html File -

  • index.html

    Home Page 1

  • index-2.html

    Home Page 2

  • index-3.html

    Home Page 3

  • about-us-1.html

    About us 1

  • about-us-2.html

    About us 2

  • about-us-3.html

    About us 3

  • blog-details-1.html

    blog details 1

  • blog-details-2.html

    blog details 2

  • blog-details-3.html

    blog details 3

  • blog-grid-2.html

    blog grid 2

  • blog-large-left-sidebar.html

    blog large left sidebar

  • blog-large-right-sidebar.html

    blog large right sidebar

  • contact-us-1.html

    contact us 1

  • contact-us-2.html

    contact us 2

  • contact-us-3.html

    contact us 3

  • faq-1.html

    faq 1

  • faq-2.html

    faq 2

  • faq-3.html

    faq 3

  • pricing-table-1.html

    pricing table 1

  • pricing-table-2.html

    pricing table 2

  • pricing-table-3.html

    pricing table 3

  • services-1.html

    services 1

  • services-2.html

    services 2

  • services-3.html

    services 3

  • team-1.html

    team 1

  • team-2.html

    team 2

  • team-3.html

    team 3

  • post-audio.html

    Post audio

  • post-gallery.html

    Post gallery

  • post-gallery-alternative.html

    Post gallery alternative

  • post-header-image.html

    Post header image

  • post-left-sidebar.html

    Post left sidebar

  • post-link.html

    Post link

  • post-open-gutenberg.html

    Post open gutenberg

  • post-pagination.html

    Post pagination

  • post-pagination.html

    Post pagination

  • post-side-image.html

    Post side image

  • post-slide-show.html

    Post slide show

  • post-standard.html

    Post standard

  • post-video.html

    Post video

HTML Structure

1

Header

2

Footer

3

Footer Essentials

4

Contact Form Handler -

8

Share Button -

8

reCAPTCHA -

8

Register your website and get Secret Key.

Very first thing you need to do is register your website on Google recaptcha to do that click here.

Login to your Google account and submit the form.

8

Once submit, Google will provide you following two information.

  • Site key
  • Secret key

Integrate Google reCAPTCHA in your website.

To integrate it into your website you need to put it in client side as well as in Server side. In client HTML page you need to integrate this line before HEADtag.

10

And to show the widget into your form you need to put this below contact form, comment form etc.

10

When the form get submit to Server, this script will send ‘g-recaptcha-response’ as a POST data. You need to verify it in order to see whether user has checked the Captcha or not.

Sample project

Here is the HTML code for the simple form with comment box and submit button. On submit of this form we will use PHP in back-end to do the Google reCAPTCHA validation.

8

This will generate this form.

8

On server side i am using PHP for now. So on Form submit request we will check the POST variable.

8

try out the demo to see how it works.

AddThis -

Please Sign Up

https://www.addthis.com/register
16 16

Do You Need Help To Customization

After Purchase A Template...

You Will Start Customizing According Your Requirement
BUT What If You Don't Know

SOLUTION IS HIRE DexignZone

Hire Same Team For Quality Customization

  • We Will Customize Template According To Your Requirement
  • We Will Upload On Server And Make Sure Your Website is Live

Version History - #back to top

30 April 2022

  • Improvement : HTML File Improvement
  • Improvement : Design Issues Resolved
  • Update : contact_smtp.php
  • Added : team-detail-1.html
  • Added : team-detail-2.html
  • Added : team-detail-3.html
  • Added : company-history.html

10 December 2021

  • Updates : Bootstrap v5
  • Updates : FontAwesome Icons
  • Improvement : JS File Improvement

16 April 2021

  • Update : All Pages Design
  • Added : 12 Post Layout Pages
  • Improvement : HTML File Improvement
  • Improvement : Css File Improvement
  • Improvement : Js File Improvement

05 Febuary 2021

  • Improvement : HTML File Improvement
  • Improvement : Css File Improvement
  • Improvement : Js File Improvement
  • Added : Swiper Js
  • Added : coming-soon.html
  • Added : sitedown.html
  • Added : error-404.html

10 December 2020

  • New - Created & Upload Samar