Commit Graph

238 Commits

Author SHA1 Message Date
5218bd17e3 Project-Timeline: Introduced timeline on projects
Limited to projects of category assets and film for now.
2018-11-20 16:29:01 +01:00
37fe235d47 Lazy Home: Lazy load latest blog posts and assets and group by week and
project.

Javascript tutti.js and timeline.js is needed, and then the following to
init the timeline:

$('.timeline')
    .timeline({
        url: '/api/timeline'
    });

# Javascript Notes:
## ES6 transpile:
* Files in src/scripts/js/es6/common will be transpiled from
modern es6 js to old es5 js, and then added to tutti.js
* Files in src/scripts/js/es6/individual will be transpiled from
modern es6 js to old es5 js to individual module files
## JS Testing
* Added the Jest test framework to write javascript tests.
* `npm test` will run all the javascript tests

Thanks to Sybren for reviewing
2018-11-12 12:57:24 +01:00
1a49b24f8e Blog Bug fix: Unable to render blog before first post 2018-10-23 15:09:02 +02:00
0b2a3c99ce Loading bar: Introduced two event listeners on window 'pillar:workStart' and 'pillar:workStop' that (de)activates the loading bar.
Reason:
* To decouple code
* Have the loading bar active until whole page stopped working
* Have local loading info

Usage:
$.('.myClass')
   .on('pillar:workStart', function(){
    ... do stuff locally while loading ...
    })
   .on('pillar:workStop', function(){
   ... stop do stuff locally while loading ...
   })

$.('.myClass .mySubClass').trigger('pillar:workStart')
... do stuff ...
$.('.myClass .mySubClass').trigger('pillar:workStop')
2018-10-23 13:57:02 +02:00
d2815acd80 Free assets: Assets should not be advertised as free if the user is a logged in subscriber. 2018-10-04 17:44:08 +02:00
670c600382 Organizations: Added null check to properly render new Organizations 2018-10-04 15:48:26 +02:00
2a8a109d83 Homepage: Update sidebar image for Spring 2018-10-03 11:14:11 +02:00
734a8db145 Index collection: use gradient on header 2018-09-21 16:56:01 +02:00
82c6c30a0a Tweaks to featured item in index collection 2018-09-21 16:52:21 +02:00
594af19b2b Main dropdown tweaks for responsive.
Most of the changes are done in Pillar, in 0_navbar.js (part of tutti).
2018-09-21 16:19:13 +02:00
97c549de08 Project Landing: cleanup unused classes 2018-09-21 12:19:48 +02:00
ef8bd8d22b Use node.properties.status instead of node.status 2018-09-20 19:04:43 +02:00
218ba3831c Navigation: add Art Gallery to the libraries nav 2018-09-20 18:13:41 +02:00
a753f29ccc Navigation: Add Learn and Libraries to homepage nav
Also remove Courses, Workshops
2018-09-20 18:11:26 +02:00
1a7be4b565 Navigation: Move links in the main dropdown to their own macros
So they can be easily re-used in other templates.
2018-09-20 16:37:02 +02:00
765f36261a Blog: Remove unused macro 2018-09-20 16:36:00 +02:00
89ea34724b Tagged Assets: Initial 8, load 8 more 2018-09-20 15:27:22 +02:00
7983a7b038 Use loadingBar utility. 2018-09-20 15:20:58 +02:00
7ba8ff7580 New templates for /learn and /libraries 2018-09-20 15:00:10 +02:00
fd1db5d2e0 Production: make asset title a link 2018-09-20 13:17:50 +02:00
205e34289f Blog: show status if not published 2018-09-20 13:01:57 +02:00
e7190f09dc Landing: Center text 2018-09-20 12:14:47 +02:00
7e61d218b9 Navigation: Blender Cloud -> Homepage 2018-09-20 12:07:08 +02:00
12936c80ea Navigation: Remove Blog entry 2018-09-20 12:06:57 +02:00
dcac1317bf Rename secondary_navigation to navigation_project
And move to _navigation.pug with the other navigations macros.
2018-09-20 12:06:43 +02:00
afa0c96156 Navigation: add custom nav for services 2018-09-19 19:34:49 +02:00
012eaaef11 Production: Load 4 assets, load 4 more 2018-09-19 19:34:07 +02:00
54e4e76945 Footer: Production lessons
Also move Art Gallery to Libraries
2018-09-19 19:06:52 +02:00
690b35bab1 Add more tags to NODE_TAGS 2018-09-19 16:15:31 +02:00
356e4705b3 Add digital-painting to NODE_TAGS 2018-09-19 15:53:56 +02:00
748190d15b Fix jumbotron in index collection 2018-09-19 15:50:03 +02:00
05ff27a12d Navigation: Position icons 2018-09-19 15:42:33 +02:00
74e18bb500 Fix navigation 2018-09-19 15:39:58 +02:00
10addb1521 Spring background for index collection 2018-09-19 12:38:35 +02:00
678a03dbf1 Update NODE_TAGS 2018-09-19 11:34:22 +02:00
811dc4d65b Mark Production Lessons as new 2018-09-19 11:33:40 +02:00
ece0ba4ae7 Dropdowns tweaks based on feedback 2018-09-19 11:20:17 +02:00
2395bd8090 Production Lessons: Added more tags 2018-09-18 16:54:57 +02:00
fef7d5feac Homepage: update image for Spring 2018-09-18 13:57:44 +02:00
f0f96bf2f1 Home project: Fix creating new projects 2018-09-18 13:57:25 +02:00
dbba955afe Homepage: use asset list template for random assets 2018-09-18 12:54:57 +02:00
17240f5793 Landing: fix styling of gallery 2018-09-18 12:54:32 +02:00
8ff8975dbb Welcome page: Styling 2018-09-17 18:42:04 +02:00
0a144ec12d Blog: Edit post link 2018-09-17 18:34:43 +02:00
6d9fa89d90 Project: Darker tree 2018-09-17 18:15:49 +02:00
06e7ea53bb Footer: Fix broken links 2018-09-17 18:15:36 +02:00
00cd29befc Layout: move footer and main menu into their own files 2018-09-17 17:18:43 +02:00
a5c7ec285d Style tweaks 2018-09-17 17:09:43 +02:00
7fff47c5c5 Use spans for index_collection navigation 2018-09-17 15:04:07 +02:00
534e212802 Project Landing: Don't set title
As it's set by the pages themselves using node.properties.url
2018-09-17 15:03:53 +02:00