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

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

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

     import { Card } from '@/components/ui/card'
    import { Button } from '@/components/ui/button'
    import { Badge } from '@/components/ui/badge'
    import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'

    export function UserCardsSection() {
      return (
        <section className="space-y-6">
          <div>
            <h2 className="text-3xl font-bold mb-2">User Cards</h2>
            <p className="text-muted-foreground">
              Profile information with avatar and actions
            </p>
          </div>

          <div className="grid grid-cols-1 md:grid-cols-2 gap-6">
            <Card className="p-6">
              <div className="flex items-start gap-4">
                <Avatar className="h-12 w-12">
                  <AvatarImage src="https://i.pravatar.cc/150?img=1" />
                  <AvatarFallback>AM</AvatarFallback>
                </Avatar>
                <div className="flex-1 min-w-0">
                  <h3 className="font-semibold text-lg">Alex Morgan</h3>
                  <p className="text-sm text-muted-foreground">@alexmorgan</p>
                  <p className="text-sm mt-2">
                    Product designer passionate about creating delightful user experiences.
                  </p>
                </div>
                <Button size="sm" variant="outline">
                  Follow
                </Button>
              </div>
            </Card>

            <Card className="p-6">
              <div className="flex items-center gap-4">
                <Avatar className="h-16 w-16">
                  <AvatarImage src="https://i.pravatar.cc/150?img=2" />
                  <AvatarFallback>JD</AvatarFallback>
                </Avatar>
                <div className="flex-1 min-w-0">
                  <h3 className="font-semibold text-lg">Jordan Davis</h3>
                  <p className="text-sm text-muted-foreground mb-2">Senior Developer</p>
                  <div className="flex gap-2">
                    <Badge variant="secondary">React</Badge>
                    <Badge variant="secondary">TypeScript</Badge>
                  </div>
                </div>
              </div>
            </Card>
          </div>
        </section>
      )
    }