|
|
@ -9,11 +9,16 @@ const ICONS_MAP: Record<string, string> = {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type Props = {
|
|
|
|
type Props = {
|
|
|
|
image: ImageMetadata
|
|
|
|
|
|
|
|
fullName: string
|
|
|
|
fullName: string
|
|
|
|
|
|
|
|
description: string
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
image: ImageMetadata
|
|
|
|
|
|
|
|
|
|
|
|
entranceDate: number
|
|
|
|
entranceDate: number
|
|
|
|
exitDate?: number
|
|
|
|
exitDate?: number
|
|
|
|
description: string
|
|
|
|
|
|
|
|
|
|
|
|
founder?: boolean
|
|
|
|
|
|
|
|
|
|
|
|
social?: {
|
|
|
|
social?: {
|
|
|
|
github?: string
|
|
|
|
github?: string
|
|
|
|
linkedin?: 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">
|
|
|
|
<div class="bubble">
|
|
|
|
<img src={image.src} alt={fullName.toLowerCase()} />
|
|
|
|
<img src={image.src} alt={fullName.toLowerCase()} />
|
|
|
|
<div class="title">{fullName}</div>
|
|
|
|
<div class="title">{fullName}</div>
|
|
|
|
<div class="date">{entranceDate}—{exitDate ?? 'Presente'}</div>
|
|
|
|
<div class="date">{entranceDate}—{exitDate ?? 'Presente'}</div>
|
|
|
|
|
|
|
|
{founder && <div class="founder">Fondatore</div>}
|
|
|
|
<div class="description">{description}</div>
|
|
|
|
<div class="description">{description}</div>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
social && (
|
|
|
|
social && (
|
|
|
|