Initial Commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace Components.Utils;
|
||||
|
||||
public static class Links
|
||||
{
|
||||
public static string GetTarget(string link)
|
||||
{
|
||||
if (link.StartsWith("https://")) return "_blank";
|
||||
|
||||
return "_self";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user