translation

This commit is contained in:
dimitar committed 2026-03-02 22:22:06 +01:00
1 parent a59bdc7711
commit c0eea843bf
1 file changed
+5 -5
@@ -7,7 +7,7 @@ import { useState } from 'react';
export function PinnedLiveBlogsSidebar() { export function PinnedLiveBlogsSidebar() {
const [showUpdates, setShowUpdates] = useState(true); const [showUpdates, setShowUpdates] = useState(true);
const { data: liveBlogs, isLoading, error } = useQuery({ const { data: liveBlogs, isLoading, error } = useQuery({
queryKey: ['pinned-live-blogs'], queryKey: ['pinned-live-blogs'],
queryFn: fetchPinnedLiveBlogs, queryFn: fetchPinnedLiveBlogs,
@@ -67,7 +67,7 @@ export function PinnedLiveBlogsSidebar() {
// Collect last 5 updates from all pinned live blogs // Collect last 5 updates from all pinned live blogs
const getLastFiveUpdates = () => { const getLastFiveUpdates = () => {
if (!liveBlogs) return []; if (!liveBlogs) return [];
const allUpdates: Array<{ const allUpdates: Array<{
id: string; id: string;
content: string; content: string;
@@ -160,7 +160,7 @@ export function PinnedLiveBlogsSidebar() {
> >
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<Clock className="h-5 w-5 text-accent" /> <Clock className="h-5 w-5 text-accent" />
<h3 className="text-xl font-display">Последни Update</h3> <h3 className="text-xl font-display">Свежо набрано</h3>
</div> </div>
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<span className="px-2 py-1 border-2 border-foreground bg-foreground text-background text-xs font-body font-bold uppercase"> <span className="px-2 py-1 border-2 border-foreground bg-foreground text-background text-xs font-body font-bold uppercase">
@@ -207,7 +207,7 @@ export function PinnedLiveBlogsSidebar() {
<div className="flex items-center justify-between mb-6 pb-4 border-b-2 border-foreground/10"> <div className="flex items-center justify-between mb-6 pb-4 border-b-2 border-foreground/10">
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<Pin className="h-5 w-5 text-accent" /> <Pin className="h-5 w-5 text-accent" />
<h3 className="text-xl font-display">Pinned Live</h3> <h3 className="text-xl font-display">Во Живо</h3>
</div> </div>
<span className="px-2 py-1 border-2 border-foreground bg-foreground text-background text-xs font-body font-bold uppercase"> <span className="px-2 py-1 border-2 border-foreground bg-foreground text-background text-xs font-body font-bold uppercase">
{liveBlogs.length} {liveBlogs.length}
@@ -280,7 +280,7 @@ export function PinnedLiveBlogsSidebar() {
<div className="mt-6 pt-4 border-t-2 border-foreground/10"> <div className="mt-6 pt-4 border-t-2 border-foreground/10">
<Link to="/live-blogs" className="block"> <Link to="/live-blogs" className="block">
<Button variant="brutal" className="w-full justify-center"> <Button variant="brutal" className="w-full justify-center">
Сите Live ...
</Button> </Button>
</Link> </Link>
</div> </div>