From 515c4cacf327dec70ca4329dd38c431854bd950a Mon Sep 17 00:00:00 2001 From: echo Date: Sat, 28 Feb 2026 19:48:56 +0100 Subject: [PATCH] feat: update live blog UI with chat layout, fix page title and favicon --- frontend/index.html | 6 ++--- frontend/public/favicon.png | Bin 0 -> 497 bytes frontend/public/vite.svg | 1 - .../features/live-blog/LiveBlogViewer.tsx | 21 +++++++++++++----- 4 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 frontend/public/favicon.png delete mode 100644 frontend/public/vite.svg diff --git a/frontend/index.html b/frontend/index.html index 072a57e..d1ee10e 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,10 +1,10 @@ - + - + - frontend + Placebo.mk - Сатирични вести од Македонија
diff --git a/frontend/public/favicon.png b/frontend/public/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..df668a881b58175effdf6e6d667cd0a29ce98075 GIT binary patch literal 497 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I3?%1nZ+ru!Vgr0aT!FNQ%YPz~r|W+YAaeN! zM4m4Hfm|S%I{E+RP5<}p{hyZnKR5G#ea-*Q_WyV8{15c~egC1S$L^sn@(SnS%da63LSXaQ`%;7gOVpveiyr7nQL9IZ= z-A`pVKgIF>S>*T2kpBVWANdax|AfbLJG@L@l;9x3(=mx{2S>{97;cxH>_3zyyzXAU zjjdxQ^WxPEN$-xlJne8sF0xqg#Mjh={AZcjd`yxKaLoVx;=zr@liB5BU%YW{PhSw- uckQM0zm%HSf9!WG&HHyg{qyDQlnaA`#FRum$ErX}4pUXO@geCwXjqE-E literal 0 HcmV?d00001 diff --git a/frontend/public/vite.svg b/frontend/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/frontend/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/src/components/features/live-blog/LiveBlogViewer.tsx b/frontend/src/components/features/live-blog/LiveBlogViewer.tsx index c099305..bc3b24c 100644 --- a/frontend/src/components/features/live-blog/LiveBlogViewer.tsx +++ b/frontend/src/components/features/live-blog/LiveBlogViewer.tsx @@ -223,8 +223,16 @@ export function LiveBlogViewer({ slug, className }: LiveBlogViewerProps) { ) : (
- {updates.map((update) => ( - + {updates.map((update, index) => ( +
+ +
))} {updatesLoading && (
@@ -255,16 +263,19 @@ export function LiveBlogViewer({ slug, className }: LiveBlogViewerProps) { interface LiveBlogUpdateProps { update: ApiLiveBlogUpdate; + alignRight?: boolean; } -function LiveBlogUpdate({ update }: LiveBlogUpdateProps) { +function LiveBlogUpdate({ update, alignRight = false }: LiveBlogUpdateProps) { const isPinned = update.isPinned; return (
{isPinned && (