diff --git a/pages/user/[id].vue b/pages/user/[id].vue new file mode 100644 index 0000000..7247794 --- /dev/null +++ b/pages/user/[id].vue @@ -0,0 +1,228 @@ + + + + + + + + + + + + {{ userInfo!.username }} + + + + + + Administrator + + + + + + BANNED + + + Unknown + + + + {{ format(uLastVisit, "MM/dd/yyyy @ hh:mm:ss a") }} + + + ({{ formatDistanceToNow(uLastVisit, { addSuffix: true }) }}) + + + + + + {{ userInfo?.profile.website }} + + + + + {{ userInfo?.profile.blog }} + + + + {{ userInfo?.profile.occupation }} + + + {{ userInfo?.email }} + + + + + + + + + + + + + + + + + + + + + + + favourites( + userInfo?.favs.stories || [], + item._id, + true, + 'story', + ) + " + > + + + + + + + + + + + + + + + + + + {{ item.username }} + + + + + + + favourites( + userInfo?.favs.authors || [], + item._id, + true, + 'author', + ) + " + > + + + + + + + + + + + + + + + + + +