Compare commits
No commits in common. 'e59bc4103550ca95492953bbf940e5deea1891bc' and '2dbdf99827f4d8af32fd44d538f47e5efd9981cf' have entirely different histories.
e59bc41035
...
2dbdf99827
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
@ -1,21 +0,0 @@
|
||||
const icons = Object.fromEntries(
|
||||
Object.entries(
|
||||
import.meta.glob<{ default: ImageMetadata }>(`node_modules/@phosphor-icons/core/assets/light/*.svg`, {
|
||||
eager: true,
|
||||
})
|
||||
).map(([path, module]) => [path.split('/').pop()!.split('.')[0].replace('-light', ''), module])
|
||||
)
|
||||
|
||||
type Props = {
|
||||
name: string
|
||||
}
|
||||
|
||||
export const PhosphorIcon = ({ name }: Props) => {
|
||||
const icon = icons[name]
|
||||
|
||||
if (!icon) {
|
||||
throw new Error(`Icon "${name}" not found`)
|
||||
}
|
||||
|
||||
return <img class="phosphor-icon" src={icon.default.src} alt={name} />
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
---
|
||||
import { Image } from 'astro:assets'
|
||||
|
||||
type Props = {
|
||||
name: string
|
||||
}
|
||||
|
||||
const { name } = Astro.props
|
||||
|
||||
const icons = Object.fromEntries(
|
||||
Object.entries(
|
||||
import.meta.glob<{ default: ImageMetadata }>(`node_modules/@phosphor-icons/core/assets/light/*.svg`)
|
||||
).map(([path, module]) => [path.split('/').pop()!.split('.')[0].replace('-light', ''), module])
|
||||
)
|
||||
|
||||
if (!icons[name]) {
|
||||
throw new Error(`Icon "${name}" not found`)
|
||||
}
|
||||
---
|
||||
|
||||
<Image class="phosphor-icon" src={icons[name]()} alt={name} />
|
@ -0,0 +1,47 @@
|
||||
[
|
||||
{
|
||||
"fullName": "Antonio De Lucreziis",
|
||||
"dateIn": "2019",
|
||||
"dateOut": "",
|
||||
"description": "Description here",
|
||||
"github": "https://github.com/adelucreziis",
|
||||
"website": "",
|
||||
"linkedin": ""
|
||||
},
|
||||
{
|
||||
"fullName": "Luca Lombardo",
|
||||
"dateIn": "2024",
|
||||
"dateOut": "",
|
||||
"description": "Algoritmi e Strutture Dati Bla Bla",
|
||||
"github": "https://github.com/lukefleed",
|
||||
"website": "https://lukefleex.xyz",
|
||||
"linkedin": "https://www.linkedin.com/in/l-lombardo/"
|
||||
},
|
||||
{
|
||||
"fullName": "Francesco Minnocci",
|
||||
"dateIn": "2022",
|
||||
"dateOut": "",
|
||||
"description": "Ho una laurea(?)",
|
||||
"github": "https://github.com/BachoSeven",
|
||||
"website": "https://bachoseven.com",
|
||||
"linkedin": ""
|
||||
},
|
||||
{
|
||||
"fullName": "Francesco Baldino",
|
||||
"dateIn": "2022",
|
||||
"dateOut": "",
|
||||
"description": "Bla Bla",
|
||||
"github": "",
|
||||
"website": "",
|
||||
"linkedin": ""
|
||||
},
|
||||
{
|
||||
"fullName": "Illya Serdyuk",
|
||||
"dateIn": "2019",
|
||||
"dateOut": "",
|
||||
"description": "Bla Bla",
|
||||
"github": "",
|
||||
"website": "",
|
||||
"linkedin": ""
|
||||
}
|
||||
]
|
@ -1,37 +0,0 @@
|
||||
# the schema of this file in "@/files.d.ts"
|
||||
|
||||
- fullName: Antonio De Lucreziis
|
||||
entranceDate: 2019
|
||||
description: |
|
||||
Appassionato di geometria computazionale, parser, teoria dei linguaggi di programmazione.
|
||||
social:
|
||||
github: https://github.com/aziis98
|
||||
website: https://poisson.phc.dm.unipi.it/~delucreziis/
|
||||
|
||||
- fullName: Luca Lombardo
|
||||
entranceDate: 2024
|
||||
description: Algoritmi e Strutture Dati bla bla
|
||||
social:
|
||||
github: https://github.com/lukefleed
|
||||
website: https://lukefleex.xyz
|
||||
linkedin: https://www.linkedin.com/in/l-lombardo/
|
||||
|
||||
- fullName: Francesco Minnocci
|
||||
entranceDate: 2022
|
||||
description: Ho una laurea (?), bla bla tastiere meccaniche
|
||||
social:
|
||||
github: https://github.com/BachoSeven
|
||||
website: https://bachoseven.com
|
||||
|
||||
- fullName: Francesco Baldino
|
||||
entranceDate: 2022
|
||||
description: Bla bla Star Wars
|
||||
|
||||
- fullName: Illya Serdyuk
|
||||
entranceDate: 2020
|
||||
description: Bla bla Void Linux
|
||||
|
||||
- fullName: Francesco Manicastri
|
||||
entranceDate: 2022
|
||||
exitDate: 2024
|
||||
description: Bla bla Keenan Crane
|
@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fullName": "Francesco Manicastri",
|
||||
"dateIn": "2022",
|
||||
"dateOut": "2024",
|
||||
"description": "Geometria bla bla",
|
||||
"github": "",
|
||||
"website": "",
|
||||
"linkedin": ""
|
||||
}
|
||||
]
|
@ -1,17 +0,0 @@
|
||||
declare module '*.yaml' {
|
||||
const value: any // Add type definitions here if desired
|
||||
export default value
|
||||
}
|
||||
|
||||
declare module '@/data/macchinisti.yaml' {
|
||||
type Macchinista = {
|
||||
fullName: string
|
||||
entranceDate: number
|
||||
exitDate?: number
|
||||
description: string
|
||||
social: Record<string, string>
|
||||
}
|
||||
|
||||
const value: Macchinista[]
|
||||
export default value
|
||||
}
|
Loading…
Reference in New Issue