This is platform ment for young people to encorage them to consume more literature. We focused on the reading experience of books, and made a platform where they can both read books with more focus, as well as create their own lists and share with others. This is merely a prototype, so it re-enacts full functionality.
- Team: Silverpoint
- Members: Ashana, Wessel, Lisa, Gabriella, Elwin
- Client: KB (Koninklijke Bibliotheek/Royal Dutch Library)
- Date: September 7, 2020 through January 29, 2021
- University: RUAS (Rotterdam University of Applied Sciences)
- Study program: CMD (Communication and Multimedia Design)
- Course: Minor IUXD (Interface and User Experience Design)
- Live prototype: bookbite.netlify.app
.njkfor layouts.mdfor data on pages (used in layouts).htmlfor general page structure.cssfor styling.jsfor interactivity
- Install Node.js
- Install Git
- Install VSCode
- Install Github Desktop
- Set terminal in VSCode to Git Bash
- Install Nunjucks extension for proper
.njkcode formatting - (Optional) Install vscode-icons extension for proper icons
- Follow the instructions from Eleventy
- Run:
npx @11ty/eleventy - Start server:
npx @11ty/eleventy --serve
Error: template names must be a string: undefined
Fix: just set the template in the include between quotes
To include an on-page-list for books, you can add this piece of code:
{%- set listName = "Vergelijkbare boeken" -%}
{%- set listFilterShow = genreTag -%}
{%- set listFilterHide = serieTag -%}
{%- set listContent = collections.book -%}
{%- include "onPageListBook.njk" -%}Variables you can change:
listName: Specify how you want to call the list, will show up on screen.listFilterShow: Specify what tag you want to show in your list. Must be a string or a variable.listFilterHide: Specify what tag you want to hide in your list. Must be a string or a variable.listContent: Specify what collection you want to show. Options arebook,author, orbookshelf.
{%- include "onPageListBook.njk" -%} actually includes the template for the on-page-list specifically for books, but can be set to onPageListBookshelf and onPageListAuthors to change to bookshelves and authors accordingly. Collection must be set in the same way. #}