Skip to content
Source code of leveljs.org
HTML CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
.gitignore
CONTRIBUTORS.md
LICENSE.md
README.md
package.json Update for leveljs.org (#46) Apr 21, 2019
server.js

README.md

leveljs.org

Backers on Open Collective Sponsors on Open Collective

This is the source code for leveljs.org.

Stylus Structure

The Stylus files are located under assets/static/styl, with the following architecture...

├── assets
  └── styl
    ├── components
    ├── globals
    ├── pages
    ├── sections
    └── main.styl

Where:

  • compontents — are reusable components for common elements (such as buttons, forms, typography)
  • globals — reusable variables, mixins and base for the website
  • pages — subpages of the website (comments, profile, 404, landing, etc.)
  • sections - individual sections of a page (header, footer, community, platforms, etc.)

Template Structure

├── assets
  └── templates
    ├── index.jade
    ├── footer.jade
    └── layout.jade

Where:

  • layout.jade — basic layout file for the entire website
  • index.jade — the page content (here being the landing page)
  • footer.jade - footnotes

Contributing

Level/leveljs.org is an OPEN Open Source Project. This means that:

Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.

See the Contribution Guide for more details.

For contributors

git clone https://github.com/Level/leveljs.org.git
cd leveljs.org
npm i
npm start
# hack on the codez, send pull request

For maintainers

npm run deploy builds the static site, switches to the gh-pages branch and puts the built site in the root, and then does git push origin gh-pages.

git fetch
git checkout master # if you're not already on it
git merge <fork-branch>
npm run deploy

Donate

To sustain Level and its activities, become a backer or sponsor on Open Collective. Your logo or avatar will be displayed on our 28+ GitHub repositories and npm packages. 💖

Backers

Open Collective backers

Sponsors

Open Collective sponsors

License

MIT © 2014-present Paolo Fragomeni and Contributors.

You can’t perform that action at this time.