Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / apps/web/components/sections/latest-updates-section.tsx |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | apps/web/components/sections/latest-updates-section.tsx |
| Original SHA-256 | bccd31265ace11193a9823678a866e3cef68231b0d5d26e2854a497887a8b804 |
| Git blob SHA | 51f58844bc7541cf6b724f0113b4e14b54c5828a |
| Reading-copy SHA-256 | bccd31265ace11193a9823678a866e3cef68231b0d5d26e2854a497887a8b804 |
Recovered source transcript
Download complete source text ↓36 lines · 1.2 KB
import { ArrowRight, Rss } from 'lucide-react'
import Link from 'next/link'
import { LLMGrid } from '@/components/llm/llm-grid'
import type { WebsiteMetadata } from '@/lib/content-loader'
import { getRoute } from '@/lib/routes'
interface LatestUpdatesSectionProps {
projects: WebsiteMetadata[]
}
/**
* Renders the latest project updates section with an RSS feed link
*/
export function LatestUpdatesSection({ projects }: LatestUpdatesSectionProps) {
return (
<section className="space-y-6">
<div className="flex justify-between items-center">
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold flex items-center gap-2">Latest Updates</h2>
<Link
href={getRoute('rss')}
className="text-sm text-muted-foreground hover:text-foreground"
>
<Rss className="size-4" />
<span className="sr-only">RSS Feed for latest updates</span>
</Link>
</div>
<Link href={getRoute('home')} className="flex items-center">
All updates <ArrowRight className="ml-2 size-4" />
</Link>
</div>
<LLMGrid items={projects} variant="compact" />
</section>
)
}