import type { Metadata } from 'next' import { getHomePageData } from '@/actions/get-home-page-data' import { JsonLd } from '@/components/json-ld' import { AppSidebar } from '@/components/layout/app-sidebar' import { CreatorProjectsSection } from '@/components/sections/creator-projects-section' import { FeaturedGuidesSection } from '@/components/sections/featured-guides-section' import { FeaturedProjectsSection } from '@/components/sections/featured-projects-section' import { HeroSection } from '@/components/sections/hero-section' import { HowItWorksSection } from '@/components/sections/how-it-works-section' import { LatestMembersSection } from '@/components/sections/latest-members-section' import { NewsletterSection } from '@/components/sections/newsletter-section' import { RecentlyAddedSection } from '@/components/sections/recently-added-section' import { ToolsSection } from '@/components/sections/tools-section' import { StaticWebsitesList } from '@/components/static-websites-list' import { generateBaseMetadata, generateWebsiteSchema, KEYWORDS } from '@/lib/seo/seo-config' export const metadata: Metadata = generateBaseMetadata({ title: 'Directory of AI-Ready Documentation & llms.txt Examples', description: 'Discover 500+ websites implementing the llms.txt standard. Browse real llms.txt examples, learn the specification, and find AI-ready documentation for APIs, platforms, and developer tools.', keywords: [ ...KEYWORDS.homepage, ...KEYWORDS.global, 'llms.txt directory', 'llms.txt examples', 'llms.txt standard', 'llms.txt file', 'llms.txt specification' ], path: '/' }) export default async function Home() { const { allProjects, featuredProjects, recentlyUpdatedProjects, totalCount, featuredGuides, latestMembers } = await getHomePageData() // Sort projects alphabetically by name server-side const sortedProjects = [...allProjects].sort((a, b) => a.name.localeCompare(b.name)) return ( <>
{/* Recently Added Section */}
{/* All Websites Section */}
) }