Documentation

Introduction

Get start with Techwind. Launch your campaign and benefit from our expertise on designing and managing conversion centered Tailwind CSS html page.

Techwind is a Powerful Tailwind CSS Multipurpose Landing Page Template. It is an excellent HTML template for startup, cloud hosting, business, corporate, minimal portfolio single product (Smartwatch) , Saas, Social media marketing, Digital marketing/agency, Email Templates, Marketing, Agency, Careers and Jobs, Helpcenter, and much more.

Setup HTML

Introduction

We are using gulp which allows having complete automation for build flow. In case if you don't know Gulp then it's easy to use it. Gulp is a toolkit for automating painful or time-consuming tasks in the development workflow, so you can stop messing around while building any project. You can read it more about it here. Please follow below steps to install and setup all prerequisites:

Prerequisites

Please follow below steps to install and setup all prerequisites:

  • Yarn

    Make sure to have the Yarn installed & running in your computer. If you already have installed Yarn on your computer, you can skip this step. We suggest you to use Yarn instead of NPM.

  • Nodejs

    Make sure to have the Node.js installed & running in your computer. If you already have installed Node on your computer, you can skip this step if your existing node version is greater than 16.

  • Gulp

    Make sure to have the Gulp installed & running in your computer. If you already have installed gulp on run command npm install -g gulp from your terminal.

  • Git

    Make sure to have the Git installed globally & running on your computer. If you already have installed git on your computer, you can skip this step.

Installation

To setup the admin theme, follow below-mentioned steps:

  • Install Prerequisites

    Make sure to have all above prerequisites installed & running on your computer

After you finished with the above steps, you can run the following commands into the terminal / command prompt from the root directory of the project to run the project locally or build for production use:

Command Description
yarn install This would install all the required dependencies in the node_modules folder.
gulp Runs the project locally, starts the development server and watches for any changes in your code, including your HTML, javascript, sass, etc. The development server is accessible at http://localhost:3000.
gulp build Generates a /dist directory with all the production files.

Folder & File Structure

├── dist folder
├── src folder
    ├── assets
        ├── fonts
        ├── images
        ├── js
        ├── php (for contact form)
        └── scss (Update)
            ├── custom
                ├── components
                ├── pages
                ├── icons
                └── structure
            ├── icons.scss
            ├── tailwind.scss
            └── icons.scss
    ├── partials
        ├── footer
            └── All Footer partials html files
        ├── navbar
            └── All Navbar partials html files
        ├── head-css.html
        ├── main.html
        ├── cookies.html
        ├── switcher.html
        ├── script-file.html
        └── title-meta.html
    └── all html pages
├── gulpfile.js (Update)
├── package.json (Update)
├── postcss.config.js (Update)
├── tailwind.config.js (Update)
└── yarn.lock
CSS

Files are explained below:

File Description
CSS You use icons.css and tailwind.css.
Dark Version In order to have Dark mode enabled, only add dark class in HTML tag like, <html class="dark" lang="en">
RTL Version In order to have RTL mode enabled, Please changes in the src/partials/main.html file update the html tag like <html class="dark scroll-smooth" lang="en" dir="ltr">

How to change the color in Techwind?

It's easy to change your color if your color is indigo-600 to another (red-600, red-400, orange-700, etc. as your theme primary color) please check and read the below link to the customizing colors docs, https://tailwindcss.com/docs/customizing-colors

How to change the fonts family in Techwind?

Please first of all open the tailwind.config.js and please create your google fonts name in the module.exports > theme > fontFamily
For example: 'rubik': ['"Rubik", sans-serif'], add your Google fonts like the above example.

Menu style for Landing Page Template

Right Side Navbar Menu

If you use right side navbar menu so please use src/partials/navbar/nav-right.html

otherwise

If you directly use dist file so please just add one class justify-end along with navigation-menu

Left Navbar Menu

If you use left side navbar menu so please use src/partials/navbar/nav-left.html

otherwise

If you directly use dist file so please just add one class justify-start along with navigation-menu

Light Navbar Menu

If you use Light menu so please use src/partials/navbar/nav-center-light.html

otherwise

If you directly use dist file so please just add one class nav-light along with navigation-menu

Light with Left Navbar Menu

If you use Light with Left side navbar menu so please use src/partials/navbar/nav-left-light.html

otherwise

If you directly use dist file so please just add two class justify-start nav-light along with navigation-menu

Light with Right Navbar Menu

If you use Light with Right side navbar menu so please use src/partials/navbar/nav-right-light.html

otherwise

If you directly use dist file so please just add two class justify-end nav-light along with navigation-menu

LTR RTL