Giter Club home page Giter Club logo

2019.nodejsday.it's Introduction

Conference site

Edit contents

Conference data

All dynamic data is ONLY inside _data folder

Page contents

Every content page is inside _includes/page-name-folder

Frontend code

CSS and JavaScript source code are inside _frontend folder

  • CSS: _frontend/frontsize
  • JavaScript: _frontend/js

The source code is built inside /css and /js folder in the root of the project.


Installation

Ensure to have Jekyll installed with this command:

sudo gem install jekyll

Install nodejs and the components you need:

npm install && cp node_modules/dustman/gulpfile.js .

Build

HTML

To build the site with HTTP server:

jekyll serve

CSS and JavaScript

Now you can watch your CSS build with this:

./node_modules/.bin/gulp watch -S --config dustman-conference-name.yml

CSS and JavaScript + view HTML pages

./node_modules/.bin/gulp -S --config dustman-conference-name.yml && jekyll serve

For test the local view go to http://127.0.0.1:4000


How to add HTML contents

To add contents without edit SASS, create a page in the root path and write code with this simple widgets.

Page wrapper

Wrap contents inside this page wrapper:

<div class="limit">
  wrapped contents
</div>

Page huge title

This will show a huge title in the center of the page:

<div class="intro intro--no-height">
  <h1 class="intro__title">Code of Conduct</h1>
</div>

Grid

To choose the number of the columns per row use this modifier row--2 where 2 is the number of columns per row.

<div class="row row--2">
  <p class="row__column">
    Single paragraph column
  </p>
  <p class="row__column">
    Single paragraph column
  </p>
</div>

Available columns set modifiers:

  • row--2
  • row--3
  • row--4

To use one column per row, just skip adding the modifier:

<div class="row">
  <p class="row__column">
    Single column row
  </p>
  <p class="row__column">
    Single column row
  </p>
</div>

Remember the more columns you use per row, the smaller text paragraphs you need to put inside them.


Grid impagination

If you need a title and more paragraphs per row add it outside the row to ensure a good vertical align between paragraphs:

<h2 class="row__title">The Short Version</h2>

<div class="row row--2">
  <div class="row__column">
    ...
  </div>
  <div class="row__column">
    ...
  </div>
</div>

If you need multiple paragraphs per column, use this approach:

<div class="row row--2">
  <div class="row__column">
    <p class="row__text">
      Multiple paragraphs per column
    </p>
    <p class="row__text">
      Multiple paragraphs per column
    </p>
    <p class="row__text">
      Multiple paragraphs per column
    </p>
  </div>
  <div class="row__column">
    <p class="row__text">
      Multiple paragraphs per column
    </p>
    <p class="row__text">
      Multiple paragraphs per column
    </p>
  </div>
</div>

Coded with โ™ก by @vitto in @ideato

2019.nodejsday.it's People

Contributors

dlondero avatar giuliatosato avatar mbeccati avatar cesaredamico avatar fullo avatar dependabot[bot] avatar

Stargazers

Cristian Castellari avatar

Watchers

 avatar  avatar  avatar James Cloos avatar  avatar

Forkers

giuliatosato

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.