
export function render(role){
  const main = document.getElementById('main');
  main.innerHTML = '<section><h2>Dashboard</h2><p>Role: ' + role + '</p><div id="widgets">Loading widgets...</div></section>';
  // load role-specific widgets
  const widgets = document.getElementById('widgets');
  widgets.innerHTML = '<ul><li>Customers quick view</li><li>Followups pending</li><li>Tasks today</li></ul>';
}
