Phoenix url in socket.js

phoenix
socketjs
#1

well am bad at questions but, how do I add a link to navigate to a user profile in socket.js?

.....
return `
   <div id="online-user-${user.user_id}">
      <strong class="text-secondary">${user.username}</strong> ${typingIndicator}
   </div>
.....

I would like to access the user profile of the output from above