import { Card } from "$components/ui/Card"; import type { UserProfile } from "$lib/model"; import type { Component } from "solid-js"; type UserProfileCardProps = { profile: UserProfile; class?: string }; export const UserProfileCard: Component = (props) => { return (
{props.profile.did.slice(4, 6).toUpperCase()}

{props.profile.did}

AT Protocol User

{props.profile.follower_count}
Followers
{props.profile.following_count}
Following
{props.profile.deck_count + props.profile.indexed_deck_count}
Decks
); };