From 9020d7bbef0086e1009637b55872ad8d357b63b6 Mon Sep 17 00:00:00 2001 From: Anatoly Kopyl Date: Fri, 27 Sep 2024 23:52:38 +0300 Subject: [PATCH] About me --- src/lib/en.json | 10 ++++++++++ src/lib/ru.json | 10 ++++++++++ src/routes/+layout.svelte | 4 ++++ src/routes/+page.svelte | 2 ++ src/routes/About.svelte | 37 +++++++++++++++++++++++++++++++++++++ src/routes/Footer.svelte | 4 ++-- 6 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 src/routes/About.svelte diff --git a/src/lib/en.json b/src/lib/en.json index 2a919fe..8e8ab53 100644 --- a/src/lib/en.json +++ b/src/lib/en.json @@ -3,6 +3,16 @@ "hero": { "subtitle": "Attention to detail in development of non-standard solutions of any complexity" }, + "about": { + "h": "About me", + "text": "

Fullstack developer from St. Petersburg.

I like to explore new technologies, find unusual approaches to solving problems and work at the intersection of fields.

", + "career": "Career:", + "career_value": "Selectel", + "bachelors": "BSIT:", + "bachelors_value": "SPBSUT", + "masters": "MS:", + "masters_value": "ITMO (in progress)" + }, "projects": { "h": "Projects", "link_types": { diff --git a/src/lib/ru.json b/src/lib/ru.json index 22b11ce..dc91a23 100644 --- a/src/lib/ru.json +++ b/src/lib/ru.json @@ -3,6 +3,16 @@ "hero": { "subtitle": "Разработка нестандартных решений любой сложности, внимание к деталям" }, + "about": { + "h": "Обо мне", + "text": "

Fullstack разработчик из Санкт-Петербурга.

Люблю разбираться в новых технологиях, находить необычные подходы к решению проблем и работать на пересечении областей.

", + "career": "Работа:", + "career_value": "Selectel", + "bachelors": "Бакалавриат:", + "bachelors_value": "СПбГУТ", + "masters": "Магистратура:", + "masters_value": "ИТМО (в процессе)" + }, "projects": { "h": "Проекты", "link_types": { diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 39ccd75..fb9c0bd 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -20,4 +20,8 @@ text-decoration-color: inherit; } } + + :global(p:not(:last-of-type)) { + @apply mb-2; + } diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 40bbdf4..ab40598 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,6 +1,7 @@ @@ -8,6 +9,7 @@
+
diff --git a/src/routes/About.svelte b/src/routes/About.svelte new file mode 100644 index 0000000..4ae0e76 --- /dev/null +++ b/src/routes/About.svelte @@ -0,0 +1,37 @@ + + +
+

+ {$t('about.h')} +

+ +
+
+ {@html $t('about.text')} +
+ +
+
+ + {$t('about.career')} +
+ {$t('about.career_value')} + +
+ + {$t('about.bachelors')} +
+ {$t('about.bachelors_value')} + +
+ + {$t('about.masters')} +
+ {$t('about.masters_value')} +
+
+
diff --git a/src/routes/Footer.svelte b/src/routes/Footer.svelte index 562b0ab..aae2dec 100644 --- a/src/routes/Footer.svelte +++ b/src/routes/Footer.svelte @@ -4,7 +4,7 @@