chore: better layout for macchinisti page, founder badge
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-01-17 23:14:19 +01:00
parent 23baa758cf
commit 58d0378d49
6 changed files with 47 additions and 12 deletions
+9 -3
View File
@@ -9,11 +9,16 @@ const ICONS_MAP: Record<string, string> = {
}
type Props = {
image: ImageMetadata
fullName: string
description: string
image: ImageMetadata
entranceDate: number
exitDate?: number
description: string
founder?: boolean
social?: {
github?: string
linkedin?: string
@@ -22,13 +27,14 @@ type Props = {
}
}
const { image, fullName, entranceDate, exitDate, description, social } = Astro.props
const { fullName, description, image, entranceDate, exitDate, founder, social } = Astro.props
---
<div class="bubble">
<img src={image.src} alt={fullName.toLowerCase()} />
<div class="title">{fullName}</div>
<div class="date">{entranceDate}&mdash;{exitDate ?? 'Presente'}</div>
{founder && <div class="founder">Fondatore</div>}
<div class="description">{description}</div>
{
social && (