{{ define "user/fragments/profileCard" }}
{{ if .AvatarUri }}
{{ end }}

{{ didOrHandle .UserDid .UserHandle }}

{{ block "followerFollowing" (list .Followers .Following) }} {{ end }}
{{ $profile := .Profile }} {{ with .Profile }} {{ if .Description }}

{{ .Description }}

{{ end }}
{{ if .Location }}
{{ i "map-pin" "size-4" }} {{ .Location }}
{{ end }} {{ if .IncludeBluesky }}
{{ template "user/fragments/bluesky" "w-4 h-4 text-black dark:text-white" }} {{ didOrHandle $.UserDid $.UserHandle }}
{{ end }} {{ range $link := .Links }} {{ if $link }}
{{ i "link" "size-4" }} {{ $link }}
{{ end }} {{ end }} {{ if not $profile.IsStatsEmpty }}
{{ range $stat := .Stats }} {{ if $stat.Kind }}
{{ $stat.Value }} {{ $stat.Kind.String }}
{{ end }} {{ end }}
{{ end }}
{{ end }} {{ if ne .FollowStatus.String "IsSelf" }} {{ template "user/fragments/follow" . }} {{ else }} {{ end }}
{{ end }} {{ define "followerFollowing" }} {{ $followers := index . 0 }} {{ $following := index . 1 }}
{{ i "users" "size-4" }} {{ $followers }} followers {{ $following }} following
{{ end }}