Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / apps/web/components/sections/recently-added-section.tsx |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | apps/web/components/sections/recently-added-section.tsx |
| Original SHA-256 | d729262143721cc3173b97b5e2b09fed5b96d75920c314be6ca4c723db6ee806 |
| Git blob SHA | 92c3232c3075536a717129410418d6659de6ae1c |
| Reading-copy SHA-256 | d729262143721cc3173b97b5e2b09fed5b96d75920c314be6ca4c723db6ee806 |
Recovered source transcript
Download complete source text ↓32 lines · 0.8 KB
import { Section } from '@/components/layout/section'
import { LLMGrid } from '@/components/llm/llm-grid'
import type { WebsiteMetadata } from '@/lib/content-loader'
interface RecentlyAddedSectionProps {
websites: WebsiteMetadata[]
maxItems?: number
}
export function RecentlyAddedSection({ websites, maxItems = 8 }: RecentlyAddedSectionProps) {
if (!websites || websites.length === 0) {
return null
}
// Take only the most recent items
const recentWebsites = websites.slice(0, maxItems)
return (
<Section
title="Recently Added"
description="Discover the latest websites and platforms that have joined llms.txt hub"
>
<LLMGrid
items={recentWebsites}
variant="default"
animateIn={true}
analyticsSource="recently-added"
/>
</Section>
)
}