roschaefer 2019-09-18 23:29:45 +02:00
parent af24693be4
commit ec7d9753db
2 changed files with 12 additions and 10 deletions

View File

@ -11,17 +11,19 @@
<div @mouseover="openMenu(true)" @mouseleave="closeMenu(true)">
<hc-avatar class="avatar" :user="user" />
<div>
<b class="username">{{ userName | truncate(18) }}</b>
<ds-text align="left">
<b class="username">{{ userName | truncate(18) }}</b>
<ds-text v-if="dateTime" size="small" color="soft">
<ds-icon name="clock" />
<client-only>
<hc-relative-date-time :date-time="dateTime" />
</client-only>
</ds-text>
</ds-text>
</div>
<!-- Time -->
<ds-text align="right" size="small" color="soft">
<span class="slug">{{ userSlug }}</span>
<div v-if="dateTime" style="display: inline;">
<ds-icon name="clock" />
<client-only>
<hc-relative-date-time :date-time="dateTime" />
</client-only>
</div>
<ds-text align="left" size="small" color="soft">
{{ userSlug }}
</ds-text>
</div>
</nuxt-link>

View File

@ -30,7 +30,7 @@
<ds-heading tag="h3" align="center" no-margin>
{{ userName }}
</ds-heading>
<ds-text size="large" align="center" color="soft">
<ds-text align="center" color="soft">
{{ userSlug }}
</ds-text>
<ds-text v-if="user.location" align="center" color="soft" size="small">