makes profiles public
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
|
||||
function handleDropdownClick(item: { text: string; value: any }) {
|
||||
if (item.value == "profile") {
|
||||
goto("/profile");
|
||||
goto(`/profile/${$currentUser?.id}`);
|
||||
} else if (item.value == "logout") {
|
||||
logout();
|
||||
window.location.href = "/";
|
||||
@@ -128,7 +128,7 @@
|
||||
<div class="basis-full"></div>
|
||||
<hr class="border-input-border" />
|
||||
<div class="flex gap-4 items-center justify-between m-4">
|
||||
<a href="/profile">
|
||||
<a href="/profile/{$currentUser.id}">
|
||||
<img
|
||||
class="rounded-full w-10 aspect-square"
|
||||
src={getFileURL($currentUser, $currentUser.avatar) ||
|
||||
@@ -136,7 +136,7 @@
|
||||
alt="avatar"
|
||||
/>
|
||||
</a>
|
||||
<a href="/profile">
|
||||
<a href="/profile/{$currentUser.id}">
|
||||
<p class="text-sm">{$currentUser.username}</p>
|
||||
<p class="text-sm text-gray-500">
|
||||
{$currentUser.email}
|
||||
|
||||
Reference in New Issue
Block a user