Giter VIP home page Giter VIP logo

makstat-design's Introduction

Readme

Basic frontend dev setup for North Macedonia statistical office website.

It includes a basic server for development purpose, a SASS and component setup.

TODO

  • Finish start page template (Desktop)
  • Add theme template
  • Add template for statistics start page
  • Add template for regular page
  • Create responsive menus (Mobile)
  • Printversion
  • Make templates fully responsive

Setup

  • Make sure you have Node.js and NPM installed.
  • Install live-server
  • Github desktop is a good help

Install server

I recommend install (live-server)[https://www.npmjs.com/package/live-server] globally.

npm install -g live-server

Initialize project

Run this in the root of the directory

npm install

Run it

npm run dev

Build

To build minified css for production

npm run build

About the project

Assets

Files that should be used for production are stored in this directory. The CSS is also built to the CSS catalogue.

Components and elements

HTML snippets are stored in this catalogue. If a component has variants it is stored in a library with the component name and template name. In the SCSS library you'll find a corresponding _component.scss file.

Example

components/list/news/start.html contains news showed in the startpage template.

Templating

To include a component we use a simple data-include="path/filename.html" attribute on a div tag. A script runs on load, adds components to the page and removes div tags.

makstat-design's People

Contributors

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