1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

Add about/community info guidelines/social page

This commit is contained in:
RaidMax
2021-10-09 21:11:47 -05:00
parent 9f859c5d23
commit 60681458c4
11 changed files with 226 additions and 10 deletions

View File

@ -0,0 +1,10 @@
using SharedLibraryCore.Configuration;
namespace WebfrontCore.Extensions
{
public static class WebfrontExtensions
{
public static bool ShouldUseFallbackBranding(this ApplicationConfiguration appConfig) =>
string.IsNullOrWhiteSpace(appConfig?.CommunityInformation?.Name) || appConfig.CommunityInformation.Name.Contains("IW4MAdmin");
}
}