diff --git a/Gov.News.WebApp/Controllers/DefaultController.cs b/Gov.News.WebApp/Controllers/DefaultController.cs index 09d5a4a..57577b7 100644 --- a/Gov.News.WebApp/Controllers/DefaultController.cs +++ b/Gov.News.WebApp/Controllers/DefaultController.cs @@ -438,8 +438,13 @@ public async Task GetConnectModel() new Link() { Url = "https://www.instagram.com/roadsafetybc/", Title = "Road Safety BC", Summary = "" }, new Link() { Url = "https://www.instagram.com/_healthy_bc/", Title = "HealthyBC", Summary = "" }, new Link() { Url = "https://www.instagram.com/EatDrinkBuyBC/", Title = "Buy BC", Summary = "" }, + new Link() { Url = "https://www.instagram.com/bcpublicservice/", Title = "BC Public Service Agency", Summary = "" }, }.OrderBy(t => t.Title).Prepend(new Link() { Url = "https://www.instagram.com/governmentofbc/", Title = "Government of BC", Summary = "" }).ToArray(); + model.ThreadsLinks = new Link[] + { + }.OrderBy(t => t.Title).Prepend(new Link() { Url = "https://www.threads.net/@governmentofbc", Title = "Government of BC", Summary = "" }).ToArray(); + model.BlogsLinks = new Link[] { new Link() { Url = "https://www.britishcolumbia.ca/about-trade-and-invest-bc/news-stories/", Title = "BC Trade and Invest" }, diff --git a/Gov.News.WebApp/Models/ConnectViewModel.cs b/Gov.News.WebApp/Models/ConnectViewModel.cs index 996de8f..f79973e 100644 --- a/Gov.News.WebApp/Models/ConnectViewModel.cs +++ b/Gov.News.WebApp/Models/ConnectViewModel.cs @@ -22,6 +22,7 @@ public class ExternalConnectLink public ExternalConnectLink[] RssLinks { get; set; } public ExternalConnectLink[] TwitterLinks { get; set; } public ExternalConnectLink[] InstagramLinks { get; set; } + public ExternalConnectLink[] ThreadsLinks { get; set; } public ExternalConnectLink[] WeiboLinks { get; set; } public ExternalConnectLink[] LinkedinLinks { get; set; } } diff --git a/Gov.News.WebApp/Views/Default/CommContacts.cshtml b/Gov.News.WebApp/Views/Default/CommContacts.cshtml index 641af0f..cbd73b2 100644 --- a/Gov.News.WebApp/Views/Default/CommContacts.cshtml +++ b/Gov.News.WebApp/Views/Default/CommContacts.cshtml @@ -94,11 +94,11 @@
- Jawad Siddiqui + Esme Mills
- Direct: 250-413-7156 + Direct: 250-896-4891
- Jawad.Siddiqui@gov.bc.ca
+ Esme.Mills@gov.bc.ca
diff --git a/Gov.News.WebApp/Views/Default/ConnectView.cshtml b/Gov.News.WebApp/Views/Default/ConnectView.cshtml index 32dbebd..bae6de4 100644 --- a/Gov.News.WebApp/Views/Default/ConnectView.cshtml +++ b/Gov.News.WebApp/Views/Default/ConnectView.cshtml @@ -105,6 +105,35 @@ }
+ @{ + bool expandableThreads = Model.ThreadsLinks.Count() >= 5; + } +
+ +

Find us on Threads

+
+
+ @if (Model.ThreadsLinks != null && Model.ThreadsLinks.Any()) + { + + } + @if (expandableThreads) + { +
+ } +
+ @if (@expandableThreads) + { + Expand Threads List + Contract Threads List + } +
+
@{bool expandableWeibo = Model.WeiboLinks.Count() >= 5;}