fix album search

- convert strings to lowercase before search
This commit is contained in:
geoffrey45 2022-03-08 09:25:07 +03:00
parent 25f79d8a20
commit c3059d502c
7 changed files with 30 additions and 14 deletions

View File

@ -51,14 +51,19 @@ def find_album(albumtitle, artist):
return album
def search_albums_by_name(query):
def search_albums_by_name(query: str) -> List[models.Album]:
"""
Searches albums by album name.
"""
albums: List[models.Album] = []
title_albums: List[models.Album] = []
artist_albums: List[models.Album] = []
for album in ALBUMS:
if query in album.album:
albums.append(album)
if query.lower() in album.album.lower():
title_albums.append(album)
return albums
for album in ALBUMS:
if query.lower() in album.artist.lower():
artist_albums.append(album)
return [*title_albums, *artist_albums]

View File

@ -1,3 +1,8 @@
"""
Contains the functions to prepare the server for use.
"""
import os
from app import settings

View File

@ -0,0 +1,3 @@
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M21.1807 6.99219H13.0332C12.4004 6.99219 12.0225 6.85156 11.5303 6.44727L11.0381 6.04297C10.4141 5.5332 9.95703 5.36621 9.03418 5.36621H6.54688C4.89453 5.36621 3.91895 6.33301 3.91895 8.1875V10.6484H24.0723V9.85742C24.0723 7.97656 23.0791 6.99219 21.1807 6.99219ZM6.81055 21.7666H21.3916C23.0879 21.7666 24.0723 20.7822 24.0723 18.9014V11.9141H3.91895V18.9014C3.91895 20.791 4.91211 21.7666 6.81055 21.7666Z" fill="#F2F2F2"/>
</svg>

After

Width:  |  Height:  |  Size: 538 B

View File

