feat: channel history page — published posts with search

This commit is contained in:
Alexey Pavlov
2026-06-15 10:28:07 +03:00
parent 76eb519018
commit 5be51d88f7
3 changed files with 177 additions and 1 deletions
+5 -1
View File
@@ -4,7 +4,7 @@ import Link from 'next/link';
import {
ArrowLeft, Sparkles, Wand2, Copy, Check, Loader2, Settings,
Image as ImageIcon, RefreshCw, Scissors, Maximize2, Zap, Heart,
MessageSquare, Pencil, X, ChevronDown, Send, Clock, Trash2
MessageSquare, Pencil, X, ChevronDown, Send, Clock, Trash2, History
} from 'lucide-react';
const GOAL_LABELS = {
@@ -276,6 +276,10 @@ export default function ChannelView({ channel }) {
</div>
{channel.niche && <p className="text-sm text-gray-500 max-w-2xl">{channel.niche}</p>}
</div>
<Link href={`/channels/${channel.id}/history`} className="btn-ghost text-sm">
<History className="w-4 h-4" />
История
</Link>
<Link href={`/channels/${channel.id}/edit`} className="btn-ghost text-sm">
<Settings className="w-4 h-4" />
Настройки