Skip to content

Commit

Permalink
ajuste do tamanho do avatar e separação dos colaboradores
Browse files Browse the repository at this point in the history
  • Loading branch information
lucachaves committed Jul 8, 2023
1 parent 9fbd71e commit 627601b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 10 deletions.
6 changes: 4 additions & 2 deletions src/components/ProjectCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ const projectId = getProjectId(project);
src={project.data.preview ?? '/projects/imgs/project-placeholder.png'}
class="animate-pulse bg-gray-300 object-cover w-full h-[200px] md:h-[150px] hover:scale-105 transition duration-500"
alt={project.data.name}
onload="this.onload=null;this.classList.remove('animate-pulse');"
onload="
this.onload = null; this.classList.remove('animate-pulse');
"
onerror="this.onerror=null;this.classList.remove('animate-pulse', 'bg-neutral-400');this.src='/projects/imgs/project-placeholder.png';"
/>
</a>
Expand All @@ -48,7 +50,7 @@ const projectId = getProjectId(project);
src={`${person.data.avatar}?size=32`}
alt={person.data.name.full}
title={person.data.name.full}
class="rounded-full"
class="rounded-full w-8"
/>
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion src/content/people/luiz-fernando-20231370027.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: 20231370027
name:
compact: Luiz Fernando
full: Luiz Fernando de Albuquerque Gomes
avatar:
avatar: https://github.com/LuizFernando12.png
occupations:
- id: 20231370027
type: student
Expand Down
3 changes: 3 additions & 0 deletions src/content/projects/securitas-tech.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Securitas Tech
description: Portal para uma empresa de tecnologia e segurança digital apaixonada por conectar pessoas e garantir que todos possam explorar as oportunidades do mundo digital com confiança.
preview: https://raw.githubusercontent.com/lucaskaiquee/Projeto_LM/main/Securitas-tech_resized.png
Expand All @@ -15,4 +16,6 @@ tags:
- tailwind
owners:
- 20231370019
- 20231370027
- 20231370006
---
25 changes: 18 additions & 7 deletions src/pages/codes/[project].astro
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,24 @@ const category = project.data.category as ProjectProps['category'];
}
<div class="mb-2">
<div class="font-bold text-lg">Colaboradores:</div>
{
people.map((person) => (
<a class="underline" href={`/projects/people/${person.data.id}`}>
{person.data.name.compact}
</a>
))
}
<ul class="list-disc list-inside">
{
people
.sort((a, b) =>
a.data.name.compact.localeCompare(b.data.name.compact)
)
.map((person) => (
<li>
<a
class="underline"
href={`/projects/people/${person.data.id}`}
>
{person.data.name.compact}
</a>
</li>
))
}
</ul>
</div>
<div class="mb-2">
<div class="font-bold text-lg">Tags:</div>
Expand Down

0 comments on commit 627601b

Please sign in to comment.