abstracted some values to config/layout.js