@@ -0,0 +1,18 @@
|
||||
namespace Web.Settings;
|
||||
|
||||
public sealed class SiteSettings
|
||||
{
|
||||
public const string SectionName = "Site";
|
||||
|
||||
/// <summary>
|
||||
/// Controls which page visitors see: Normal, UnderConstruction, or Unavailable.
|
||||
/// </summary>
|
||||
public string Mode { get; set; } = SiteModes.Normal;
|
||||
}
|
||||
|
||||
public static class SiteModes
|
||||
{
|
||||
public const string Normal = "Normal";
|
||||
public const string UnderConstruction = "UnderConstruction";
|
||||
public const string Unavailable = "Unavailable";
|
||||
}
|
||||
Reference in New Issue
Block a user