Skip to content

The shiny new website page πŸŽ‰

Princiya Marina Sequeira edited this page May 8, 2018 · 4 revisions

We have a new landing page for opensource.zalando.com πŸŽ‰πŸŽ‰πŸŽ‰.

Directory structure

  • index.html is the main website page.
  • projects/index.html is the projects page listing Zalando's open source projects.
  • assets/ folder contains css, js files, website images, and svg icons.
    • The programming language logos in svg/languages/ folder are picked from here.
    • The other svg icons are picked as described in this article.
  • The components/ folder contains js files which generate dynamic code and are reused across pages.

Scope

  • The config.js file in assets/js folder contains the Catwatch API urls and Github data for the team profiles.
  • The store.js file in assets/js folder contains global variables which are referenced as store.<variable>.
  • For the MVP version in this release, the programming languages, top programming languages are hard coded in the above mentioned store.js file.
  • The projects page serves open source repositories only from the public Zalando Github organisation.
  • CSS uses BEM naming convention.
  • index.js is the main file which contains JavaScript code to execute various functions.
  • init() at the end of the index.html and projects/index.html is the main entry point to execute the JavaScript code.

Todos

  • This release uses latest features like async/await, Set, template literals, fetch API which are supported in modern browsers. This hasn't been tested for older browser support.
  • Add ESLint configuration
  • Setup test environment
  • The logo for Shell programming language is missing from the assets/svg/languages folder. This logo couldn't be found from this repo where all the other programming language logos were found.
  • Get Jobs from Greenhouse API.
  • Make store.js immutable.
  • Refactor index.js.
  • Update <object> tag for SVG to <img> tag.
Clone this wiki locally