aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdrien Hopkins <[email protected]>2022-08-19 12:15:41 -0500
committerAdrien Hopkins <[email protected]>2022-08-19 12:15:41 -0500
commitab17645b29b8508824b22ef57f796614fb372d6e (patch)
treeff882ae4ef75790705f0bf00213562525dceb077 /src
parente9de78bdd2d648130cd90ef53230091967f749a7 (diff)
downloadcoinos-ui-ab17645b29b8508824b22ef57f796614fb372d6e.tar.gz
coinos-ui-ab17645b29b8508824b22ef57f796614fb372d6e.zip
Put Adam's qualifications in a list with $json
Diffstat (limited to 'src')
-rw-r--r--src/components/About.svelte13
-rw-r--r--src/locales/en.json14
2 files changed, 13 insertions, 14 deletions
diff --git a/src/components/About.svelte b/src/components/About.svelte
index 6aa5dd62..2b64bbf4 100644
--- a/src/components/About.svelte
+++ b/src/components/About.svelte
@@ -1,6 +1,6 @@
<script>
import { Image, Icon } from '$comp';
- import { _ } from 'svelte-i18n';
+ import { _, json } from 'svelte-i18n';
</script>
<h3 class="text-5xl font-medium mb-10 text-center">{$_('about.header')}</h3>
@@ -51,11 +51,8 @@
<ul
class="w-full mx-auto md:w-[700px] lg:w-[500px] xl:w-auto text-secondary px-1 md:px-10 text-xl list-disc space-y-5"
>
- <li>{$_('about.founder.bitcoin')}</li>
- <li>{$_('about.founder.webDev')}</li>
- <li>{$_('about.founder.bitcoinVancouver')}</li>
- <li>{$_('about.founder.bitcoinCoop')}</li>
- <li>{$_('about.founder.beliefs')}</li>
- <li>{$_('about.founder.familialRelationships')}</li>
- </ul>
+ {#each $json('about.founder.qualifications') as qualification}
+ <li>{qualification}</li>
+ {/each}
+ </ul>
</div>
diff --git a/src/locales/en.json b/src/locales/en.json
index dd1fac89..96f62c53 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -14,12 +14,14 @@
"header": "The Founder",
"name": "Adam Soltys",
"position": "Chief Technical Officer",
- "bitcoin": "Running bitcoin since 2011",
- "webDev": "20+ years web development experience in government and industry",
- "bitcoinVancouver": "Early bitcoin Vancouver meetup organizer",
- "bitcoinCoop": "Founder of The bitcoin Co-op and early supporter of Decentral Vancouver",
- "beliefs": "Yogi, permaculturist, anarchist, decentralist",
- "familialRelationships": "Husband, father, brother, son"
+ "qualifications": [
+ "Running bitcoin since 2011",
+ "20+ years web development experience in government and industry",
+ "Early bitcoin Vancouver meetup organizer",
+ "Founder of The bitcoin Co-op and early supporter of Decentral Vancouver",
+ "Yogi, permaculturist, anarchist, decentralist",
+ "Husband, father, brother, son"
+ ]
}
},
"error": {