Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

updated logo

Blue Mousebd5fea436d0b
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 4de43e80f..b6ec44edb 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -27,12 +27,13 @@ module.exports = {
navbar: {
logo: {
alt: 'Swetrix',
- src: 'img/logo_blue.svg',
- srcDark: 'img/logo_white.svg',
+ src: 'img/logo_blue.png',
+ srcDark: 'img/logo_white.png',
href: 'https://swetrix.com',
target: '_blank',
- // width: '130px',
- // height: '50px',
+ style: {
+ height: '28px',
+ }
},
items: [
{
diff --git a/src/css/custom.css b/src/css/custom.css
index ade8025b0..bb42ce6ea 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -32,10 +32,6 @@
--ifm-footer-link-hover-color: var(--ifm-color-primary);
}
-.navbar .navbar__logo {
- height: 40px;
-}
-
.docusaurus-highlight-code-line {
background-color: rgb(72, 77, 91);
display: block;
diff --git a/static/img/logo_blue.png b/static/img/logo_blue.png
new file mode 100644
index 000000000..f016f5fc6
Binary files /dev/null and b/static/img/logo_blue.png differ
diff --git a/static/img/logo_blue.svg b/static/img/logo_blue.svg
deleted file mode 100644
index 855f57950..000000000
--- a/static/img/logo_blue.svg
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
-<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="1259.000000pt" height="381.000000pt" viewBox="0 0 1259.000000 381.000000" preserveAspectRatio="xMidYMid meet">
-<g transform="translate(0.000000,381.000000) scale(0.100000,-0.100000)" fill="#4f46e5" stroke="none">
-<path d="M3111 3466 c-106 -106 -189 -196 -185 -199 5 -2 35 -11 67 -18 56
--12 58 -14 52 -38 -4 -14 -103 -343 -222 -731 -118 -388 -224 -735 -236 -772
--11 -38 -23 -68 -27 -68 -4 0 -16 30 -27 68 -12 37 -93 303 -181 592 -88 289
--172 564 -187 613 l-26 87 -180 0 c-98 0 -179 -2 -179 -6 0 -5 490 -1556 541
--1711 l31 -93 173 0 174 0 24 78 c116 374 591 1888 594 1892 2 2 33 -4 69 -14
-37 -9 67 -16 69 -14 4 5 -136 512 -144 520 -4 4 -94 -79 -200 -186z"/>
-<path d="M678 3015 c-245 -46 -401 -181 -444 -384 -38 -183 7 -356 120 -458
-96 -86 225 -135 496 -188 252 -50 361 -98 407 -180 68 -121 22 -280 -99 -339
--116 -57 -322 -58 -444 -2 -66 30 -137 102 -160 161 -10 28 -23 45 -33 45 -9
-0 -74 -15 -146 -34 -127 -32 -130 -33 -128 -59 3 -51 67 -160 128 -223 73 -74
-160 -124 280 -160 85 -26 100 -28 290 -28 174 0 210 3 276 21 216 61 348 179
-395 357 18 65 18 226 0 291 -41 156 -150 268 -326 338 -81 32 -109 39 -295 77
--285 58 -380 103 -414 193 -18 47 -13 136 10 184 63 130 324 181 533 103 74
--28 130 -79 166 -154 l32 -63 96 24 c53 13 121 31 149 39 l53 14 -19 50 c-69
-181 -214 304 -427 361 -104 28 -379 36 -496 14z"/>
-<path d="M4050 2994 c0 -3 -88 -289 -196 -637 -108 -348 -203 -654 -211 -682
--19 -61 -17 -65 -79 155 -25 91 -49 168 -53 173 -4 4 -75 6 -158 5 l-150 -3
-77 -245 c43 -135 101 -318 129 -407 l52 -163 174 0 173 0 21 63 c11 34 108
-341 216 682 108 341 205 648 216 683 l21 62 854 0 854 0 0 160 0 160 -970 0
-c-533 0 -970 -2 -970 -6z"/>
-<path d="M6270 2840 l0 -160 310 0 310 0 0 -745 0 -745 165 0 165 0 0 905 0
-905 -475 0 -475 0 0 -160z"/>
-<path d="M7430 2840 l0 -160 203 2 202 3 0 155 0 155 -202 3 -203 2 0 -160z"/>
-<path d="M8180 2095 l0 -905 170 0 170 0 0 750 0 750 208 0 c229 0 293 -10
-372 -58 67 -41 102 -105 108 -197 7 -107 -10 -158 -72 -220 -68 -68 -129 -87
--298 -94 l-126 -6 276 -462 277 -462 183 -1 c101 0 181 3 179 8 -3 4 -100 164
--216 355 -117 192 -214 354 -217 360 -2 7 16 19 45 30 220 78 348 311 313 569
--31 221 -185 383 -424 448 -123 33 -229 40 -595 40 l-353 0 0 -905z"/>
-<path d="M9960 2095 l0 -905 170 0 170 0 -2 903 -3 902 -167 3 -168 2 0 -905z"/>
-<path d="M10628 2973 c10 -16 135 -194 277 -398 142 -203 271 -389 287 -411
-l29 -41 -346 -464 -347 -464 192 -3 c106 -1 194 -1 195 0 1 2 306 402 679 890
-372 489 679 895 682 903 5 13 -18 15 -174 15 l-179 0 -225 -312 c-124 -172
--231 -313 -237 -313 -7 0 -110 140 -230 310 l-218 310 -202 3 -203 2 20 -27z"/>
-<path d="M4667 2263 c-4 -3 -7 -246 -7 -540 l0 -533 670 0 670 0 0 160 0 160
--500 0 -500 0 0 230 0 230 260 0 260 0 0 150 0 150 -423 0 c-233 0 -427 -3
--430 -7z"/>
-<path d="M11722 1747 c-61 -62 -112 -116 -112 -120 0 -4 70 -104 156 -222
-l155 -215 204 0 204 0 -242 334 c-133 184 -244 335 -247 335 -3 1 -56 -50
--118 -112z"/>
-<path d="M6453 730 c-135 -28 -213 -136 -200 -278 9 -101 68 -184 154 -213 62
--22 170 -17 223 10 74 38 75 40 40 76 l-32 33 -44 -25 c-37 -21 -55 -25 -100
--21 -90 8 -145 62 -151 150 -6 74 26 135 87 166 55 28 101 28 157 1 l43 -21
-29 24 c17 12 29 27 27 32 -4 18 -102 64 -146 69 -25 3 -64 1 -87 -3z"/>
-<path d="M7264 721 c-57 -26 -84 -64 -84 -118 0 -24 7 -57 15 -72 18 -35 82
--67 150 -76 77 -10 114 -24 131 -50 37 -56 -41 -114 -134 -100 -30 4 -56 17
--80 40 -36 32 -37 32 -69 17 -41 -19 -41 -32 -2 -77 59 -67 211 -85 308 -36
-96 49 105 188 17 246 -13 9 -64 24 -113 34 -48 10 -98 23 -110 30 -43 23 -22
-83 33 97 43 11 114 -2 138 -25 23 -21 24 -22 60 -5 20 10 36 20 36 24 0 14
--68 68 -99 79 -52 17 -150 13 -197 -8z"/>
-<path d="M335 488 c-59 -134 -110 -246 -112 -251 -2 -4 19 -7 47 -7 l51 0 21
-50 21 50 128 0 129 0 23 -47 c21 -46 24 -48 70 -51 26 -2 47 1 47 6 0 5 -49
-116 -108 248 l-108 239 -50 3 -50 3 -109 -243z m205 29 c24 -53 41 -100 38
--103 -3 -2 -44 -4 -91 -2 l-86 3 38 85 c20 47 41 94 44 104 4 10 9 17 11 15 2
--2 23 -48 46 -102z"/>
-<path d="M1240 481 l0 -251 45 0 45 0 2 167 3 168 130 -168 c112 -144 133
--167 157 -167 l28 0 0 250 0 250 -45 0 -44 0 -3 -152 -3 -153 -120 150 c-113
-141 -122 150 -157 153 l-38 3 0 -250z"/>
-<path d="M2246 533 c-49 -109 -100 -222 -112 -250 l-24 -53 50 0 c49 0 50 0
-72 47 l23 48 127 3 127 3 26 -51 c25 -49 26 -50 70 -50 25 0 45 4 45 9 0 4
--48 116 -108 247 l-107 239 -50 3 -50 3 -89 -198z m183 -12 c22 -51 41 -97 41
--102 0 -5 -40 -9 -90 -9 l-89 0 35 83 c20 45 40 93 45 106 5 13 11 22 13 20 2
--2 22 -46 45 -98z"/>
-<path d="M3130 480 l0 -250 175 0 175 0 0 45 0 45 -130 0 -130 0 0 205 0 205
--45 0 -45 0 0 -250z"/>
-<path d="M3860 720 c0 -6 41 -71 90 -145 l90 -134 0 -106 0 -105 45 0 45 0 0
-96 c0 53 5 105 12 117 6 12 51 79 100 149 48 69 88 129 88 132 0 3 -24 6 -54
-6 l-54 0 -64 -100 c-35 -55 -66 -99 -71 -97 -4 1 -33 45 -65 97 l-59 95 -51 3
-c-32 2 -52 -1 -52 -8z"/>
-<path d="M4770 685 l0 -45 80 0 80 0 0 -205 0 -205 45 0 45 0 0 205 0 204 78
-3 77 3 0 40 0 40 -202 3 -203 2 0 -45z"/>
-<path d="M5660 480 l0 -250 45 0 45 0 0 250 0 250 -45 0 -45 0 0 -250z"/>
-</g>
-</svg>
diff --git a/static/img/logo_white.png b/static/img/logo_white.png
new file mode 100644
index 000000000..122a07b4f
Binary files /dev/null and b/static/img/logo_white.png differ
diff --git a/static/img/logo_white.svg b/static/img/logo_white.svg
deleted file mode 100644
index 6fc016e2e..000000000
--- a/static/img/logo_white.svg
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
-<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="1259.000000pt" height="381.000000pt" viewBox="0 0 1259.000000 381.000000" preserveAspectRatio="xMidYMid meet">
-<g transform="translate(0.000000,381.000000) scale(0.100000,-0.100000)" fill="#fff" stroke="none">
-<path d="M3111 3466 c-106 -106 -189 -196 -185 -199 5 -2 35 -11 67 -18 56
--12 58 -14 52 -38 -4 -14 -103 -343 -222 -731 -118 -388 -224 -735 -236 -772
--11 -38 -23 -68 -27 -68 -4 0 -16 30 -27 68 -12 37 -93 303 -181 592 -88 289
--172 564 -187 613 l-26 87 -180 0 c-98 0 -179 -2 -179 -6 0 -5 490 -1556 541
--1711 l31 -93 173 0 174 0 24 78 c116 374 591 1888 594 1892 2 2 33 -4 69 -14
-37 -9 67 -16 69 -14 4 5 -136 512 -144 520 -4 4 -94 -79 -200 -186z"/>
-<path d="M678 3015 c-245 -46 -401 -181 -444 -384 -38 -183 7 -356 120 -458
-96 -86 225 -135 496 -188 252 -50 361 -98 407 -180 68 -121 22 -280 -99 -339
--116 -57 -322 -58 -444 -2 -66 30 -137 102 -160 161 -10 28 -23 45 -33 45 -9
-0 -74 -15 -146 -34 -127 -32 -130 -33 -128 -59 3 -51 67 -160 128 -223 73 -74
-160 -124 280 -160 85 -26 100 -28 290 -28 174 0 210 3 276 21 216 61 348 179
-395 357 18 65 18 226 0 291 -41 156 -150 268 -326 338 -81 32 -109 39 -295 77
--285 58 -380 103 -414 193 -18 47 -13 136 10 184 63 130 324 181 533 103 74
--28 130 -79 166 -154 l32 -63 96 24 c53 13 121 31 149 39 l53 14 -19 50 c-69
-181 -214 304 -427 361 -104 28 -379 36 -496 14z"/>
-<path d="M4050 2994 c0 -3 -88 -289 -196 -637 -108 -348 -203 -654 -211 -682
--19 -61 -17 -65 -79 155 -25 91 -49 168 -53 173 -4 4 -75 6 -158 5 l-150 -3
-77 -245 c43 -135 101 -318 129 -407 l52 -163 174 0 173 0 21 63 c11 34 108
-341 216 682 108 341 205 648 216 683 l21 62 854 0 854 0 0 160 0 160 -970 0
-c-533 0 -970 -2 -970 -6z"/>
-<path d="M6270 2840 l0 -160 310 0 310 0 0 -745 0 -745 165 0 165 0 0 905 0
-905 -475 0 -475 0 0 -160z"/>
-<path d="M7430 2840 l0 -160 203 2 202 3 0 155 0 155 -202 3 -203 2 0 -160z"/>
-<path d="M8180 2095 l0 -905 170 0 170 0 0 750 0 750 208 0 c229 0 293 -10
-372 -58 67 -41 102 -105 108 -197 7 -107 -10 -158 -72 -220 -68 -68 -129 -87
--298 -94 l-126 -6 276 -462 277 -462 183 -1 c101 0 181 3 179 8 -3 4 -100 164
--216 355 -117 192 -214 354 -217 360 -2 7 16 19 45 30 220 78 348 311 313 569
--31 221 -185 383 -424 448 -123 33 -229 40 -595 40 l-353 0 0 -905z"/>
-<path d="M9960 2095 l0 -905 170 0 170 0 -2 903 -3 902 -167 3 -168 2 0 -905z"/>
-<path d="M10628 2973 c10 -16 135 -194 277 -398 142 -203 271 -389 287 -411
-l29 -41 -346 -464 -347 -464 192 -3 c106 -1 194 -1 195 0 1 2 306 402 679 890
-372 489 679 895 682 903 5 13 -18 15 -174 15 l-179 0 -225 -312 c-124 -172
--231 -313 -237 -313 -7 0 -110 140 -230 310 l-218 310 -202 3 -203 2 20 -27z"/>
-<path d="M4667 2263 c-4 -3 -7 -246 -7 -540 l0 -533 670 0 670 0 0 160 0 160
--500 0 -500 0 0 230 0 230 260 0 260 0 0 150 0 150 -423 0 c-233 0 -427 -3
--430 -7z"/>
-<path d="M11722 1747 c-61 -62 -112 -116 -112 -120 0 -4 70 -104 156 -222
-l155 -215 204 0 204 0 -242 334 c-133 184 -244 335 -247 335 -3 1 -56 -50
--118 -112z"/>
-<path d="M6453 730 c-135 -28 -213 -136 -200 -278 9 -101 68 -184 154 -213 62
--22 170 -17 223 10 74 38 75 40 40 76 l-32 33 -44 -25 c-37 -21 -55 -25 -100
--21 -90 8 -145 62 -151 150 -6 74 26 135 87 166 55 28 101 28 157 1 l43 -21
-29 24 c17 12 29 27 27 32 -4 18 -102 64 -146 69 -25 3 -64 1 -87 -3z"/>
-<path d="M7264 721 c-57 -26 -84 -64 -84 -118 0 -24 7 -57 15 -72 18 -35 82
--67 150 -76 77 -10 114 -24 131 -50 37 -56 -41 -114 -134 -100 -30 4 -56 17
--80 40 -36 32 -37 32 -69 17 -41 -19 -41 -32 -2 -77 59 -67 211 -85 308 -36
-96 49 105 188 17 246 -13 9 -64 24 -113 34 -48 10 -98 23 -110 30 -43 23 -22
-83 33 97 43 11 114 -2 138 -25 23 -21 24 -22 60 -5 20 10 36 20 36 24 0 14
--68 68 -99 79 -52 17 -150 13 -197 -8z"/>
-<path d="M335 488 c-59 -134 -110 -246 -112 -251 -2 -4 19 -7 47 -7 l51 0 21
-50 21 50 128 0 129 0 23 -47 c21 -46 24 -48 70 -51 26 -2 47 1 47 6 0 5 -49
-116 -108 248 l-108 239 -50 3 -50 3 -109 -243z m205 29 c24 -53 41 -100 38
--103 -3 -2 -44 -4 -91 -2 l-86 3 38 85 c20 47 41 94 44 104 4 10 9 17 11 15 2
--2 23 -48 46 -102z"/>
-<path d="M1240 481 l0 -251 45 0 45 0 2 167 3 168 130 -168 c112 -144 133
--167 157 -167 l28 0 0 250 0 250 -45 0 -44 0 -3 -152 -3 -153 -120 150 c-113
-141 -122 150 -157 153 l-38 3 0 -250z"/>
-<path d="M2246 533 c-49 -109 -100 -222 -112 -250 l-24 -53 50 0 c49 0 50 0
-72 47 l23 48 127 3 127 3 26 -51 c25 -49 26 -50 70 -50 25 0 45 4 45 9 0 4
--48 116 -108 247 l-107 239 -50 3 -50 3 -89 -198z m183 -12 c22 -51 41 -97 41
--102 0 -5 -40 -9 -90 -9 l-89 0 35 83 c20 45 40 93 45 106 5 13 11 22 13 20 2
--2 22 -46 45 -98z"/>
-<path d="M3130 480 l0 -250 175 0 175 0 0 45 0 45 -130 0 -130 0 0 205 0 205
--45 0 -45 0 0 -250z"/>
-<path d="M3860 720 c0 -6 41 -71 90 -145 l90 -134 0 -106 0 -105 45 0 45 0 0
-96 c0 53 5 105 12 117 6 12 51 79 100 149 48 69 88 129 88 132 0 3 -24 6 -54
-6 l-54 0 -64 -100 c-35 -55 -66 -99 -71 -97 -4 1 -33 45 -65 97 l-59 95 -51 3
-c-32 2 -52 -1 -52 -8z"/>
-<path d="M4770 685 l0 -45 80 0 80 0 0 -205 0 -205 45 0 45 0 0 205 0 204 78
-3 77 3 0 40 0 40 -202 3 -203 2 0 -45z"/>
-<path d="M5660 480 l0 -250 45 0 45 0 0 250 0 250 -45 0 -45 0 0 -250z"/>
-</g>
-</svg>