[WIP] New client userpages (#8868)

* Added background page

* Added stats

* Added achievements

* Added profile
This commit is contained in:
Keith Holliday
2017-07-17 22:18:17 -06:00
committed by GitHub
parent ea3ed26f42
commit d822843bbf
6 changed files with 600 additions and 2 deletions

View File

@@ -47,8 +47,10 @@ div
h3 {{ user.profile.name }}
span.small-text {{ $t('editAvatar') }}
a.nav-link.dropdown-item(@click.prevent='showInbox()') {{ $t('inbox') }}
router-link.dropdown-item(:to="{name: 'backgrounds'}") {{ $t('backgrounds') }}
router-link.dropdown-item(:to="{name: 'stats'}") {{ $t('stats') }}
router-link.dropdown-item(:to="{name: 'achievements'}") {{ $t('achievements') }}
router-link.dropdown-item(:to="{name: 'profile'}") {{ $t('profile') }}
router-link.dropdown-item(:to="{name: 'settings'}") {{ $t('settings') }}
a.nav-link.dropdown-item(to="/", @click.prevent='logout()') {{ $t('logout') }}
</template>