Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

feat: add Telegram navigation item and icon to the layout

Tonho995528763b78
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 971561cc..41767b68 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -45,6 +45,7 @@
{ href: "/", labelKey: "nav.home", icon: "home" },
{ href: "/downloads", labelKey: "nav.downloads", icon: "downloads" },
{ href: "/hotmart", labelKey: "nav.hotmart", icon: "hotmart" },
+ { href: "/telegram", labelKey: "nav.telegram", icon: "telegram" },
{ href: "/settings", labelKey: "nav.settings", icon: "settings" },
{ href: "/about", labelKey: "nav.about", icon: "about" },
] as const;
@@ -76,6 +77,8 @@
<path d="M6 4v16" />
<path d="M18 4v16" />
<path d="M6 12h12" />
+ {:else if item.icon === "telegram"}
+ <path d="M21 5L2 12.5l7 1M21 5l-5.5 15-4.5-7.5M21 5L9 13.5" />
{:else if item.icon === "settings"}
<circle cx="12" cy="12" r="3" />
<path d="M12 1v2m0 18v2M4.22 4.22l1.42 1.42m12.72 12.72l1.42 1.42M1 12h2m18 0h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42" />