design: reorganize profile (#451)

* fix: re-add actions to community header

* impr: reorganize the profile menu

* misc: improve blocks page

* fix: use a better icon for expands

* misc: reorganize some settings
This commit is contained in:
Xylight authored and GitHub committed 2024-09-22 14:48:22 -07:00
1 parent 7c7df02e3d
commit 62e20fcb69
14 files changed
+373 -189

No files matched your search

+5 -3
View File
@@ -23,7 +23,9 @@
class="{open ? 'rotate-180' : ''} transition-transform"
/>
</div>
<div class="pt-2 text-slate-900 dark:text-zinc-100">
<slot />
</div>
<slot name="content">
<div class="pt-2 text-slate-900 dark:text-zinc-100">
<slot />
</div>
</slot>
</Disclosure>
@@ -15,8 +15,8 @@
"
style="{pageHeader
? `margin-top: min(-1.5rem, calc(-1 * calc(${$contentPadding.top}px))); padding-top: max(1.5rem, calc(${$contentPadding.top}px));`
: ''};
? `margin-top: min(-6rem, calc(-1 * calc(${$contentPadding.top}px))); padding-top: max(6rem, calc(${$contentPadding.top}px));`
: ''} {$$props.style};
"
>
<h1
@@ -19,7 +19,7 @@
currentRoute: string | undefined,
href: string
) => string = (route, href) => href
export let defaultRoute: string | undefined
export let defaultRoute: string | undefined = undefined
</script>
<nav
+14 -3
View File
@@ -201,8 +201,14 @@
"profile": {
"user": "User",
"settings": "Settings",
"blocks": "Blocks",
"credentials": "Account",
"blocks": {
"title": "Blocked",
"empty": {
"title": "No blocked entities",
"description": "When you block anything, it will no longer appear in your feeds."
}
},
"credentials": "Credentials",
"moderates": "Moderating",
"favorites": "Favorites",
"upvoted": "Upvoted",
@@ -216,7 +222,9 @@
"delete": {
"title": "Delete account",
"warning": "This is permanent. Are you sure you want to do this?"
}
},
"overview": "Overview",
"submissions": "Submissions"
},
"translators": "Translators",
"accounts": "Accounts",
@@ -827,6 +835,9 @@
"title": "Don't virtualize feeds",
"description": "Virtualization only renders visible posts, increasing performance drastically. Disable virtualization if you are having stutter problems. This will disable infinite scroll."
}
},
"account": {
"title": "Account"
}
},
"error": {