Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
baufaker committed Apr 17, 2024
1 parent 8d29c21 commit 58ee9d7
Showing 1 changed file with 33 additions and 28 deletions.
61 changes: 33 additions & 28 deletions components/ui/PublicProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,34 +154,39 @@ function PublicProfileComponent(
})}
</ul>
</div>
<div class="flex flex-col items-start w-full">
<h2 class="text-[#8b8b8b] font-semibold mb-4 mt-10 w-full">
Documentos da {association.name}
</h2>
<ul class="flex flex-col gap-2 w-full">
{associationDocuments.map((doc) => {
return (
<li>
<a class="w-full" href={doc.file_url}>
<div class="flex justify-between rounded-md bg-[#C8C8C8] w-full px-5 h-10 items-center">
<div class="flex gap-2">
<span class="text-[#8F8D8D]">
<Icon id="Anexo" size={24} />
</span>
<span class="text-[#393939] font-semibold">
{doc.title}
</span>
</div>
<span class="text-[#8F8D8D] flex justify-end w-6">
<Icon id="Download" height={19} />
</span>
</div>
</a>
</li>
);
})}
</ul>
</div>
{
association && (

<div class="flex flex-col items-start w-full">
<h2 class="text-[#8b8b8b] font-semibold mb-4 mt-10 w-full">
Documentos da {association.name}
</h2>
<ul class="flex flex-col gap-2 w-full">
{associationDocuments.map((doc) => {
return (
<li>
<a class="w-full" href={doc.file_url}>
<div class="flex justify-between rounded-md bg-[#C8C8C8] w-full px-5 h-10 items-center">
<div class="flex gap-2">
<span class="text-[#8F8D8D]">
<Icon id="Anexo" size={24} />
</span>
<span class="text-[#393939] font-semibold">
{doc.title}
</span>
</div>
<span class="text-[#8F8D8D] flex justify-end w-6">
<Icon id="Download" height={19} />
</span>
</div>
</a>
</li>
);
})}
</ul>
</div>
)
}
</div>
)}
</PageWrap>
Expand Down

0 comments on commit 58ee9d7

Please sign in to comment.