Suggestion on how to deal with data

This commit is contained in:
tree 2022-10-12 16:16:41 +02:00
rodič 41592b349b
revize 1a9bf73ee3
6 změnil soubory, kde provedl 53 přidání a 1 odebrání

1
.gitignore vendorováno
Zobrazit soubor

@ -6,3 +6,4 @@ node_modules
.env
.env.*
!.env.example
bun.lockb

19
data/data.yaml Normal file
Zobrazit soubor

@ -0,0 +1,19 @@
contributors:
- name: Rachel-Rose O'Leary
twitter: lunar_mining
bio: DarkFi core dev, writer
roles: [ speaker ]
- name: Artem Vorotnikov
twitter: vorot93
bio: Ethereum Core Developer, creator of Akula
roles: [ speaker ]
remote: true
- name: Pavol Luptak
nickname: wilder
twitter: wilderco
bio: Nethemba, Hacktrophy, liberation.travel
roles: [ speaker ]
remote: true

1
data/photos Symbolický odkaz
Zobrazit soubor

@ -0,0 +1 @@
../static/photos

Zobrazit soubor

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"build": "js-yaml ./data/data.yaml > ./static/data.json && vite build",
"preview": "vite preview",
"test": "playwright test",
"lint": "prettier --plugin-search-dir . --check . && eslint .",

31
static/data.json Normal file
Zobrazit soubor

@ -0,0 +1,31 @@
{
"contributors": [
{
"name": "Rachel-Rose O'Leary",
"twitter": "lunar_mining",
"bio": "DarkFi core dev, writer",
"roles": [
"speaker"
]
},
{
"name": "Artem Vorotnikov",
"twitter": "vorot93",
"bio": "Ethereum Core Developer, creator of Akula",
"roles": [
"speaker"
],
"remote": true
},
{
"name": "Pavol Luptak",
"nickname": "wilder",
"twitter": "wilderco",
"bio": "Nethemba, Hacktrophy, liberation.travel",
"roles": [
"speaker"
],
"remote": true
}
]
}

binární
static/photos/rachel-oleary.jpg Normal file

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 171 KiB