@ -1,9 +1,7 @@
<svg width="216" height="75" viewBox="0 0 216 75" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M90.75 23.0625L79.6562 59H67.875L84.5938 13.5H92.0625L90.75 23.0625ZM99.9375 59L88.8125 23.0625L87.375 13.5H94.9375L111.75 59H99.9375ZM99.5 42.0312V50.5H76.1562V42.0312H99.5ZM125.719 11V59H115.156V11H125.719ZM143.344 25.1875V59H132.781V25.1875H143.344ZM132.156 16.4688C132.156 14.9688 132.698 13.7396 133.781 12.7812C134.865 11.8229 136.271 11.3438 138 11.3438C139.729 11.3438 141.135 11.8229 142.219 12.7812C143.302 13.7396 143.844 14.9688 143.844 16.4688C143.844 17.9688 143.302 19.1979 142.219 20.1562C141.135 21.1146 139.729 21.5938 138 21.5938C136.271 21.5938 134.865 21.1146 133.781 20.1562C132.698 19.1979 132.156 17.9688 132.156 16.4688ZM164.125 51.5C165.104 51.5 165.938 51.3229 166.625 50.9688C167.333 50.5938 167.865 50.0729 168.219 49.4062C168.594 48.7188 168.771 47.8958 168.75 46.9375H178.656C178.677 49.4792 178.052 51.7083 176.781 53.625C175.531 55.5208 173.823 57 171.656 58.0625C169.51 59.1042 167.083 59.625 164.375 59.625C161.729 59.625 159.417 59.1979 157.438 58.3438C155.458 57.4688 153.802 56.2604 152.469 54.7188C151.156 53.1562 150.167 51.3333 149.5 49.25C148.854 47.1667 148.531 44.9062 148.531 42.4688V41.75C148.531 39.3125 148.854 37.0521 149.5 34.9688C150.167 32.8646 151.156 31.0417 152.469 29.5C153.802 27.9375 155.448 26.7292 157.406 25.875C159.385 25 161.688 24.5625 164.312 24.5625C167.125 24.5625 169.604 25.0938 171.75 26.1562C173.917 27.2188 175.615 28.7604 176.844 30.7812C178.073 32.8021 178.677 35.25 178.656 38.125H168.75C168.771 37.1042 168.615 36.1875 168.281 35.375C167.948 34.5625 167.427 33.9167 166.719 33.4375C166.031 32.9375 165.146 32.6875 164.062 32.6875C162.979 32.6875 162.104 32.9271 161.438 33.4062C160.771 33.8854 160.26 34.5521 159.906 35.4062C159.573 36.2396 159.344 37.1979 159.219 38.2812C159.115 39.3646 159.062 40.5208 159.062 41.75V42.4688C159.062 43.7188 159.115 44.8958 159.219 46C159.344 47.0833 159.583 48.0417 159.938 48.875C160.292 49.6875 160.802 50.3333 161.469 50.8125C162.135 51.2708 163.021 51.5 164.125 51.5ZM199.531 59.625C196.781 59.625 194.323 59.1979 192.156 58.3438C189.99 57.4688 188.156 56.2708 186.656 54.75C185.177 53.2292 184.042 51.4792 183.25 49.5C182.479 47.5208 182.094 45.4271 182.094 43.2188V42.0312C182.094 39.5521 182.438 37.2604 183.125 35.1562C183.812 33.0312 184.833 31.1771 186.188 29.5938C187.542 28.0104 189.24 26.7812 191.281 25.9062C193.323 25.0104 195.698 24.5625 198.406 24.5625C200.802 24.5625 202.948 24.9479 204.844 25.7188C206.74 26.4896 208.344 27.5938 209.656 29.0312C210.99 30.4688 212 32.2083 212.688 34.25C213.396 36.2917 213.75 38.5833 213.75 41.125V45.4062H186.125V38.8125H203.469V38C203.49 36.875 203.292 35.9167 202.875 35.125C202.479 34.3333 201.896 33.7292 201.125 33.3125C200.354 32.8958 199.417 32.6875 198.312 32.6875C197.167 32.6875 196.219 32.9375 195.469 33.4375C194.74 33.9375 194.167 34.625 193.75 35.5C193.354 36.3542 193.073 37.3438 192.906 38.4688C192.74 39.5938 192.656 40.7812 192.656 42.0312V43.2188C192.656 44.4688 192.823 45.6042 193.156 46.625C193.51 47.6458 194.01 48.5208 194.656 49.25C195.323 49.9583 196.115 50.5104 197.031 50.9062C197.969 51.3021 199.031 51.5 200.219 51.5C201.656 51.5 203.073 51.2292 204.469 50.6875C205.865 50.1458 207.062 49.25 208.062 48L212.844 53.6875C212.156 54.6667 211.177 55.6146 209.906 56.5312C208.656 57.4479 207.156 58.1979 205.406 58.7812C203.656 59.3438 201.698 59.625 199.531 59.625Z" fill="url(#paint0_linear_212_8)"/>
<path d="M206.709 17.1532L209.164 14.6937L210.564 16.0963C210.843 16.376 211 16.7553 211 17.1507C211 17.5462 210.843 17.9255 210.564 18.2052L210.218 18.5509C210.08 18.6897 209.915 18.7999 209.734 18.875C209.554 18.9502 209.36 18.9889 209.164 18.9889C208.968 18.9889 208.774 18.9502 208.593 18.875C208.412 18.7999 208.247 18.6897 208.109 18.5509L206.709 17.1532ZM210.56 9.78231L210.213 9.43658C209.933 9.15703 209.554 9 209.159 9C208.763 9 208.384 9.15703 208.104 9.43658L206 11.5454L203.891 9.43658C203.611 9.15703 203.232 9 202.837 9C202.441 9 202.062 9.15703 201.782 9.43658L201.437 9.78231C201.157 10.062 201 10.4413 201 10.8367C201 11.2322 201.157 11.6115 201.437 11.8912L203.545 14L201.437 16.1088C201.157 16.3885 201 16.7678 201 17.1633C201 17.5587 201.157 17.938 201.437 18.2177L201.782 18.5634C202.062 18.843 202.441 19 202.837 19C203.232 19 203.611 18.843 203.891 18.5634L210.564 11.8908C210.843 11.6111 211 11.2319 211 10.8364C211 10.441 210.843 10.0617 210.564 9.782L210.56 9.78231Z" fill="#C4C4C4"/>
<path d="M182.709 17.1532L185.164 14.6937L186.564 16.0963C186.843 16.376 187 16.7553 187 17.1507C187 17.5462 186.843 17.9255 186.564 18.2052L186.218 18.5509C186.08 18.6897 185.915 18.7999 185.734 18.875C185.554 18.9502 185.36 18.9889 185.164 18.9889C184.968 18.9889 184.774 18.9502 184.593 18.875C184.412 18.7999 184.247 18.6897 184.109 18.5509L182.709 17.1532ZM186.56 9.78231L186.213 9.43658C185.933 9.15703 185.554 9 185.159 9C184.763 9 184.384 9.15703 184.104 9.43658L182 11.5454L179.891 9.43658C179.611 9.15703 179.232 9 178.837 9C178.441 9 178.062 9.15703 177.782 9.43658L177.437 9.78231C177.157 10.062 177 10.4413 177 10.8367C177 11.2322 177.157 11.6115 177.437 11.8912L179.545 14L177.437 16.1088C177.157 16.3885 177 16.7678 177 17.1633C177 17.5587 177.157 17.938 177.437 18.2177L177.782 18.5634C178.062 18.843 178.441 19 178.837 19C179.232 19 179.611 18.843 179.891 18.5634L186.564 11.8908C186.843 11.6111 187 11.2319 187 10.8364C187 10.441 186.843 10.0617 186.564 9.782L186.56 9.78231Z" fill="#C4C4C4"/>
<path d="M194.709 17.1532L197.164 14.6937L198.564 16.0963C198.843 16.376 199 16.7553 199 17.1507C199 17.5462 198.843 17.9255 198.564 18.2052L198.218 18.5509C198.08 18.6897 197.915 18.7999 197.734 18.875C197.554 18.9502 197.36 18.9889 197.164 18.9889C196.968 18.9889 196.774 18.9502 196.593 18.875C196.412 18.7999 196.247 18.6897 196.109 18.5509L194.709 17.1532ZM198.56 9.78231L198.213 9.43658C197.933 9.15703 197.554 9 197.159 9C196.763 9 196.384 9.15703 196.104 9.43658L194 11.5454L191.891 9.43658C191.611 9.15703 191.232 9 190.837 9C190.441 9 190.062 9.15703 189.782 9.43658L189.437 9.78231C189.157 10.062 189 10.4413 189 10.8367C189 11.2322 189.157 11.6115 189.437 11.8912L191.545 14L189.437 16.1088C189.157 16.3885 189 16.7678 189 17.1633C189 17.5587 189.157 17.938 189.437 18.2177L189.782 18.5634C190.062 18.843 190.441 19 190.837 19C191.232 19 191.611 18.843 191.891 18.5634L198.564 11.8908C198.843 11.6111 199 11.2319 199 10.8364C199 10.441 198.843 10.0617 198.564 9.782L198.56 9.78231Z" fill="#C4C4C4"/>
<path d="M57.6854 17.0997C56.5653 15.6931 54.4815 14 50.7566 14C46.146 14 40.2851 17.0737 35.1276 22.2052C34.3722 22.9346 33.6949 23.6639 33.0437 24.4193V19.2097C33.0437 18.3806 32.7144 17.5856 32.1282 16.9994C31.542 16.4132 30.7469 16.0839 29.9179 16.0839C29.0889 16.0839 28.2938 16.4132 27.7076 16.9994C27.1214 17.5856 26.7921 18.3806 26.7921 19.2097V24.4193C26.1409 23.6639 25.4636 22.9346 24.7082 22.2052C19.5507 17.0737 13.6898 14 9.07926 14C5.35435 14 3.27048 15.6931 2.15041 17.0997C-1.28797 21.5019 -0.0116033 29.082 1.88992 36.636C3.32258 42.4187 6.31814 45.1538 9.13135 46.4041C8.40766 48.0087 8.03468 49.7493 8.03733 51.5096C8.03992 54.0481 8.81518 56.5258 10.26 58.6131C11.7049 60.7004 13.7509 62.2984 16.1259 63.1947C18.501 64.091 21.0927 64.2432 23.5563 63.6308C26.0199 63.0185 28.2388 61.6708 29.9179 59.7669C31.8971 62.0002 34.6097 63.4521 37.5658 63.8601C40.5219 64.2681 43.5265 63.6054 46.0366 61.9918C48.5468 60.3781 50.3971 57.9198 51.2531 55.0611C52.1092 52.2024 51.9146 49.1318 50.7045 46.4041C53.5177 45.1538 56.5132 42.4187 57.9459 36.636C59.8474 29.082 61.1238 21.5019 57.6854 17.0997V17.0997ZM20.5405 57.7612C18.9172 57.8013 17.3419 57.2082 16.1482 56.1074C14.9544 55.0066 14.2358 53.4846 14.1444 51.8633C14.053 50.2421 14.596 48.6489 15.6585 47.4209C16.721 46.1929 18.2197 45.4266 19.8372 45.284C20.2452 45.2419 20.6408 45.1192 21.0011 44.9231C21.3613 44.727 21.6791 44.4613 21.9359 44.1415C22.1927 43.8217 22.3835 43.4541 22.4972 43.06C22.6109 42.6659 22.6453 42.2531 22.5983 41.8456C22.5066 41.0244 22.0934 40.2728 21.449 39.7554C20.8047 39.238 19.9817 38.9968 19.16 39.0845C17.12 39.2999 15.1671 40.0255 13.4814 41.1944C11.4497 41.0121 9.10531 39.7097 7.93313 35.1252C6.0316 27.4409 5.74507 22.6741 7.09959 20.9549C7.25588 20.7465 7.62055 20.2516 9.07926 20.2516C11.9446 20.2516 16.477 22.8304 20.3061 26.6334C24.1352 30.4365 26.7921 34.9949 26.7921 37.9644V51.5096C26.7853 53.1655 26.1244 54.7516 24.9535 55.9225C23.7826 57.0935 22.1964 57.7543 20.5405 57.7612ZM51.9027 35.1252C50.7305 39.7097 48.3862 41.0121 46.3544 41.1944C44.6687 40.0255 42.7158 39.2999 40.6759 39.0845C40.2538 39.0083 39.8206 39.0198 39.4032 39.1182C38.9858 39.2166 38.5932 39.3999 38.2496 39.6566C37.9061 39.9133 37.619 40.2379 37.4063 40.6103C37.1936 40.9827 37.0598 41.3948 37.0133 41.8212C36.9667 42.2475 37.0084 42.6788 37.1356 43.0883C37.2629 43.4978 37.4731 43.8768 37.7531 44.2016C38.0331 44.5264 38.377 44.7901 38.7633 44.9763C39.1496 45.1626 39.5701 45.2673 39.9986 45.284C41.1968 45.4197 42.3302 45.899 43.2622 46.6642C44.1942 47.4294 44.885 48.4478 45.2514 49.5966C45.6177 50.7455 45.644 51.9758 45.327 53.1393C45.01 54.3027 44.3633 55.3497 43.4648 56.154C42.5663 56.9582 41.4544 57.4855 40.2631 57.6722C39.0718 57.8588 37.8519 57.697 36.7504 57.2061C35.649 56.7152 34.713 55.9163 34.0553 54.9055C33.3977 53.8948 33.0463 52.7154 33.0437 51.5096V37.9644C33.0437 34.9949 35.5964 30.5407 39.5297 26.6334C43.463 22.7262 47.8912 20.2516 50.7566 20.2516C52.2153 20.2516 52.5799 20.7465 52.7362 20.9549C54.0907 22.6741 53.8042 27.4409 51.9027 35.1252Z" fill="url(#paint1_linear_212_8)"/>
<path d="M57.6854 17.0997C56.5653 15.6931 54.4815 14 50.7566 14C46.146 14 40.2851 17.0737 35.1276 22.2052C34.3722 22.9346 33.6949 23.6639 33.0437 24.4193V19.2097C33.0437 18.3806 32.7144 17.5856 32.1282 16.9994C31.542 16.4132 30.7469 16.0839 29.9179 16.0839C29.0889 16.0839 28.2938 16.4132 27.7076 16.9994C27.1214 17.5856 26.7921 18.3806 26.7921 19.2097V24.4193C26.1409 23.6639 25.4636 22.9346 24.7082 22.2052C19.5507 17.0737 13.6898 14 9.07926 14C5.35435 14 3.27048 15.6931 2.15041 17.0997C-1.28797 21.5019 -0.0116033 29.082 1.88992 36.636C3.32258 42.4187 6.31814 45.1538 9.13135 46.4041C8.40766 48.0087 8.03468 49.7493 8.03732 51.5096C8.03992 54.0481 8.81518 56.5258 10.26 58.6131C11.7049 60.7004 13.7509 62.2984 16.1259 63.1947C18.501 64.091 21.0927 64.2432 23.5563 63.6308C26.0199 63.0185 28.2388 61.6708 29.9179 59.7669C31.8971 62.0002 34.6097 63.4521 37.5658 63.8601C40.5219 64.2681 43.5265 63.6054 46.0366 61.9918C48.5468 60.3781 50.3971 57.9198 51.2531 55.0611C52.1092 52.2024 51.9146 49.1318 50.7045 46.4041C53.5177 45.1538 56.5132 42.4187 57.9459 36.636C59.8474 29.082 61.1238 21.5019 57.6854 17.0997ZM20.5405 57.7612C18.9172 57.8013 17.3419 57.2082 16.1482 56.1074C14.9544 55.0066 14.2358 53.4846 14.1444 51.8633C14.053 50.2421 14.596 48.6489 15.6585 47.4209C16.721 46.1929 18.2197 45.4266 19.8372 45.284C20.2452 45.2419 20.6408 45.1192 21.0011 44.9231C21.3613 44.727 21.6791 44.4613 21.9359 44.1415C22.1927 43.8217 22.3835 43.4541 22.4972 43.06C22.6109 42.6659 22.6453 42.2531 22.5983 41.8456C22.5066 41.0244 22.0934 40.2728 21.449 39.7554C20.8047 39.238 19.9817 38.9968 19.16 39.0845C17.12 39.2999 15.1671 40.0255 13.4814 41.1944C11.4497 41.0121 9.10531 39.7097 7.93313 35.1252C6.0316 27.4409 5.74507 22.6741 7.09959 20.9549C7.25588 20.7465 7.62055 20.2516 9.07926 20.2516C11.9446 20.2516 16.477 22.8304 20.3061 26.6334C24.1352 30.4365 26.7921 34.9949 26.7921 37.9644V51.5096C26.7853 53.1655 26.1244 54.7516 24.9535 55.9225C23.7826 57.0935 22.1964 57.7543 20.5405 57.7612ZM51.9027 35.1252C50.7305 39.7097 48.3862 41.0121 46.3544 41.1944C44.6687 40.0255 42.7158 39.2999 40.6759 39.0845C40.2538 39.0083 39.8206 39.0198 39.4032 39.1182C38.9858 39.2167 38.5932 39.3999 38.2496 39.6566C37.9061 39.9133 37.619 40.2379 37.4063 40.6103C37.1936 40.9827 37.0598 41.3948 37.0133 41.8212C36.9667 42.2475 37.0084 42.6788 37.1356 43.0883C37.2629 43.4978 37.4731 43.8768 37.7531 44.2016C38.0331 44.5264 38.377 44.7901 38.7633 44.9763C39.1496 45.1626 39.5701 45.2673 39.9986 45.284C41.1968 45.4197 42.3302 45.899 43.2622 46.6642C44.1942 47.4294 44.885 48.4478 45.2514 49.5966C45.6177 50.7455 45.644 51.9758 45.327 53.1393C45.01 54.3027 44.3633 55.3497 43.4648 56.154C42.5663 56.9582 41.4544 57.4855 40.2631 57.6722C39.0718 57.8588 37.8519 57.697 36.7504 57.2061C35.649 56.7152 34.713 55.9163 34.0553 54.9055C33.3977 53.8948 33.0463 52.7154 33.0437 51.5096V37.9644C33.0437 34.9949 35.5964 30.5407 39.5297 26.6334C43.463 22.7262 47.8912 20.2516 50.7566 20.2516C52.2153 20.2516 52.5799 20.7465 52.7362 20.9549C54.0907 22.6741 53.8042 27.4409 51.9027 35.1252Z" fill="url(#paint1_linear_212_8)"/>
<path d="M203.537 9.61995C203.313 9.33863 202.896 9 202.151 9C201.229 9 200.057 9.61474 199.026 10.641C198.874 10.7869 198.739 10.9328 198.609 11.0839V10.0419C198.609 9.87613 198.543 9.71712 198.426 9.59988C198.308 9.48264 198.149 9.41677 197.984 9.41677C197.818 9.41677 197.659 9.48264 197.542 9.59988C197.424 9.71712 197.358 9.87613 197.358 10.0419V11.0839C197.228 10.9328 197.093 10.7869 196.942 10.641C195.91 9.61474 194.738 9 193.816 9C193.071 9 192.654 9.33863 192.43 9.61995C191.742 10.5004 191.998 12.0164 192.378 13.5272C192.665 14.6837 193.264 15.2308 193.826 15.4808C193.682 15.8017 193.607 16.1499 193.607 16.5019C193.608 17.0096 193.763 17.5052 194.052 17.9226C194.341 18.3401 194.75 18.6597 195.225 18.8389C195.7 19.0182 196.219 19.0486 196.711 18.9262C197.204 18.8037 197.648 18.5342 197.984 18.1534C198.379 18.6 198.922 18.8904 199.513 18.972C200.104 19.0536 200.705 18.9211 201.207 18.5984C201.709 18.2756 202.079 17.784 202.251 17.2122C202.422 16.6405 202.383 16.0264 202.141 15.4808C202.704 15.2308 203.303 14.6837 203.589 13.5272C203.969 12.0164 204.225 10.5004 203.537 9.61995V9.61995ZM196.108 17.7522C195.783 17.7603 195.468 17.6416 195.23 17.4215C194.991 17.2013 194.847 16.8969 194.829 16.5727C194.811 16.2484 194.919 15.9298 195.132 15.6842C195.344 15.4386 195.644 15.2853 195.967 15.2568C196.049 15.2484 196.128 15.2238 196.2 15.1846C196.272 15.1454 196.336 15.0923 196.387 15.0283C196.439 14.9643 196.477 14.8908 196.499 14.812C196.522 14.7332 196.529 14.6506 196.52 14.5691C196.501 14.4049 196.419 14.2546 196.29 14.1511C196.161 14.0476 195.996 13.9994 195.832 14.0169C195.424 14.06 195.033 14.2051 194.696 14.4389C194.29 14.4024 193.821 14.1419 193.587 13.225C193.206 11.6882 193.149 10.7348 193.42 10.391C193.451 10.3493 193.524 10.2503 193.816 10.2503C194.389 10.2503 195.295 10.7661 196.061 11.5267C196.827 12.2873 197.358 13.199 197.358 13.7929V16.5019C197.357 16.8331 197.225 17.1503 196.991 17.3845C196.757 17.6187 196.439 17.7509 196.108 17.7522ZM202.381 13.225C202.146 14.1419 201.677 14.4024 201.271 14.4389C200.934 14.2051 200.543 14.06 200.135 14.0169C200.051 14.0017 199.964 14.004 199.881 14.0236C199.797 14.0433 199.719 14.08 199.65 14.1313C199.581 14.1827 199.524 14.2476 199.481 14.3221C199.439 14.3965 199.412 14.479 199.403 14.5642C199.393 14.6495 199.402 14.7358 199.427 14.8177C199.453 14.8996 199.495 14.9754 199.551 15.0403C199.607 15.1053 199.675 15.158 199.753 15.1953C199.83 15.2325 199.914 15.2535 200 15.2568C200.239 15.2839 200.466 15.3798 200.652 15.5328C200.839 15.6859 200.977 15.8896 201.05 16.1193C201.124 16.3491 201.129 16.5952 201.065 16.8279C201.002 17.0605 200.873 17.2699 200.693 17.4308C200.513 17.5916 200.291 17.6971 200.053 17.7344C199.814 17.7718 199.57 17.7394 199.35 17.6412C199.13 17.543 198.943 17.3833 198.811 17.1811C198.68 16.979 198.609 16.7431 198.609 16.5019V13.7929C198.609 13.199 199.119 12.3081 199.906 11.5267C200.693 10.7452 201.578 10.2503 202.151 10.2503C202.443 10.2503 202.516 10.3493 202.547 10.391C202.818 10.7348 202.761 11.6882 202.381 13.225Z" fill="url(#paint2_linear_212_8)"/>
<defs>
<linearGradient id="paint0_linear_212_8" x1="80.5957" y1="4.00001" x2="216.056" y2="80.4784" gradientUnits="userSpaceOnUse">
<stop offset="0.0311767" stop-color="#575757"/>
@ -14,5 +12,9 @@
<stop stop-color="#B8B8B8"/>
<stop offset="1" stop-color="#575757"/>
</linearGradient>
<linearGradient id="paint2_linear_212_8" x1="197.984" y1="9" x2="197.984" y2="19" gradientUnits="userSpaceOnUse">
<stop stop-color="#B8B8B8"/>
<stop offset="1" stop-color="#575757"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -124,7 +124,7 @@ export default {
left: $small;
height: 1.5rem;
width: 1.5rem;
background-image: url(../../assets/icons/folder.svg);
background-image: url(../../assets/icons/folder.fill.svg);
margin-right: $small;
}

View File

@ -1,11 +1,11 @@
<template>
<div class="topnav rounded">
<div class="left">
<div class="btn">
<!-- <div class="btn">
<PlayBtn />
</div>
</div> -->
<div class="info">
<div class="title">The Queen of Soul</div>
<div class="title">Album</div>
</div>
</div>
<div class="center"></div>
@ -15,6 +15,7 @@
<script setup>
import PlayBtn from '../shared/PlayBtn.vue';
</script>
<style lang="scss">

View File

@ -15,7 +15,7 @@
></div>
<div class="play shadow-lg image"></div>
</div>
<div class="title ellip">{{ album.name }}</div>
<div class="title ellip">{{ album.album }}</div>
<div class="artistsx ellipsis">{{ album.artist }}</div>
</router-link>
</template>