From 17d2999324177e4a0c8ca95d1c8de110ddae0184 Mon Sep 17 00:00:00 2001 From: AucT Date: Wed, 11 Sep 2024 12:06:46 +0300 Subject: [PATCH 1/4] replace png/webp with svg for technologies --- themes/beaver/layouts/page/index.html | 12 ++++----- .../static/img/icons/technologies/node.svg | 6 +++++ .../static/img/icons/technologies/python.svg | 10 +++++++ .../static/img/icons/technologies/react.svg | 8 ++++++ .../static/img/icons/technologies/ruby.svg | 27 +++++++++++++++++++ .../static/img/icons/technologies/vue.svg | 6 +++++ 6 files changed, 63 insertions(+), 6 deletions(-) create mode 100644 themes/beaver/static/img/icons/technologies/node.svg create mode 100644 themes/beaver/static/img/icons/technologies/python.svg create mode 100644 themes/beaver/static/img/icons/technologies/react.svg create mode 100644 themes/beaver/static/img/icons/technologies/ruby.svg create mode 100644 themes/beaver/static/img/icons/technologies/vue.svg diff --git a/themes/beaver/layouts/page/index.html b/themes/beaver/layouts/page/index.html index ae179d388..7e890a25b 100644 --- a/themes/beaver/layouts/page/index.html +++ b/themes/beaver/layouts/page/index.html @@ -444,7 +444,7 @@

- Ruby on Rails + {{ partial "svg" "technologies/ruby" }}
@@ -464,7 +464,7 @@

- Python + {{ partial "svg" "technologies/python" }}
@@ -484,7 +484,7 @@

- React Js + {{ partial "svg" "technologies/react" }}
@@ -504,7 +504,7 @@

- Vue Js + {{ partial "svg" "technologies/vue" }}
@@ -540,7 +540,7 @@

- React Js + {{ partial "svg" "technologies/react" }}
@@ -560,7 +560,7 @@

