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 #204
Florian
3 weeks ago
d5842f2a
fc5345b6
+11
-1
1 changed file
expand all
collapse all
unified
split
src
lib
website
EditableProfile.svelte
+11
-1
src/lib/website/EditableProfile.svelte
···
43
43
}
44
44
45
45
let profilePosition = $derived(getProfilePosition(data));
46
46
+
47
47
+
function onTextUpdate() {
48
48
+
data = { ...data };
49
49
+
}
46
50
</script>
47
51
48
52
<div
···
121
125
<!-- Editable Name -->
122
126
{#if data.publication}
123
127
<div class="text-4xl font-bold wrap-anywhere">
124
124
-
<PlainTextEditor bind:contentDict={data.publication} key="name" placeholder="Your name" />
128
128
+
<PlainTextEditor
129
129
+
bind:contentDict={data.publication}
130
130
+
key="name"
131
131
+
placeholder="Your name"
132
132
+
onupdate={onTextUpdate}
133
133
+
/>
125
134
</div>
126
135
{/if}
127
136
···
133
142
key="description"
134
143
placeholder="Something about me..."
135
144
class="text-base-600 dark:text-base-400 prose dark:prose-invert prose-a:text-accent-500 prose-a:no-underline"
145
145
+
onupdate={onTextUpdate}
136
146
/>
137
147
{/if}
138
148
</div>