Files
trumpsignal-frontend/app/[locale]/settings/SettingsClient.tsx
T
k 4c3c8c6f87 KOL count: 29 → 25 across marketing/SEO copy
Backend KOL_FEEDS trimmed from 29 to 25 (dead feeds removed).
Sync all hardcoded count mentions:
- layout.tsx JSON-LD, page.tsx (metric + comparison + copy)
- kol/page.tsx, KolPageClient.tsx ("and 26 more" → "and 22 more")
- glossary/page.tsx, opengraph-image.tsx
- public/llms.txt, llms-full.txt
- drop removed KOLs (Dragonfly Capital, Nic Carter) from named lists

Bundles other in-flight frontend work already in the working tree.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 22:55:27 +08:00

40 lines
1.4 KiB
TypeScript

'use client'
import dynamic from 'next/dynamic'
import Link from 'next/link'
import { usePathname } from 'next/navigation'
import TelegramCard from '@/components/telegram/TelegramCard'
// BotConfigPanel is heavy and only needed after wallet connect — lazy load it.
const BotConfigPanel = dynamic(() => import('@/components/trades/BotConfigPanel'), {
ssr: false,
loading: () => <div style={{ height: 200, background: 'var(--bg-sunk)', borderRadius: 12, marginBottom: 16 }} />,
})
export default function SettingsClient() {
const pathname = usePathname()
const locale = pathname.split('/')[1] || 'en'
const href = (path: string) => `/${locale}${path}`
return (
<>
<div id="bot-config">
<BotConfigPanel />
</div>
<div style={{ marginTop: 8 }}>
<TelegramCard />
</div>
<div className="card" style={{ padding: '14px 20px', marginTop: 8 }}>
<div style={{ display: 'flex', gap: 20, flexWrap: 'wrap' }}>
<Link href={href('/privacy')} style={{ fontSize: 13, color: 'var(--ink-3)', textDecoration: 'none' }}>Privacy Policy </Link>
<Link href={href('/terms')} style={{ fontSize: 13, color: 'var(--ink-3)', textDecoration: 'none' }}>Terms </Link>
<Link href={href('/contact')} style={{ fontSize: 13, color: 'var(--ink-3)', textDecoration: 'none' }}>Contact </Link>
</div>
</div>
</>
)
}