update and delete

This commit is contained in:
u80864958
2025-04-28 14:25:58 +02:00
parent cc92a11060
commit f027ee7e39
10 changed files with 149 additions and 8 deletions

View File

@ -0,0 +1,10 @@
<div class="flex items-center justify-between mb-5">
<h1 class="text-3xl">Update a Post</h1>
<button
class="bg-amber-400 rounded-full p-1 px-5 hover:bg-amber-500 active:bg-amber-600 transition-colors"
(click)="save()"
>
save
</button>
</div>
<app-post-editor [post]="post" (postChange)="post.set($event)" />