feat(docs): add logo

This commit is contained in:
Phan An 2024-03-19 23:46:40 +01:00
parent c772028ce6
commit ff9010b737
4 changed files with 37 additions and 37 deletions

View file

@ -26,6 +26,7 @@ export default defineConfig({
level: 'deep' level: 'deep'
}, },
logo: '/logo.svg',
logoLink: '/guide/what-is-koel', logoLink: '/guide/what-is-koel',
// https://vitepress.dev/reference/default-theme-config // https://vitepress.dev/reference/default-theme-config

View file

@ -4,8 +4,11 @@ layout: home
hero: hero:
name: "Koel" name: "Koel"
text: text: Music streaming solution that works
tagline: The official documentation for Koel, the music streaming solution that works. tagline: The official documentation for Koel, the music streaming solution that <em>actually</em> works.
image:
src: /logo.svg
alt: Koel logo
actions: actions:
- theme: brand - theme: brand
text: Getting Started text: Getting Started

View file

@ -1,35 +0,0 @@
<?xml version="1.0"?>
<svg width="443" height="443" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid">
<defs>
<style>.cls-1, .cls-4 {
fill: #fff;
}
.cls-1, .cls-2, .cls-3 {
fill-rule: evenodd;
}
.cls-2 {
fill: #000;
}
.cls-3 {
fill: #fa0000;
}</style>
</defs>
<g class="layer">
<title>Layer 1</title>
<rect fill="#288cef" height="423" id="svg_10" rx="47" ry="47" stroke="#005fbf" stroke-width="20" width="423" x="10" y="10"/>
<g id="svg_1">
<path class="cls-1" d="m431.12,297.72c0,0 -13.95,19.69 26.77,39.07c0,0 -62.09,-6.58 -78.55,-22.18c0,0 -107.09,14.02 -64.31,116.81c0,0 -35.2,-25.34 -46,-58.39c0,0 -80.23,84.23 -26.42,222.15c0,0 -58.76,-62.78 -67.02,-124.44c0,0 -4.98,9.67 -2.88,24.46c0,0 -23.65,-68.19 -17.58,-104.21c0,0 -14.41,19.97 -15.3,31.27c0,0 2.02,-25.31 11.99,-40.9c0,0 -2.9,-22.6 7.02,-46.27c9.9,-23.6 6.74,-48.89 4.84,-53.39c0,0 -3.07,10.25 -7.46,14.66c0,0 14.04,-55.49 8.08,-82.11c0,0 -12.27,11.86 -10.48,41.59c0,0 -7.09,-26.26 -0.08,-54.34c0,0 -6.27,0.62 -6.79,7.02c0,0 -6.67,-17.97 2.71,-38.67c0,0 -53.57,-35.93 -58.8,-40.17c0,0 -7.72,-3.92 -17.25,-3.07c30.17,-12.56 70.12,9.3 94.82,25.72c13.43,9.34 20.04,15.25 34.69,19.16c14.84,3.96 28.05,17.06 28.05,17.06c-14.83,-21.68 -19.53,-9.7 -60.06,-38.55c-57.64,-40.78 -89.19,-29.78 -100.23,-23.02c-1.45,0.27 -2.92,0.65 -4.38,1.19c0,0 22.81,-48.33 118.55,-17.39c0,0 14.82,-15.09 23.99,-16.57c0,0 -12.78,9.09 -15.09,16.63c0,0 18.18,-13.18 33,-13.02c0,0 -17.01,8.65 -25.56,16.66c0,0 11.3,-6.03 27.58,-5.83c0,0 -10.12,4.9 -13.58,6.58c-0.72,0.35 -1.17,0.56 -1.17,0.56c0,0 10.24,-2.17 15.79,-2.29c0,0 27.68,-13.3 52.7,-10.69c0,0 -8.7,0.06 -20.77,9.7c0,0 37.72,-1.97 63,10.51c0,0 -21.4,-4.2 -34.72,-4.1c0,0 65.11,2.6 119.48,73.56c57.19,74.67 59.58,80.74 106.29,115.86c0,0 -56.51,-2.46 -84.85,-10.63z" id="svg_2"/>
<path class="cls-2" d="m391.24,270.31c0,0 -10.04,17.25 19.82,30.32c0,0 -45.59,-0.96 -58.3,-12.83c0,0 -83.55,21.15 -46.64,102.61c0,0 -28.58,-17.4 -38.48,-44.31c0,0 -62.27,81.57 -12.83,185.4c0,0 -50.52,-41.87 -60.63,-92.12c0,0 -3.73,8.82 -1.17,20.99c0,0 -24.22,-55.25 -20.99,-87.45c0,0 -11.57,19.15 -11.66,29.15c0,0 0.24,-22.47 8.16,-37.31c0,0 -3.94,-19.82 3.5,-41.98c7.44,-22.15 3.15,-44.97 1.17,-48.97c0,0 -2.15,9.63 -5.83,13.99c0,0 9.34,-52.24 2.33,-76.96c0,0 -10.51,11.81 -7,39.64c0,0 -8.17,-24.28 -3.5,-51.3c0,0 -5.77,0.85 -5.83,7c0,0 -7.39,-16.98 0,-37.31c0,0 -53.95,-34.27 -59.47,-38.48c0,0 -8.01,-3.86 -17.48,-2.86c28.87,-13.15 69.1,8.26 93.27,23.85c12.9,8.69 19.24,14.18 32.65,17.49c13.41,3.31 25.65,15.16 25.65,15.16c-14.12,-19.9 -17.68,-8.45 -55.97,-34.98c-57.31,-39.45 -87.54,-28.11 -98.14,-21.13c-1.48,0.29 -2.97,0.71 -4.47,1.31c0,0 19.82,-49.5 113.1,-18.66c0,0 12.72,-14.87 20.99,-16.32c0,0 -11.14,8.94 -12.83,16.32c0,0 15.81,-12.95 29.15,-12.83c0,0 -14.84,8.47 -22.15,16.32c0,0 9.9,-5.94 24.49,-5.83c0,0 -8.78,4.79 -11.81,6.45c-0.63,0.34 -1.01,0.55 -1.01,0.55c0,0 9.06,-2.18 13.99,-2.33c0,0 23.75,-12.91 45.47,-10.49c0,0 -7.46,0.09 -17.49,9.33c0,0 32.16,-2.11 53.64,9.33c0,0 -17.92,-3.71 -29.15,-3.5c0,0 54.05,2.04 97.95,64.13c43.9,62.09 45.33,66.34 78.12,92.12c0,0 -39.91,1.49 -60.63,-3.5z" id="svg_3"/>
<path class="cls-1" d="m170.86,129.22c0,0 8.72,-8.01 11.66,4.66c0,0 -4.16,4.08 -7,2.33c-2.83,-1.75 -4.66,-7 -4.66,-7z" id="svg_4"/>
<g id="svg_5">
<path class="cls-3" d="m247.82,164.2c0,0 6.53,-16.16 26.82,-10.49c16.62,5.12 17.49,18.66 17.49,18.66c0,0 -7.26,18.14 -20.99,16.32c-13.72,-1.82 -22.75,-13.26 -23.32,-24.49z" id="svg_6"/>
<path class="cls-2" d="m266.55,157.27c8.19,-0.3 16.04,4.51 16.29,10.89c0.24,6.48 -7.47,10.56 -15.9,9.22c-7.24,-1.14 -12.43,-5.98 -12.45,-10.89c-0.02,-4.86 5,-8.96 12.07,-9.22z" id="svg_7"/>
<ellipse class="cls-4" cx="262.4" cy="161.86" id="svg_8" rx="5.25" ry="4.66"/>
</g>
</g>
<rect fill="#FF0000" height="0" id="svg_9" stroke="#000000" width="0" x="9.5" y="17.5"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.9 KiB

