'use client'; import Link from 'next/link'; import type { GuideMetadata } from '@/types/knowledge'; import { DifficultyBadge } from './DifficultyBadge'; import { categoryConfig } from '@/types/knowledge'; interface GuideCardProps { guide: GuideMetadata; } /** * Card component for displaying guide preview in listings */ export function GuideCard({ guide }: GuideCardProps) { const category = categoryConfig[guide.category]; return ( {/* Header with icon and difficulty */}
{guide.description}
{/* Footer with metadata */}