From 6e2fe9ff84679ff4dde2fb38f53967a1a00b6754 Mon Sep 17 00:00:00 2001 From: Ruslan Panasiuk Date: Wed, 27 Dec 2023 05:34:49 +0500 Subject: [PATCH] feat: update app layout & contact form --- src/lib/locales/en.json | 3 +- src/lib/locales/ru.json | 3 +- src/routes/+layout.svelte | 45 +++++++++++++++------------- src/routes/App.svelte | 20 +++++++------ src/routes/contact/+page.svelte | 53 +++++++++++++++++---------------- 5 files changed, 68 insertions(+), 56 deletions(-) diff --git a/src/lib/locales/en.json b/src/lib/locales/en.json index 82931fc..a4351be 100644 --- a/src/lib/locales/en.json +++ b/src/lib/locales/en.json @@ -105,7 +105,8 @@ "name": "Your Full Name", "email": "Your Email Address", "message": "Message", - "button": "Send" + "button": "Send", + "ways": "You can use following ways to contact us" }, "results": { "inputData": "Input data", diff --git a/src/lib/locales/ru.json b/src/lib/locales/ru.json index a9ea546..9fd3d5f 100644 --- a/src/lib/locales/ru.json +++ b/src/lib/locales/ru.json @@ -105,7 +105,8 @@ "name": "Ваше полное имя", "email": "Ваш email", "message": "Сообщение", - "button": "Отправить" + "button": "Отправить", + "ways": "Вы можете использовать следующие способы для связи" }, "results": { "inputData": "Исходные данные", diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 9219f9f..159b59e 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,5 +1,5 @@
-

{$_('contact.title')}

+

{$_("contact.title")}

+ {$_("contact.ways")}: + +
- \ No newline at end of file + li { + line-height: 1.25rem; + } + } +