diff --git a/.vscode/settings.json b/.vscode/settings.json index 61087f6..429353b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,5 +2,8 @@ "files.autoSave": "onFocusChange", "editor.formatOnPaste": true, "editor.formatOnSave": true, - "editor.defaultFormatter": "esbenp.prettier-vscode" + "editor.defaultFormatter": "esbenp.prettier-vscode", + "[html]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + } } diff --git a/src/lib/common.ts b/src/lib/common.ts new file mode 100644 index 0000000..7b00c71 --- /dev/null +++ b/src/lib/common.ts @@ -0,0 +1,4 @@ +import { locale } from '$lib/i18n'; + +export const capitalizeFirstLetter = ([first, ...rest]) => + first.toLocaleUpperCase(locale) + rest.join(''); diff --git a/src/lib/components/Profile.svelte b/src/lib/components/Profile.svelte index 3dd5c98..f05ed6c 100644 --- a/src/lib/components/Profile.svelte +++ b/src/lib/components/Profile.svelte @@ -8,9 +8,9 @@ alt="headshot" /> -
{$t('profile.about')}
+{$t('home.about')}
diff --git a/src/routes/[lang]/contact.svelte b/src/routes/[lang]/contact.svelte new file mode 100644 index 0000000..fae81dd --- /dev/null +++ b/src/routes/[lang]/contact.svelte @@ -0,0 +1,79 @@ + + +{$t('contact.description')}
+ +