From 3e55e4a1b10dbb7a1f66c77cd3c394baeb32251d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lashley?= Date: Mon, 9 Dec 2024 11:03:25 -0800 Subject: [PATCH 1/4] Update ECC contact (#975) * Hub-190 Update MoS for Child Care on Media Contacts * Update ECC contact --- Gov.News.WebApp/Views/Default/CommContacts.cshtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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
From 455a9a8f3f6fe7a5d5b110b22646cab1d256638d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lashley?= Date: Thu, 12 Dec 2024 12:14:04 -0800 Subject: [PATCH 2/4] Add BC Public Service Agency to social media page (#977) * Hub-190 Update MoS for Child Care on Media Contacts * Update ECC contact * Add BC Public Service Agency to social media page --- Gov.News.WebApp/Controllers/DefaultController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Gov.News.WebApp/Controllers/DefaultController.cs b/Gov.News.WebApp/Controllers/DefaultController.cs index 09d5a4a..b15f01d 100644 --- a/Gov.News.WebApp/Controllers/DefaultController.cs +++ b/Gov.News.WebApp/Controllers/DefaultController.cs @@ -438,6 +438,7 @@ 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.BlogsLinks = new Link[] From 6c0529400b63f01d83c5cfca7b27ea07f9df63bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lashley?= Date: Thu, 12 Dec 2024 13:13:23 -0800 Subject: [PATCH 3/4] Add Threads links (#978) * Hub-190 Update MoS for Child Care on Media Contacts * Update ECC contact * Add BC Public Service Agency to social media page * Add Threads links --- .../Controllers/DefaultController.cs | 4 +++ Gov.News.WebApp/Models/ConnectViewModel.cs | 1 + .../Views/Default/ConnectView.cshtml | 29 +++++++++++++++++++ 3 files changed, 34 insertions(+) diff --git a/Gov.News.WebApp/Controllers/DefaultController.cs b/Gov.News.WebApp/Controllers/DefaultController.cs index b15f01d..57577b7 100644 --- a/Gov.News.WebApp/Controllers/DefaultController.cs +++ b/Gov.News.WebApp/Controllers/DefaultController.cs @@ -441,6 +441,10 @@ public async Task GetConnectModel() 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/ConnectView.cshtml b/Gov.News.WebApp/Views/Default/ConnectView.cshtml index 32dbebd..0690a53 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;}
From bd39dddf521324d56640689ac0efddb26f4fb3b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lashley?= Date: Thu, 12 Dec 2024 13:21:05 -0800 Subject: [PATCH 4/4] Change Threads icon (#979) * Hub-190 Update MoS for Child Care on Media Contacts * Update ECC contact * Add BC Public Service Agency to social media page * Add Threads links * Change Threads icon --- Gov.News.WebApp/Views/Default/ConnectView.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gov.News.WebApp/Views/Default/ConnectView.cshtml b/Gov.News.WebApp/Views/Default/ConnectView.cshtml index 0690a53..bae6de4 100644 --- a/Gov.News.WebApp/Views/Default/ConnectView.cshtml +++ b/Gov.News.WebApp/Views/Default/ConnectView.cshtml @@ -110,7 +110,7 @@ }
-

Find us on Threads

+

Find us on Threads

@if (Model.ThreadsLinks != null && Model.ThreadsLinks.Any())