extends ./layout.jade

block homeNavItem
  li(class="active")
    a(href="/home") Home

block content
  h1 Welcome back, #{user.username}!

  div(class="row")
    div(class="col-md-1", style="text-align: center")
      img(src=user.avatarUrl)
    div(class="col-md-11")
      h4(style="margin-top: 0px") #{user.username}
      p(style="font-weight: bold") Level #{user.level} (#{user.title})
      div(class="progress")
        div(class="progress-bar progress-bar-warning", role="progressbar", aria-valuenow=user.experience, aria=valuemin="0", aria-valuemax=user.experienceForLevel, style="width: " + user.experiencePercentage + "%")
          span #{user.experience} / #{user.experienceForLevel} XP

  a(href=user.path) View your profile

  div(class="row")
    div(class="col-md-6")
      h2 Quests
      if quests.length > 0
        ul
          each quest in quests
            li
              a(href=quest.path)= quest.title
      else
        p You have not started any quests.

    div(class="col-md-6")
      h2 Quests You Own
      if ownedQuests.length > 0
        ul
          each quest in ownedQuests
            li
              a(href=quest.path)= quest.title
      else
        p You are not the owner of any quests.

extends ./layout.jade

block homeNavItem
  li(class="active")
    a(href="/home") Home

block content
  h1 Welcome back, #{user.username}!

  div(class="row")
    div(class="col-md-1", style="text-align: center")
      img(src=user.avatarUrl)
    div(class="col-md-11")
      h4(style="margin-top: 0px") #{user.username}
      p(style="font-weight: bold") Level #{user.level} (#{user.title})
      div(class="progress")
        div(class="progress-bar progress-bar-warning", role="progressbar", aria-valuenow=user.experience, aria=valuemin="0", aria-valuemax=user.experienceForLevel, style="width: " + user.experiencePercentage + "%")
          span #{user.experience} / #{user.experienceForLevel} XP

  a(href=user.path) View your profile

  div(class="row")
    div(class="col-md-6")
      h2 Quests
      if quests.length > 0
        ul
          each quest in quests
            li
              a(href=quest.path)= quest.title
      else
        p You have not started any quests.
        p
          a(href="/quests") See available quests!

    div(class="col-md-6")
      h2 Quests You Own
      if ownedQuests.length > 0
        ul
          each quest in ownedQuests
            li
              a(href=quest.path)= quest.title
      else
        p You are not the owner of any quests.

Add callout to visit the quest list.
Add callout to visit the quest list.
