misc: Tweak comment vote design

This commit is contained in:
Xyphyn committed 2023-07-08 10:33:35 -07:00
1 parent 563f1fce43
commit d3ff9e37dc
12 files changed
+256 -94

No files matched your search

+3 -2
View File
@@ -6,8 +6,9 @@
</script>
<img
src={`${url}?format=webp&thumbnail=${width * 2}` ??
`https://api.dicebear.com/6.x/initials/svg?seed=${alt}`}
src="{url ??
`https://api.dicebear.com/6.x/initials/svg?seed=${alt}`}?format=webp&thumbnail={width *
2}"
{alt}
{width}
loading="lazy"
+5
View File
@@ -15,6 +15,7 @@
import {
ArrowLeftOnRectangle,
ArrowRightOnRectangle,
Beaker,
Cog6Tooth,
GlobeAlt,
Icon,
@@ -92,6 +93,10 @@
<span class="text-xs opacity-80 text-left mx-4 my-2">
{$user ? $user.person_view.person.name : 'Profile'}
</span>
<MenuButton link href="/experiments">
<Icon src={Beaker} mini width={16} />
Experiments
</MenuButton>
{#if !$user || !$authData}
<MenuButton link href="/login">
<Icon src={ArrowLeftOnRectangle} mini width={16} /> Log in