@model ApplicationNavigationViewModel @{ var projectId = Model.Project!.ProjectID; string ActiveClass(string section) => string.Equals(Model.ActiveSection, section, StringComparison.OrdinalIgnoreCase) ? "active" : string.Empty; } @{ var storyActive = Model.ActiveSection == "Overview" || Model.ActiveSection == "Timeline" || Model.ActiveSection == "Calendar" || Model.ActiveSection == "At This Point" || Model.ActiveSection == "Threads" || Model.ActiveSection == "Scenarios" || Model.ActiveSection == "Continuity Explorer"; }