ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/llms-txt-hub / apps/web/components/project-list.tsx

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/llms-txt-hub / apps/web/components/project-list.tsx
DateNot specified in source
RepositoryJanady13/llms-txt-hub
Revisione0f4bf978d4df168369c7601d9c5f5ea89e84377
Branchmain
Path or archive memberapps/web/components/project-list.tsx
Original SHA-2567e3b11a8e5148a8d2dd5adc120cb2f38b476ff4174259f3175de349a957dc7dd
Git blob SHA43087845c77c999ac8ce30edbc8f92b4fb0d0d67
Reading-copy SHA-2567e3b11a8e5148a8d2dd5adc120cb2f38b476ff4174259f3175de349a957dc7dd

Original source ↗

Recovered source transcript

import { Badge } from '@thedaviddias/design-system/badge' import Link from 'next/link' import { LLMButton } from '@/components/buttons/llm-button' import { FaviconWithFallback } from '@/components/ui/favicon-with-fallback' import { getRoute } from '@/lib/routes' import { stripHtmlTags } from '@/lib/utils' interface ProjectListProps { items: Array<{ slug: string name: string description: string website: string llmsUrl: string llmsFullUrl?: string | null category?: string isUnofficial?: boolean }> } /** * Displays a list of projects with metadata and action buttons * @param props - The component props * @returns React component that renders project cards */ export function ProjectList({ items = [] }: ProjectListProps) { if (!items?.length) { return null } return ( <div className="space-y-4"> {items.map(item => { if (!item?.slug) return null return ( <div key={item.slug} className="relative border rounded-lg p-4 hover:bg-muted/50 transition-colors group relative" > <div className="flex items-start gap-4"> <FaviconWithFallback website={item.website} name={item.name} size={32} className="rounded-sm" /> <div className="grow"> <div className="flex justify-between items-start"> <div> <div className="flex items-center gap-2"> <h3 className="text-lg font-semibold group-hover:underline"> <Link href={getRoute('website.detail', { slug: item.slug })} className="z-10 after:absolute after:inset-0 after:content-[''] z-10" > {item.name} </Link> </h3> {item.isUnofficial && ( <Badge variant="outline" className="text-xs border-yellow-500/20 bg-yellow-500/10 dark:border-yellow-400/30 dark:bg-yellow-400/10 text-yellow-700 dark:text-yellow-300 hover:bg-yellow-500/20 dark:hover:bg-yellow-400/20 transition-colors" > Unofficial </Badge> )} </div> <p className="text-sm text-muted-foreground mt-1"> {stripHtmlTags(item.description)} </p> </div> </div> <div className="mt-2 flex items-center gap-2"> <LLMButton href={item.llmsUrl} type="llms" size="sm" className="relative z-20" /> {item.llmsFullUrl && ( <LLMButton href={item.llmsFullUrl} type="llms-full" size="sm" className="relative z-20" /> )} {item.category && ( <Badge variant="secondary" className="ml-2"> {item.category} </Badge> )} </div> </div> </div> </div> ) })} </div> ) }

Search equations, builds, manuscript text, and recovered sources.