Details { get; set; } = new();
+}
+
+public class DowngradeCriteria
+{
+ public int MaxPages { get; set; }
+ public int MaxLinksPerPage { get; set; }
+ public string MaxLinksDisplay => MaxLinksPerPage == -1 ? "Ilimitado" : MaxLinksPerPage.ToString();
+ public string SelectionCriteria { get; set; } = "Páginas mais antigas têm prioridade";
+ public string LinksCriteria { get; set; } = "Páginas com muitos links são automaticamente suspensas";
}
\ No newline at end of file
diff --git a/src/BCards.Web/Views/Admin/ManagePage.cshtml b/src/BCards.Web/Views/Admin/ManagePage.cshtml
index 49af073..29f2690 100644
--- a/src/BCards.Web/Views/Admin/ManagePage.cshtml
+++ b/src/BCards.Web/Views/Admin/ManagePage.cshtml
@@ -249,7 +249,11 @@
"facebook",
"whatsapp",
"twitter",
- "instagram"
+ "instagram",
+ "tiktok",
+ "pinterest",
+ "discord",
+ "kawai"
};
var match = myList.FirstOrDefault(stringToCheck =>
!string.IsNullOrEmpty(Model.Links[i].Icon) &&
@@ -280,6 +284,7 @@
+
@@ -381,10 +386,18 @@
var twitter = Model.Links.Where(x => !string.IsNullOrEmpty(x.Icon) && x.Icon.Contains("twitter")).FirstOrDefault();
var whatsapp = Model.Links.Where(x => !string.IsNullOrEmpty(x.Icon) && x.Icon.Contains("whatsapp")).FirstOrDefault();
var instagram = Model.Links.Where(x => !string.IsNullOrEmpty(x.Icon) && x.Icon.Contains("instagram")).FirstOrDefault();
+ var tiktok = Model.Links.Where(x => !string.IsNullOrEmpty(x.Icon) && x.Icon.Contains("tiktok")).FirstOrDefault();
+ var pinterest = Model.Links.Where(x => !string.IsNullOrEmpty(x.Icon) && x.Icon.Contains("pinterest")).FirstOrDefault();
+ var discord = Model.Links.Where(x => !string.IsNullOrEmpty(x.Icon) && x.Icon.Contains("discord")).FirstOrDefault();
+ var kawai = Model.Links.Where(x => !string.IsNullOrEmpty(x.Icon) && x.Icon.Contains("kawai")).FirstOrDefault();
var facebookUrl = facebook !=null ? facebook.Url.Replace("https://facebook.com/","").Replace("https://www.facebook.com/","").Replace("https://fb.com/","") : "";
var twitterUrl = twitter !=null ? twitter.Url.Replace("https://x.com/","").Replace("https://twitter.com/","").Replace("https://www.twitter.com/","") : "";
var whatsappUrl = whatsapp !=null ? whatsapp.Url.Replace("https://wa.me/","").Replace("whatsapp://","") : "";
var instagramUrl = instagram !=null ? instagram.Url.Replace("https://instagram.com/","").Replace("https://www.instagram.com/","") : "";
+ var tiktokUrl = tiktok !=null ? tiktok.Url.Replace("https://tiktok.com/@@","").Replace("https://www.tiktok.com/@@","").Replace("https://vm.tiktok.com/","") : "";
+ var pinterestUrl = pinterest !=null ? pinterest.Url.Replace("https://pinterest.com/","").Replace("https://www.pinterest.com/","").Replace("https://pin.it/","") : "";
+ var discordUrl = discord !=null ? discord.Url.Replace("https://discord.gg/","").Replace("https://discord.com/invite/","") : "";
+ var kawaiUrl = kawai !=null ? kawai.Url.Replace("https://kawai.com/","").Replace("https://www.kawai.com/","") : "";
}
@@ -489,7 +502,93 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+ https://tiktok.com/@@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ https://pinterest.com/
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ https://discord.gg/
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ https://kawai.com/
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Escaneie para compartilhar esta página
+
+
+
+