Giter VIP home page Giter VIP logo

tz-programme-rennes-brest's Introduction

TZ Rennes

Disclaimer : this is a quick code, nothing is clean really but, let's stay pragmatic, it works.

To begin you'll need NodeJS or Yarn.

npm install or yarn install

This website use gulp for it's pipeline and have this features:

  • SCSS to CSS files from src/scss with autoprefixer
  • SVG Sprite by combining all files in src/icons/*.svg
  • Optimizing images in src/img and copy them in the dist folder
  • Live reload all the things with BrowserSync 🚀

Development

To start the development server, you need to run the watch script.

npm run watch or yarn watch

Then go to http://localhost:1234/index.html

Production

To build HTML and CSS files :

npm run build or yarn build

Fonctionnement

This starter use Nunjucks for it's templating engine. To create a page, you have to create a file in the src folder with the name of your page. For example src/my-page.njk. This will generate a file called my-page.html and you'll be able to access it in your browser.

Nunjucks page example:

{% extends "./layouts/home.njk" %}

{% block content %}
    <h1>Page 1</h1>
{% endblock %}

Génération du programme en PNG

You have to launch the generate script to generate with Puppeteer a screenshot of the page.

tz-programme-rennes-brest's People

Contributors

nkcreation avatar malo-t avatar

Watchers

 avatar  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.