Make it more complete
This commit is contained in:
+3
-5
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user