chore: better layout for macchinisti page, founder badge
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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}—{exitDate ?? 'Presente'}</div>
|
||||
{founder && <div class="founder">Fondatore</div>}
|
||||
<div class="description">{description}</div>
|
||||
{
|
||||
social && (
|
||||
|
||||
Reference in New Issue
Block a user