31
docs/public/logo.svg Normal file
View file

@ -0,0 +1,31 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid" width="443" height="443" viewBox="0 0 443 443">
<defs>
<style>
.cls-1, .cls-4 {
fill: #fff;
}
.cls-1, .cls-2, .cls-3 {
fill-rule: evenodd;
}
.cls-2 {
fill: #000;
}
.cls-3 {
fill: #fa0000;
}
</style>
</defs>
<g>
<path d="M341.199,181.514 C341.199,181.514 329.240,198.397 364.162,215.016 C364.162,215.016 310.908,209.376 296.786,195.998 C296.786,195.998 204.949,208.024 241.644,296.184 C241.644,296.184 211.447,274.452 202.192,246.099 C202.192,246.099 133.385,318.336 179.528,436.617 C179.528,436.617 129.141,382.779 122.046,329.902 C122.046,329.902 117.782,338.194 119.576,350.880 C119.576,350.880 99.298,292.397 104.504,261.508 C104.504,261.508 92.138,278.643 91.378,288.332 C91.378,288.332 93.107,266.615 101.661,253.245 C101.661,253.245 99.170,233.867 107.680,213.575 C116.171,193.332 113.463,171.640 111.827,167.782 C111.827,167.782 109.198,176.572 105.433,180.351 C105.433,180.351 117.471,132.757 112.356,109.929 C112.356,109.929 101.837,120.099 103.373,145.597 C103.373,145.597 97.287,123.077 103.298,98.997 C103.298,98.997 97.916,99.526 97.476,105.016 C97.476,105.016 91.763,89.607 99.801,71.864 C99.801,71.864 53.861,41.051 49.370,37.405 C49.370,37.405 42.748,34.052 34.576,34.782 C60.449,24.014 94.715,42.762 115.899,56.843 C127.423,64.850 133.085,69.917 145.649,73.271 C158.380,76.669 169.714,87.898 169.714,87.898 C156.987,69.315 152.956,79.582 118.199,54.835 C68.767,19.873 41.714,29.300 32.237,35.104 C31.001,35.334 29.742,35.658 28.475,36.118 C28.475,36.118 48.041,-5.329 130.152,21.206 C130.152,21.206 142.859,8.268 150.718,7.000 C150.718,7.000 139.765,14.805 137.775,21.256 C137.775,21.256 153.368,9.960 166.082,10.086 C166.082,10.086 151.494,17.506 144.164,24.376 C144.164,24.376 153.849,19.212 167.805,19.383 C167.805,19.383 159.135,23.576 156.156,25.016 C155.536,25.315 155.162,25.496 155.162,25.496 C155.162,25.496 163.938,23.635 168.699,23.535 C168.699,23.535 192.437,12.135 213.904,14.367 C213.904,14.367 206.439,14.422 196.089,22.692 C196.089,22.692 228.441,20.998 250.117,31.701 C250.117,31.701 231.766,28.100 220.340,28.180 C220.340,28.180 276.182,30.408 322.808,91.274 C371.863,155.310 373.908,160.510 413.969,190.628 C413.969,190.628 365.515,188.519 341.199,181.514 Z" class="cls-1"/>
<path d="M307.000,158.000 C307.000,158.000 298.389,172.789 324.000,184.000 C324.000,184.000 284.902,183.184 274.000,173.000 C274.000,173.000 202.346,191.137 234.000,261.000 C234.000,261.000 209.486,246.084 201.000,223.000 C201.000,223.000 147.602,292.965 190.000,382.000 C190.000,382.000 146.674,346.092 138.000,303.000 C138.000,303.000 134.801,310.563 137.000,321.000 C137.000,321.000 116.229,273.617 119.000,246.000 C119.000,246.000 109.084,262.424 109.000,271.000 C109.000,271.000 109.211,251.727 116.000,239.000 C116.000,239.000 112.623,221.998 119.000,203.000 C125.377,184.002 121.697,164.428 120.000,161.000 C120.000,161.000 118.160,169.258 115.000,173.000 C115.000,173.000 123.014,128.197 117.000,107.000 C117.000,107.000 107.994,117.129 111.000,141.000 C111.000,141.000 103.994,120.180 108.000,97.000 C108.000,97.000 103.051,97.730 103.000,103.000 C103.000,103.000 96.660,88.441 103.000,71.000 C103.000,71.000 56.725,41.609 52.000,38.000 C52.000,38.000 45.130,34.687 37.006,35.551 C61.771,24.269 96.266,42.627 117.000,56.000 C128.061,63.455 133.500,68.163 145.000,71.000 C156.500,73.837 167.000,84.000 167.000,84.000 C154.894,66.930 151.844,76.752 119.000,54.000 C69.846,20.172 43.925,29.888 34.829,35.879 C33.563,36.132 32.281,36.495 31.000,37.000 C31.000,37.000 47.998,-5.445 128.000,21.000 C128.000,21.000 138.914,8.246 146.000,7.000 C146.000,7.000 136.453,14.670 135.000,21.000 C135.000,21.000 148.561,9.895 160.000,10.000 C160.000,10.000 147.270,17.262 141.000,24.000 C141.000,24.000 149.486,18.910 162.000,19.000 C162.000,19.000 154.466,23.109 151.868,24.526 C151.327,24.822 151.000,25.000 151.000,25.000 C151.000,25.000 158.766,23.131 163.000,23.000 C163.000,23.000 183.369,11.930 202.000,14.000 C202.000,14.000 195.598,14.076 187.000,22.000 C187.000,22.000 214.584,20.193 233.000,30.000 C233.000,30.000 217.627,26.824 208.000,27.000 C208.000,27.000 254.348,28.752 292.000,82.000 C329.652,135.248 330.877,138.893 359.000,161.000 C359.000,161.000 324.770,162.277 307.000,158.000 Z" class="cls-2"/>
<path d="M118.000,37.000 C118.000,37.000 125.482,30.131 128.000,41.000 C128.000,41.000 124.428,44.504 122.000,43.000 C119.572,41.496 118.000,37.000 118.000,37.000 Z" class="cls-1"/>
<g>
<path d="M184.000,67.000 C184.000,67.000 189.596,53.143 207.000,58.000 C221.245,62.388 222.000,74.000 222.000,74.000 C222.000,74.000 215.773,89.560 204.000,88.000 C192.227,86.440 184.492,76.630 184.000,67.000 Z" class="cls-3"/>
<path d="M200.055,61.063 C207.079,60.796 213.823,64.926 214.031,70.403 C214.243,75.962 207.620,79.457 200.388,78.313 C194.177,77.332 189.733,73.180 189.712,68.967 C189.691,64.801 194.001,61.293 200.055,61.063 Z" class="cls-2"/>
<ellipse cx="196.5" cy="65" rx="4.5" ry="4" class="cls-4"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB