Make it more complete

This commit is contained in:
2026-04-28 03:21:01 -05:00
parent 74c6d1126e
commit 1052b94a54
34 changed files with 712 additions and 82 deletions
+3 -5
View File
@@ -4,11 +4,13 @@ using System.Web;
namespace Tesses.YouTubeDownloader2025Companion
{
public class PageLink(string title, string icon, string url,string badge="") {
public class PageLink(string title, string icon, string url, bool active,string badge="") {
public string Title => HttpUtility.HtmlEncode(title);
public string Icon => HttpUtility.HtmlEncode(icon);
public string Url => HttpUtility.HtmlAttributeEncode(url);
public bool Active => active;
public string Badge => HttpUtility.HtmlEncode(badge);
}
public static partial class Components {
@@ -22,9 +24,5 @@ namespace Tesses.YouTubeDownloader2025Companion
});
}
internal static string Shell(string v1, string v2, object defaultLinks)
{
throw new NotImplementedException();
}
}
}