4c3c8c6f87
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>
60 lines
2.3 KiB
TypeScript
60 lines
2.3 KiB
TypeScript
import type { Metadata } from 'next'
|
|
import { getLocale } from 'next-intl/server'
|
|
import TradesPageClient from './TradesPageClient'
|
|
import Breadcrumbs from '@/components/seo/Breadcrumbs'
|
|
|
|
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://trumpsignal.com'
|
|
|
|
export async function generateMetadata(): Promise<Metadata> {
|
|
const locale = await getLocale()
|
|
const isZh = false // i18n shelved — Chinese branches kept as dead code for future revival; see messages/zh.json
|
|
const title = isZh ? '交易执行与持仓' : 'Trades & Open Positions'
|
|
const description = isZh
|
|
? '查看当前持仓、历史成交、按信号来源拆分的盈亏,以及机器人是否已经具备真实执行条件。'
|
|
: 'Review open positions, historical executions, source-level P&L, and whether the bot is ready for live trading.'
|
|
return {
|
|
title,
|
|
description,
|
|
openGraph: { title, description },
|
|
alternates: {
|
|
canonical: `${siteUrl}/${locale}/trades`,
|
|
languages: {
|
|
en: `${siteUrl}/en/trades`,
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
// GEO: the trade history is a dataset — every bot execution with entry/exit,
|
|
// P&L, hold time, and the signal that triggered it. Cited for "track record"
|
|
// and "does it work" queries.
|
|
const tradesDataset = {
|
|
'@context': 'https://schema.org',
|
|
'@type': 'Dataset',
|
|
'@id': `${siteUrl}/en/trades#dataset`,
|
|
name: 'Trump Alpha trade execution history',
|
|
description:
|
|
'Per-wallet record of signal-triggered trades: asset, direction, entry and exit price, realised P&L, hold time, and the triggering signal. Private to each wallet owner — wallet signature required to view.',
|
|
url: `${siteUrl}/en/trades`,
|
|
keywords: ['crypto trading track record', 'Hyperliquid', 'P&L', 'signal performance'],
|
|
// Data is private (wallet-signed access), not freely accessible to the public
|
|
isAccessibleForFree: false,
|
|
creator: { '@type': 'Organization', name: 'Endorphin', url: siteUrl },
|
|
publisher: { '@id': `${siteUrl}/#org` },
|
|
license: `${siteUrl}/en/terms`,
|
|
temporalCoverage: '2025-01-01/..',
|
|
}
|
|
|
|
export default function TradesPage() {
|
|
return (
|
|
<>
|
|
<script
|
|
type="application/ld+json"
|
|
dangerouslySetInnerHTML={{ __html: JSON.stringify(tradesDataset) }}
|
|
/>
|
|
<Breadcrumbs items={[{ name: 'Trades', path: '/en/trades' }]} />
|
|
<TradesPageClient />
|
|
</>
|
|
)
|
|
}
|