{{ define "title" }}{{ resolve .Card.UserDid }} · following {{ end }}

{{ define "profileContent" }}
  <div id="all-following" class="md:col-span-8 order-2 md:order-2">
      {{ block "following" . }}{{ end }}
  </div>
{{ end }}

{{ define "following" }}
  <p class="text-sm font-bold p-2 dark:text-white">ALL FOLLOWING</p>
  <div id="following" class="grid grid-cols-1 gap-4 mb-6">
    {{ range .Following }}
       {{ template "user/fragments/followCard"
          (dict
              "LoggedInUser" $.LoggedInUser
              "UserDid" .UserDid
              "Profile" .Profile
              "FollowStatus" .FollowStatus
              "FollowersCount" .FollowersCount
              "FollowingCount" .FollowingCount) }}
    {{ else }}
        <div class="text-base text-gray-500 flex items-center justify-center italic p-12 border border-gray-200 dark:border-gray-700 rounded">
          <span>This user does not follow anyone yet.</span>
        </div>
    {{ end }}
  </div>
{{ end }}
