feat: add emoji buttons
All checks were successful
/ Build (push) Successful in 1m33s

This commit is contained in:
log101 2024-05-29 11:04:39 +03:00
parent 3135e265b8
commit 3b46305c63
2 changed files with 9 additions and 1 deletions

View File

@ -33,7 +33,6 @@ export async function getStaticPaths() {
<Header />
<Post post={entry} componentType="full" />
<div
class="flex flex-row"
hx-get=`http://localhost:8000/forms/emoji?postId=${entry.id}`
hx-trigger="load"
hx-swap="innerHTML"

View File

@ -18,6 +18,15 @@ body {
background-color: #f5fffa;
}
.emoji-button {
border: none;
@apply text-lg rounded-full p-2;
}
.emoji-buttons-container {
@apply flex flex-row gap-2;
}
@layer components {
.posts {
@apply flex flex-col gap-10 md:gap-8;