tangled
alpha
login
or
join now
flo-bit.dev
/
blento
21
fork
atom
your personal website on atproto - mirror
blento.app
21
fork
atom
overview
issues
pulls
pipelines
fix edit button
Florian
4 weeks ago
baaa317c
74018a5f
+2
-2
1 changed file
expand all
collapse all
unified
split
src
lib
website
FloatingEditButton.svelte
+2
-2
src/lib/website/FloatingEditButton.svelte
···
30
30
31
31
{#if isOwnPage && !isEditPage}
32
32
<div class="fixed bottom-6 left-6 z-49 hidden lg:block">
33
33
-
<Button size="lg" href="{page.url}/edit">
33
33
+
<Button size="lg" href="{page.url.pathname.replace(/\/$/, '')}/edit">
34
34
<svg
35
35
xmlns="http://www.w3.org/2000/svg"
36
36
fill="none"
···
74
74
</div>
75
75
{:else if showEditBlentoButton}
76
76
<div class="fixed bottom-6 left-6 z-49">
77
77
-
<Button size="lg" href="/{env.PUBLIC_IS_SELFHOSTED ? '' : getUserIdentifier()}/edit">
77
77
+
<Button size="lg" href="{env.PUBLIC_IS_SELFHOSTED ? '' : `/${getUserIdentifier()}`}/edit">
78
78
<svg
79
79
xmlns="http://www.w3.org/2000/svg"
80
80
fill="none"