Web: Client: Files: Added "en" Yandex disk icon

This commit is contained in:
Ilya Oleshko 2021-09-30 17:52:43 +03:00
parent fe4f892e9f
commit 73c6409b83
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,4 @@
<svg width="95" height="40" viewBox="0 0 95 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M17.4231 26.1438C17.0561 26.72 16.3487 27.192 15.6413 27.192C14.5934 27.192 14.0958 26.1958 14.0958 24.6755C14.0958 22.9725 14.6454 21.8458 17.1867 21.8458H17.4231V26.1438ZM19.4396 25.7503V19.5393C19.4396 16.3424 18.1561 15.3463 15.8248 15.3463C14.4884 15.3463 13.2835 15.8968 12.681 16.3945L13.0735 18.2033C13.7554 17.5998 14.6454 17.0501 15.6934 17.0501C16.8462 17.0501 17.4231 17.7834 17.4231 19.5136V20.299H17.1338C13.4405 20.299 12 22.0814 12 24.912C12 27.5062 13.2835 28.9215 15.1694 28.9215C16.3223 28.9215 17.0561 28.4238 17.6322 27.6897H17.7636C17.7892 28.0303 17.8685 28.4502 17.947 28.7379H19.676C19.5189 27.7498 19.4402 26.7508 19.4404 25.7503H19.4396ZM24.0247 18.4918C24.4957 17.8363 25.2296 17.1807 26.0941 17.1807C26.88 17.1807 27.3255 17.5213 27.3255 18.5175V28.7379H29.3957V18.3339C29.3957 16.3168 28.4783 15.3463 26.7494 15.3463C25.518 15.3463 24.5222 16.1589 24.1561 16.6566H24.0247V15.5033H21.9809V28.7379H24.0247V18.491V18.4918ZM35.4213 28.9215C36.4956 28.9215 37.2287 28.4238 37.8047 27.6897H37.9361L38.0931 28.7379H39.6129V10H37.5692V15.8448C37.1758 15.5554 36.5212 15.3463 35.8923 15.3463C33.2461 15.3463 31.413 17.7313 31.413 22.6319C31.413 26.72 32.8271 28.9215 35.4213 28.9215ZM37.5692 26.1694C37.2287 26.6935 36.6783 27.192 35.6568 27.192C34.1634 27.192 33.5874 25.3047 33.5874 22.2128C33.5874 19.5136 34.3725 17.0236 36.0237 17.0236C36.7047 17.0236 37.1502 17.2336 37.5692 17.6519V26.1694ZM49.2269 27.8476L48.7558 26.2744C48.2319 26.6414 47.393 27.1656 46.241 27.1656C44.6162 27.1656 43.7782 25.5932 43.7782 22.6055H49.2798V21.4795C49.2798 16.9988 47.8385 15.3471 45.6385 15.3471C42.8352 15.3471 41.6559 18.4389 41.6559 22.6849C41.6559 26.7472 43.3327 28.9223 46.0575 28.9223C47.3674 28.9223 48.3889 28.5032 49.2269 27.8476ZM45.6385 17.0236C46.817 17.0236 47.1839 18.6745 47.1839 20.9281H43.8038C43.9352 18.5696 44.3807 17.0236 45.6385 17.0236ZM56.169 15.5298L54.3616 20.3255L52.6591 15.5306H50.536L53.0252 21.8978L50.2748 28.7379H52.2922L54.2839 23.2867L56.326 28.7379H58.4499L55.6987 21.7143L58.1615 15.5306H56.1698L56.169 15.5298ZM64.3697 28.7379H66.2821C70.4217 28.7379 73.2242 25.017 73.2242 18.6745C73.2242 12.1759 70.2647 10 66.5705 10H64.3697V28.7379ZM66.5705 11.0747C69.5044 11.0747 71.8887 12.9877 71.8887 18.7795C71.8887 24.5185 69.6358 27.6632 66.3086 27.6632H65.6796V11.0747H66.5705ZM76.2374 12.9348C76.6828 12.9348 77.0762 12.5686 77.0762 12.0965C77.0762 11.6517 76.6828 11.2318 76.2374 11.2318C75.7663 11.2318 75.3994 11.6517 75.3994 12.0965C75.3994 12.5686 75.7663 12.9356 76.2374 12.9356V12.9348ZM75.6093 15.5306V28.7379H76.8407V15.5298H75.6093V15.5306ZM81.5299 29C83.2588 29 84.7522 27.7947 84.7522 25.6982C84.7522 22.0028 80.1671 20.9025 80.1671 18.0454C80.1671 16.893 81.0315 16.2639 82.0018 16.2639C82.9183 16.2639 83.5728 16.6045 84.1497 17.2336L84.4902 16.1068C84.0439 15.7398 83.2323 15.2677 81.9489 15.2677C80.5076 15.2677 79.0671 16.211 79.0671 18.2025C79.0671 21.5572 83.5993 22.8411 83.5993 25.8552C83.5993 26.982 82.8133 28.0047 81.5034 28.0047C80.2456 28.0047 79.6167 27.5582 78.9886 27.0085L78.7266 28.0832C79.2241 28.5023 80.0621 29 81.5299 29ZM88.0794 21.8987L92.6637 28.7379H94L89.3364 21.6622L93.6851 15.5298H92.5066L88.0794 21.7408V10H86.848V28.7379H88.0794V21.8978V21.8987Z" fill="black"/>
<path d="M7.88083 29V22.2662L13 8H10.8259L6.83547 19.3913L3.36683 9.96893H1L5.70588 22.1856V29H7.88083Z" fill="#FF0000"/>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -64,6 +64,7 @@ const ServiceItem = (props) => {
const ThirdPartyDialog = (props) => {
const {
t,
i18n,
tReady,
isAdmin,
googleConnectItem,
@ -123,6 +124,11 @@ const ThirdPartyDialog = (props) => {
setThirdPartyDialogVisible(false);
};
const yandexLogoUrl =
i18n && i18n.language === "ru-RU"
? "images/services/logo_yandex_ru.svg"
: "images/services/logo_yandex_en.svg";
return (
<ModalDialog
isLoading={!tReady}
@ -223,7 +229,7 @@ const ThirdPartyDialog = (props) => {
<ServiceItem
capability={yandexConnectItem}
onClick={onShowService}
src="images/services/logo_yandex_ru.svg"
src={yandexLogoUrl}
/>
)}
{webDavConnectItem && (