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>
26 lines
1.0 KiB
TypeScript
26 lines
1.0 KiB
TypeScript
// Archive is legacy/test data only — not part of the live signal stack.
|
|
// noindex keeps it out of search results (duplicate/thin content risk)
|
|
// while keeping it accessible to logged-in users for inspection.
|
|
export const revalidate = 60 // archive data rarely changes — ISR at 60s keeps server load low
|
|
import type { Metadata } from 'next'
|
|
import { type PostListResponse } from '@/lib/api'
|
|
import { getPosts } from '@/lib/api'
|
|
import { buildArchiveFallbackResponse, getInitialPostPage } from '@/lib/postPage'
|
|
import ArchivePageClient from './ArchivePageClient'
|
|
|
|
export const metadata: Metadata = {
|
|
robots: { index: false, follow: false },
|
|
}
|
|
|
|
export default async function ArchivePage() {
|
|
const initialData: PostListResponse | null = await getInitialPostPage(30, 1, {
|
|
filters: { archiveOnly: true },
|
|
legacyFallback: async () => {
|
|
const legacyItems = await getPosts(500, 1).catch(() => null)
|
|
return legacyItems ? buildArchiveFallbackResponse(legacyItems, 1, 30) : null
|
|
},
|
|
})
|
|
|
|
return <ArchivePageClient initialData={initialData} />
|
|
}
|