diff --git a/bun.lockb b/bun.lockb index c25f4ac..f699358 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index f5e7e4f..ea1b46c 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "astro": "^4.15.11", "fuse.js": "^7.0.0", "katex": "^0.16.9", + "lucide-static": "^0.468.0", "preact": "^10.19.6", "typescript": "^5.3.3" }, diff --git a/src/assets/gallery/008-website-development@4x3.jpg b/src/assets/gallery/008-website-development@4x3.jpg new file mode 100644 index 0000000..5a00044 Binary files /dev/null and b/src/assets/gallery/008-website-development@4x3.jpg differ diff --git a/src/assets/macchinisti/francesco-minnocci.png b/src/assets/macchinisti/francesco-minnocci.png new file mode 100644 index 0000000..4b9edfb Binary files /dev/null and b/src/assets/macchinisti/francesco-minnocci.png differ diff --git a/src/components/Bubble.astro b/src/components/Bubble.astro new file mode 100644 index 0000000..14179fa --- /dev/null +++ b/src/components/Bubble.astro @@ -0,0 +1,47 @@ +--- +import iconGithub from 'lucide-static/icons/github.svg' +import iconLinkedin from 'lucide-static/icons/linkedin.svg' +import iconGlobe from 'lucide-static/icons/globe.svg' +import iconMail from 'lucide-static/icons/mail.svg' + +const ICONS_MAP = { + github: iconGithub, + linkedin: iconLinkedin, + website: iconGlobe, + mail: iconMail, +} + +type Props = { + image: ImageMetadata + fullName: string + date: string + description: string + social?: { + github?: string + linkedin?: string + website?: string + mail?: string + } +} + +const { image, fullName, date, description, social } = Astro.props +--- + +
+ {fullName.toLowerCase()} +
{fullName}
+
{date}
+
{description}
+ { + social && ( +
+ {Object.entries(social).map(([key, value]) => ( + + {/* @ts-ignore */} + {key} + + ))} +
+ ) + } +
diff --git a/src/components/Header.astro b/src/components/Header.astro index 7b8a7d4..11753a0 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -5,6 +5,7 @@