0
0
Blender Web assets
Go to file
Pablo Vazquez cb9ab729dd Footer: Remove UTM info from buildbot link
Buildbot doesn't work well with it at the moment.
2023-06-22 16:20:51 +02:00
assets Assets: Add SVG path versions of logotype 2023-06-06 15:40:33 +02:00
src Footer: Remove UTM info from buildbot link 2023-06-22 16:20:51 +02:00
.gitignore Refactor file structure and build pipeline 2023-04-05 16:46:13 +02:00
LICENSE Added README.md and LICENSE 2014-10-31 10:56:25 +01:00
package-lock.json Build: Add support for building tutti.js 2023-05-10 14:44:30 +02:00
package.json Build: Add support for building tutti.js 2023-05-10 14:44:30 +02:00
README.md Refactor file structure and build pipeline 2023-04-05 16:46:13 +02:00
site.webmanifest Refactor file structure and build pipeline 2023-04-05 16:46:13 +02:00

Blender Web Assets

Blender Web Assets is a front-end framework which provides design and interactivity components for official blender.org websites.

Install

Requirements

  • git to clone and contribute to this repository.
  • node.js to install the necessary packages via npm. If you need to manage multiple node versions, nvm can be quite handy.

Setup

  1. Open a terminal.
  2. Clone repo: git clone git@projects.blender.org:infrastructure/web-assets.git.
  3. Enter folder cd /path/to/web-assets.
  4. npm install

Usage

Standalone

  1. npm start. This will build the site into /public, open the site in the browser, and watch for changes in .html and .sass files.

In other projects

The idea behind Web Assets is to be shared between official Blender projects. Using this repository as a git submodule can simplify the process.

Clone, initalize, and update:

  1. git clone git@projects.blender.org:infrastructure/web-assets.git
  2. git submodule init
  3. git submodule update --remote

Then in each project you can just @import or @use via Sass the components you need.

Each project must have its own package.json defining the build pipeline.

Demo

See Web Assets in action:

Authors

Pablo Vazquez Niklas Ravnsborg-Gjertsen

This project is licensed under the GPL license copyright © 2023 Blender Foundation.