GithubHelp home page GithubHelp logo

developers81828182 / webstudio_responsive-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from website-templates/webstudio_responsive-template

0.0 1.0 0.0 2.04 MB

Free webstudio responsive website template

Home Page: http://website-templates.github.io/webstudio_responsive-template

License: MIT License

JavaScript 25.69% CSS 35.15% HTML 39.16%

webstudio_responsive-template's Introduction

Webstudio responsive website template - ARCHIVED

Nice website template coded by Maxim Orlov.

Demo: http://website-templates.github.io/webstudio_responsive-template

Mockup demo Product mockup created with http://frame.lab25.co.uk/

Contents

Folder and file structure

./
├── .editorconfig
├── gulpfile.js
├── package.json
├── README.md
|
├── gulp_tasks/                                * gulp tasks
|   ├── config/                                * gulp tasks config
│   |   ├── paths.js
│   |   └── aliases.js
│   |
|   └── task.js
|
├── screenshots/                               * responsive test screenshots
|
├── dev/                                       * site source
│   ├── images/                                * image sources
|   │
│   ├── pug/                                   * templates
|   |   ├── blocks/                            * blocks library
|   │   |   └── block.pug
|   │   ├── helpers/                           * helper mixins
|   │   ├── vendor/                            * third-party code
|   │   ├── layouts/                           * page layouts
|   │   └── pages/                             * main pages templates
|   │
|   ├── stylus/                                * stylus preprocessor styles
|   |   ├── blocks/                            * blocks library
|   │   |   └── block.styl
|   │   ├── helpers/                           * mixins and vars
|   │   ├── vendor/                            * third-party code
|   │   ├── custom.styl
|   │   ├── noscript.styl
|   │   └── screen.styl
|   │
│   ├── helpers/                               * helper files
|   |   ├── favicon.ico
|   |   └── .htaccess
|   │
│   ├── fonts/                                 * font sources
|   │
│   └── data/                                  * configs and data for templates
│
└── build/                                     * built source
    ├── index.html
    ├── page.html
    |
    └── static/                                * static assets
        ├── css/                               * minified styles
        |
        ├── images/                            * minified images
        |
        └── fonts/                             * @font-face-ready webfonts

Requirements

Editorconfig

This project has an .editorconfig file at the root. It describes indent style, trailing whitespaces etc. See more details here

How to start

If you haven't used Gulp before, be sure to check out the Getting Started guide, also check these recips

Before start you need to have installed npm , as well as gulp globally.

A few simple steps to start:

  • Install dependencies from package.json by running: npm install.
  • Run tasks from the list below and start devevelopment!
  • Edit general settings in dev/data/config.json See Site configuration section

Site configuration

This boilerplate uses Pug templates with external data configs. Main settings can be found in dev/data/config.json file. And they're available for usage in templates with config.key-name

Tasks

Here comes groups ofgulp tasks with some explanations

Cleanup

Remove placeholders from work directories. Gulp: gulp cleanup

  • Remove gitkeep files

Dev

Dev task with static server. Gulp: gulp dev

  • Compile Stylus stylesheets
  • Add vendor prefixes in css
  • Combine media queries in css files
  • Compile Pug templates
  • Sync helpers and other assets
  • Sync images
  • Run BrowserSync static server with live reload using
  • Watch for changes and run dev task

Build

Build task. Gulp: gulp build

  • Minify images
  • Minify stylesheets
  • Minify html
  • Run BrowserSync static server

Rebuild

Regenerate and build project by running all tasks. Gulp: gulp rebuild

  • Compile Stylus stylesheets
  • Add vendor prefixes in css
  • Combine media queries in css files
  • Compile Pug templates
  • Sync helpers and other assets
  • Sync images
  • Minify images
  • Minify stylesheets
  • Minify html

Server

Run server without watching for changes. Gulp: gulp server

  • Run BrowserSync static server

Live reload

This project uses BrowserSync as static server with enabled and configured live reload option.

License

MIT

webstudio_responsive-template's People

Contributors

orlovmax avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.