From 812ff50ccf6ad1bd83428b388bf93e7463227ebe Mon Sep 17 00:00:00 2001 From: worthymelight <117606652+worthymelight@users.noreply.github.com> Date: Sun, 29 Jun 2025 16:02:58 +0300 Subject: [PATCH 1/6] Vectorization of header --- Web/static/img/header.svg | 226 ++++++++++++++++++++ Web/static/img/header_custom.svg | 229 +++++++++++++++++++++ Web/static/img/xheader.svg | 229 +++++++++++++++++++++ Web/static/img/xheader_custom.svg | 332 ++++++++++++++++++++++++++++++ 4 files changed, 1016 insertions(+) create mode 100644 Web/static/img/header.svg create mode 100644 Web/static/img/header_custom.svg create mode 100644 Web/static/img/xheader.svg create mode 100644 Web/static/img/xheader_custom.svg diff --git a/Web/static/img/header.svg b/Web/static/img/header.svg new file mode 100644 index 00000000..4518506a --- /dev/null +++ b/Web/static/img/header.svg @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Web/static/img/header_custom.svg b/Web/static/img/header_custom.svg new file mode 100644 index 00000000..913e0b1c --- /dev/null +++ b/Web/static/img/header_custom.svg @@ -0,0 +1,229 @@ + + + + diff --git a/Web/static/img/xheader.svg b/Web/static/img/xheader.svg new file mode 100644 index 00000000..154a2c7d --- /dev/null +++ b/Web/static/img/xheader.svg @@ -0,0 +1,229 @@ + + + + diff --git a/Web/static/img/xheader_custom.svg b/Web/static/img/xheader_custom.svg new file mode 100644 index 00000000..0f6081de --- /dev/null +++ b/Web/static/img/xheader_custom.svg @@ -0,0 +1,332 @@ + + + + From 5bcf3ab93b33531ba5bef55e60dd7257ab413d5b Mon Sep 17 00:00:00 2001 From: worthymelight <117606652+worthymelight@users.noreply.github.com> Date: Sun, 29 Jun 2025 16:13:46 +0300 Subject: [PATCH 2/6] Update main.css --- Web/static/css/main.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Web/static/css/main.css b/Web/static/css/main.css index 7aa433d2..6efe959c 100644 --- a/Web/static/css/main.css +++ b/Web/static/css/main.css @@ -73,13 +73,13 @@ h1 { position: relative; width: 791px; height: 45px; - background: url('../img/header.png'); + background: url('../img/header.svg'); background-repeat: no-repeat; background-position: 0; } .page_custom_header { - background: url('../img/header_custom.png'); + background: url('../img/header_custom.svg'); } #page_act { From cabb65fc7871bfb6b8052e99a6e26d6257d9643b Mon Sep 17 00:00:00 2001 From: worthymelight <117606652+worthymelight@users.noreply.github.com> Date: Mon, 30 Jun 2025 20:26:57 +0300 Subject: [PATCH 3/6] Add files via upload --- Web/static/img/header.svg | 61 ++++++++++----- Web/static/img/header_custom.svg | 124 +++++++++++++++++++++++++----- Web/static/img/xheader.svg | 117 +++++++++++++++------------- Web/static/img/xheader_custom.svg | 48 +++++++----- 4 files changed, 234 insertions(+), 116 deletions(-) diff --git a/Web/static/img/header.svg b/Web/static/img/header.svg index 4518506a..e23f790f 100644 --- a/Web/static/img/header.svg +++ b/Web/static/img/header.svg @@ -25,16 +25,51 @@ inkscape:deskcolor="#d1d1d1" inkscape:document-units="mm" inkscape:zoom="1.4142136" - inkscape:cx="1116.168" - inkscape:cy="104.29825" + inkscape:cx="-31.112698" + inkscape:cy="100.76272" inkscape:window-width="2048" inkscape:window-height="1044" inkscape:window-x="0" inkscape:window-y="0" inkscape:window-maximized="1" - inkscape:current-layer="layer1" /> + inkscape:current-layer="g30" + showgrid="true" + showguides="true" + inkscape:lockguides="false"> + + + @@ -170,19 +205,6 @@ offset="1" id="stop3" /> - - - + inkscape:label="edging_white" /> Date: Mon, 30 Jun 2025 20:32:24 +0300 Subject: [PATCH 4/6] Some fixes for belorussian locale --- locales/by.strings | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/locales/by.strings b/locales/by.strings index 21c6b094..a59320c2 100755 --- a/locales/by.strings +++ b/locales/by.strings @@ -77,8 +77,8 @@ "politViews_5" = "Ліберальныя"; "politViews_6" = "Кансерватыўныя"; "politViews_7" = "Манархічныя"; -"politViews_8" = "Ультраконсервативные"; -"politViews_9" = "Либертарианские"; +"politViews_8" = "Ультракансерватыўныя"; +"politViews_9" = "Лібертарыянскія"; "contact_information" = "Кантактная інфармацыя"; @@ -93,9 +93,9 @@ "interests" = "Інтарэсы"; "favorite_music" = "Любімая музыка"; "favorite_films" = "Любімыя фільмы"; -"favorite_shows" = "Любимыя ТБ-шоу"; +"favorite_shows" = "Любімыя ТБ-шоу"; "favorite_books" = "Любімыя кнігі"; -"favorite_quotes" = "Любимыя цытаты"; +"favorite_quotes" = "Любімыя цытаты"; "information_about" = "Пра сябе"; /* Wall */ @@ -109,8 +109,8 @@ "delete" = "Выдаліць"; "comments" = "Каментары"; "share" = "Падзяліцца"; -"comments_tip" = "Будзьце першым, хто пакіне каментарый!"; -"your_comment" = "Ваш каментарый"; +"comments_tip" = "Будзьце першым, хто пакіне каментар!"; +"your_comment" = "Ваш каментар"; "comments" = "Каментары"; "shown" = "Паказана"; "x_out_of" = "$1 з"; @@ -325,7 +325,7 @@ "search_for_groups" = "Пошук груп"; "search_for_users" = "Шукаць карыстальнікаў"; "search_for_posts" = "Пошук пастоў"; -"search_for_comments" = "Пошук каментарыяў"; +"search_for_comments" = "Пошук каментароў"; "search_for_videos" = "Шукаць відэа"; "search_for_apps" = "Шукаць праграмы"; "search_for_notes" = "Шукаць нататкі"; @@ -400,7 +400,7 @@ "notifications_like" = "$1 спадабалася ваша $2запіс$3 ад $4"; "notifications_repost" = "$1 падзяліўся(-лась) вашай $2запісью$3 от $4"; -"notifications_comment_under" = "$1 пакінул(-ла) комментарый пад $2"; +"notifications_comment_under" = "$1 пакінул(-ла) каментар пад $2"; "notifications_under_note" = "вашай $3нататкай$4"; "notifications_under_photo" = "вашым $3фота$4"; "notifications_under_post" = "вашай $3запісью$4 ад $5"; From da58544c5b7fb9d11d95d4b7e932a77e24a12925 Mon Sep 17 00:00:00 2001 From: worthymelight <117606652+worthymelight@users.noreply.github.com> Date: Sun, 6 Jul 2025 15:33:12 +0300 Subject: [PATCH 5/6] Added background-size: 100%; for header to main.css --- Web/static/css/main.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Web/static/css/main.css b/Web/static/css/main.css index 6efe959c..5bbfe803 100644 --- a/Web/static/css/main.css +++ b/Web/static/css/main.css @@ -74,12 +74,14 @@ h1 { width: 791px; height: 45px; background: url('../img/header.svg'); + background-size: 100%; background-repeat: no-repeat; background-position: 0; } .page_custom_header { background: url('../img/header_custom.svg'); + background-size: 100%; } #page_act { From fe2509e9cb8553d5bd078d4b82f4e6204ec38536 Mon Sep 17 00:00:00 2001 From: worthymelight <117606652+worthymelight@users.noreply.github.com> Date: Sun, 6 Jul 2025 15:37:51 +0300 Subject: [PATCH 6/6] background -> background-image --- Web/static/css/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/static/css/main.css b/Web/static/css/main.css index 5bbfe803..23b1aea6 100644 --- a/Web/static/css/main.css +++ b/Web/static/css/main.css @@ -80,7 +80,7 @@ h1 { } .page_custom_header { - background: url('../img/header_custom.svg'); + background-image: url('../img/header_custom.svg'); background-size: 100%; }