Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / apps/web/components/sections/communities-section.tsx |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | apps/web/components/sections/communities-section.tsx |
| Original SHA-256 | bf18a7e71422bb931de21739e90c58b316ee65df79cdf7fd6f9f3e2eed61c306 |
| Git blob SHA | 93e9fbb5d435d2fb1a15a71ef6d0bd594668e320 |
| Reading-copy SHA-256 | bf18a7e71422bb931de21739e90c58b316ee65df79cdf7fd6f9f3e2eed61c306 |
Recovered source transcript
Download complete source text ↓64 lines · 2.1 KB
import { SiReddit, SiX } from '@icons-pack/react-simple-icons'
import { Linkedin } from 'lucide-react'
import { Section } from '@/components/layout/section'
import { Card } from '@/components/ui/card'
const communities = [
{
name: 'Reddit',
description:
'Join our Reddit community to discuss llms.txt implementation and share your experiences.',
icon: SiReddit,
url: 'https://reddit.com/r/llmstxt'
},
{
name: 'X Community',
description: 'Follow us on X for the latest updates, tips, and community highlights.',
icon: SiX,
url: 'https://x.com/i/communities/1896567756608491718'
},
{
name: 'LinkedIn',
description:
'Connect with professionals implementing llms.txt and stay updated with industry news.',
icon: Linkedin,
url: 'https://www.linkedin.com/groups/14615106/'
}
]
/**
* Renders the communities section with links to Reddit, X, and LinkedIn
*/
export function CommunitiesSection() {
return (
<Section
title="Join Our Communities"
description="Connect with other developers and stay updated with the latest llms.txt news and discussions."
>
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
{communities.map(community => {
const Icon = community.icon
return (
<a
key={community.name}
href={community.url}
target="_blank"
rel="noopener noreferrer"
className="block"
>
<Card className="p-6 flex flex-col items-center text-center space-y-4 transition-all hover:border-primary hover:bg-muted/50">
<div className="h-12 w-12 rounded-full bg-muted flex items-center justify-center">
<Icon className="size-6" />
</div>
<h3 className="text-lg font-semibold">{community.name}</h3>
<p className="text-sm text-muted-foreground">{community.description}</p>
<span className="text-sm font-medium text-primary">Join Community →</span>
</Card>
</a>
)
})}
</div>
</Section>
)
}