- Node Js + {{ partial "svg" "technologies/node" }}
diff --git a/themes/beaver/static/img/icons/technologies/node.svg b/themes/beaver/static/img/icons/technologies/node.svg new file mode 100644 index 000000000..9f51570f5 --- /dev/null +++ b/themes/beaver/static/img/icons/technologies/node.svg @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/themes/beaver/static/img/icons/technologies/python.svg b/themes/beaver/static/img/icons/technologies/python.svg new file mode 100644 index 000000000..755d1e1db --- /dev/null +++ b/themes/beaver/static/img/icons/technologies/python.svg @@ -0,0 +1,10 @@ + + + + + + + \ No newline at end of file diff --git a/themes/beaver/static/img/icons/technologies/react.svg b/themes/beaver/static/img/icons/technologies/react.svg new file mode 100644 index 000000000..7cd854b24 --- /dev/null +++ b/themes/beaver/static/img/icons/technologies/react.svg @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/themes/beaver/static/img/icons/technologies/ruby.svg b/themes/beaver/static/img/icons/technologies/ruby.svg new file mode 100644 index 000000000..0898f8192 --- /dev/null +++ b/themes/beaver/static/img/icons/technologies/ruby.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/themes/beaver/static/img/icons/technologies/vue.svg b/themes/beaver/static/img/icons/technologies/vue.svg new file mode 100644 index 000000000..a88800462 --- /dev/null +++ b/themes/beaver/static/img/icons/technologies/vue.svg @@ -0,0 +1,6 @@ + + + + \ No newline at end of file From 884d43f19c1e64750b717d7ad950a27e88ecefa2 Mon Sep 17 00:00:00 2001 From: AucT Date: Wed, 11 Sep 2024 12:40:25 +0300 Subject: [PATCH 2/4] trim some svg --- themes/beaver/static/img/icons/technologies/node.svg | 6 ++---- themes/beaver/static/img/icons/technologies/react.svg | 7 ++----- themes/beaver/static/img/icons/technologies/vue.svg | 8 +++----- 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/themes/beaver/static/img/icons/technologies/node.svg b/themes/beaver/static/img/icons/technologies/node.svg index 9f51570f5..857c10b2e 100644 --- a/themes/beaver/static/img/icons/technologies/node.svg +++ b/themes/beaver/static/img/icons/technologies/node.svg @@ -1,6 +1,4 @@ - + + d="M247 281q3 0 4 2c2 3-2 27 34 30s57-2 60-18-4-21-60-27-56-33-56-42 0-49 68-49 70 40 71 47 0 9-4 9h-18q-4 0-5-5c-3-12-9-25-44-25s-39 11-39 22 11 13 47 18 65 9 69 39-16 58-71 58q-79 0-79-54 0-5 5-5m188-136q16 9 16 29v166q0 18-14 27l-146 85q-16 8-32 0l-49-29q-8-4-2-6 13-4 22-10 2-1 4 0l37 22q3 2 6 0l145-84q2-1 2-5V172q0-3-2-4L259 84q-3-2-6 0l-146 84q-2 1-2 4v169q0 3 2 4l40 23c16 9 35 3 35-15V188q0-6 6-6h16q6 0 6 6v165c0 49-45 55-77 37l-39-22q-15-9-15-27V172q0-18 16-27l142-82q19-12 38 0"/> \ No newline at end of file diff --git a/themes/beaver/static/img/icons/technologies/react.svg b/themes/beaver/static/img/icons/technologies/react.svg index 7cd854b24..1b90d9830 100644 --- a/themes/beaver/static/img/icons/technologies/react.svg +++ b/themes/beaver/static/img/icons/technologies/react.svg @@ -1,8 +1,5 @@ - - + + d="M255.95 326.95a183 71 0 1 1 .1 0Zm-61.42-35.52a183 71 60 1 1 .05.09Zm122.89.09a71 183 30 1 1 .05-.09Z"/> \ No newline at end of file diff --git a/themes/beaver/static/img/icons/technologies/vue.svg b/themes/beaver/static/img/icons/technologies/vue.svg index a88800462..8f83432f5 100644 --- a/themes/beaver/static/img/icons/technologies/vue.svg +++ b/themes/beaver/static/img/icons/technologies/vue.svg @@ -1,6 +1,4 @@ - - - + + + \ No newline at end of file From de5a74e80a8d45bee6b76cc5087d692418f4a35e Mon Sep 17 00:00:00 2001 From: AucT Date: Wed, 11 Sep 2024 12:52:22 +0300 Subject: [PATCH 3/4] update python --- .../beaver/static/img/icons/technologies/python.svg | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/themes/beaver/static/img/icons/technologies/python.svg b/themes/beaver/static/img/icons/technologies/python.svg index 755d1e1db..ee6d9cd03 100644 --- a/themes/beaver/static/img/icons/technologies/python.svg +++ b/themes/beaver/static/img/icons/technologies/python.svg @@ -1,10 +1 @@ - - - - - - - \ No newline at end of file + \ No newline at end of file From 2c08cacb94125f19000e1e8b1cb2b2fd43b19c71 Mon Sep 17 00:00:00 2001 From: AucT Date: Wed, 11 Sep 2024 13:09:56 +0300 Subject: [PATCH 4/4] update ruby to 1kb cropped --- .../static/img/icons/technologies/python.svg | 18 +++++++++++- .../static/img/icons/technologies/ruby.svg | 29 +++++++++---------- 2 files changed, 30 insertions(+), 17 deletions(-) diff --git a/themes/beaver/static/img/icons/technologies/python.svg b/themes/beaver/static/img/icons/technologies/python.svg index ee6d9cd03..097fff85c 100644 --- a/themes/beaver/static/img/icons/technologies/python.svg +++ b/themes/beaver/static/img/icons/technologies/python.svg @@ -1 +1,17 @@ - \ No newline at end of file + + + + + + + + + + + + + + + diff --git a/themes/beaver/static/img/icons/technologies/ruby.svg b/themes/beaver/static/img/icons/technologies/ruby.svg index 0898f8192..2cc1120dd 100644 --- a/themes/beaver/static/img/icons/technologies/ruby.svg +++ b/themes/beaver/static/img/icons/technologies/ruby.svg @@ -1,21 +1,18 @@ - - - - - - + + + + + - - - - - + + + + + - - - + + +