Cleaned code

This commit is contained in:
2026-05-14 18:49:56 +01:00
parent 8f836c6d80
commit ac9d62d284
49 changed files with 1478 additions and 648 deletions
+4 -2
View File
@@ -26,7 +26,8 @@
<div class="px-3 py-3">
<div class="flex items-center gap-2 mb-1">
<button class="flex items-center p-0 bg-transparent border-none cursor-pointer" (click)="likePost(post.id)">
<button class="flex items-center p-0 bg-transparent border-none cursor-pointer"
(click)="likePost(post.id)">
@if (post.isLiked) {
<ion-icon name="heart" class="text-red-700 text-2xl"></ion-icon>
} @else {
@@ -60,7 +61,8 @@
<div class="px-3 py-3">
<div class="flex items-center gap-2 mb-1">
<button class="flex items-center p-0 bg-transparent border-none cursor-pointer" (click)="likePost(post.id)">
<button class="flex items-center p-0 bg-transparent border-none cursor-pointer"
(click)="likePost(post.id)">
@if (post.isLiked) {
<ion-icon name="heart" class="text-red-700 text-2xl"></ion-icon>
} @else {