{{define "content"}}
<h1>Welcome, {{.User.Name}}</h1>
<div class="grid">
  {{if .User.Roles.Developer}}
  <div class="card">
    <h2>Bounty Board</h2>
    <p class="muted">Browse published tasks and request assignments.</p>
    <a class="btn primary" href="/board">Open board</a>
  </div>
  <div class="card">
    <h2>My Tasks</h2>
    <p class="muted">Track your assigned and in-progress work.</p>
    <a class="btn" href="/my-tasks">Open my tasks</a>
  </div>
  {{end}}
  {{if .User.Roles.Consultant}}
  <div class="card">
    <h2>Atomization Board</h2>
    <p class="muted">Subdivide imported tickets and publish bounties.</p>
    <a class="btn primary" href="/consultant/board">Open atomization</a>
  </div>
  <div class="card">
    <h2>Review Queue</h2>
    <p class="muted">Approve or request changes on submitted work.</p>
    <a class="btn" href="/consultant/reviews">Open reviews</a>
  </div>
  {{end}}
  {{if .User.Roles.Admin}}
  <div class="card">
    <h2>Administration</h2>
    <p class="muted">Customers, users, settings, audit log, service status.</p>
    <a class="btn primary" href="/admin">Open admin</a>
  </div>
  {{end}}
  <div class="card">
    <h2>Messages</h2>
    <p class="muted">Direct, group and project conversations.</p>
    <a class="btn" href="/messages">Open messages</a>
  </div>
</div>
{{end}}
