# All files / src/components/molecules ContentPreviewCardsSection.tsx

0% Statements 0/72
0% Branches 0/1
0% Functions 0/1
0% Lines 0/72

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73

     import { Card } from '@/components/ui/card'
    import { Badge } from '@/components/ui/badge'
    import { Calendar } from '@phosphor-icons/react'

    export function ContentPreviewCardsSection() {
      return (
        <section className="space-y-6">
          <div>
            <h2 className="text-3xl font-bold mb-2">Content Preview Cards</h2>
            <p className="text-muted-foreground">
              Compact cards displaying content with metadata
            </p>
          </div>

          <div className="grid grid-cols-1 md:grid-cols-2 gap-6">
            <Card className="p-6 hover:shadow-lg transition-shadow">
              <div className="space-y-4">
                <div className="flex items-start justify-between gap-4">
                  <div className="space-y-1">
                    <h3 className="font-semibold text-lg line-clamp-2">
                      Building Scalable Design Systems
                    </h3>
                    <p className="text-sm text-muted-foreground">
                      Learn how to create and maintain design systems that grow with your team.
                    </p>
                  </div>
                </div>
                <div className="flex items-center gap-4 text-sm text-muted-foreground">
                  <div className="flex items-center gap-1">
                    <Calendar className="h-4 w-4" />
                    <span>Mar 15, 2024</span>
                  </div>
                  <span>•</span>
                  <span>5 min read</span>
                </div>
                <div className="flex gap-2">
                  <Badge variant="outline">Design</Badge>
                  <Badge variant="outline">System</Badge>
                </div>
              </div>
            </Card>

            <Card className="p-6 hover:shadow-lg transition-shadow">
              <div className="space-y-4">
                <div className="flex items-start justify-between gap-4">
                  <div className="space-y-1">
                    <h3 className="font-semibold text-lg line-clamp-2">
                      Advanced TypeScript Patterns
                    </h3>
                    <p className="text-sm text-muted-foreground">
                      Explore advanced type system features and practical patterns for production apps.
                    </p>
                  </div>
                </div>
                <div className="flex items-center gap-4 text-sm text-muted-foreground">
                  <div className="flex items-center gap-1">
                    <Calendar className="h-4 w-4" />
                    <span>Mar 12, 2024</span>
                  </div>
                  <span>•</span>
                  <span>8 min read</span>
                </div>
                <div className="flex gap-2">
                  <Badge variant="outline">TypeScript</Badge>
                  <Badge variant="outline">Tutorial</Badge>
                </div>
              </div>
            </Card>
          </div>
        </section>
      )
    }