Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.
Rust downloadmanagerguihacktoberfesthomebrewlightweightlinuxlinux-distributionlocal-firstmacosmacos-packagemedia-toolboxopen-sourcerustsveltetauritrendingtrending-repositorieswindowswindows-desktopytdlp
feat: add support for Vimeo, Telegram, YouTube, and generic platform icons in PlatformIcon component
Tonho5f485cb01dc5
diff --git a/src/components/icons/PlatformIcon.svelte b/src/components/icons/PlatformIcon.svelteindex 6a1a6487..54e33cdd 100644--- a/src/components/icons/PlatformIcon.svelte+++ b/src/components/icons/PlatformIcon.svelte@@ -46,6 +46,26 @@<svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M7 4v16M17 4v16M7 12h10" /></svg>+{:else if platform === "vimeo"}+ <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">+ <path d="M3 8.5C3 8.5 5 7 7 7c3 0 3.5 3 3 6s-3 7-5 7c-1.5 0-2.5-1-2.5-1" />+ <path d="M21 4c0 2.5-3 10.5-5.5 10.5S13 11 13 11" />+ </svg>+{:else if platform === "telegram"}+ <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">+ <path d="M15 10l-4 4l6 6l4 -16l-18 7l4 2l2 6l3 -4" />+ </svg>+{:else if platform === "youtube"}+ <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">+ <rect x="2" y="4" width="20" height="16" rx="4" />+ <path d="M10 9l5 3l-5 3z" />+ </svg>+{:else if platform === "generic"}+ <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">+ <path d="M9 15l6 -6" />+ <path d="M11 6l.463 -.536a5 5 0 0 1 7.071 7.072L18 13" />+ <path d="M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071L6 11" />+ </svg>{:else}<svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" />