deslop 0.2.0

A static analyzer that spots low-context and AI-assisted code patterns across naming, concurrency, security, performance, and test quality.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { cn } from '../lib/cn'

type SectionIntroProps = {
  eyebrow: string
  title: string
  description: string
  className?: string
}

export function SectionIntro({ eyebrow, title, description, className }: SectionIntroProps) {
  return (
    <div className={cn('max-w-4xl', className)}>
      <span className="eyebrow">{eyebrow}</span>
      <h2 className="mt-6 text-4xl leading-[1.02] font-bold sm:text-5xl lg:text-[3.65rem]">{title}</h2>
      <p className="mt-5 max-w-3xl text-base leading-8 text-[var(--muted)] sm:text-lg">{description}</p>
    </div>
  )
}