@model OnlyOneAccessTemplate.Models.ContentBlock
@if (!string.IsNullOrEmpty(Model?.Properties.GetValueOrDefault("urgency_badge")?.ToString())) { @Model.Properties["urgency_badge"] }

@Html.Raw(Model?.Title ?? ViewBag.DefaultCtaTitle)

@Html.Raw(Model?.Content ?? ViewBag.DefaultCtaSubtitle)

@if (Model?.Properties.ContainsKey("countdown") == true && Model.Properties["countdown"] is string countdownDate) {
00
@ViewBag.DaysText
00
@ViewBag.HoursText
00
@ViewBag.MinutesText
00
@ViewBag.SecondsText
}
@(Model?.ButtonText ?? ViewBag.DefaultCtaButtonText) @if (!string.IsNullOrEmpty(Model?.Properties.GetValueOrDefault("secondary_button_text")?.ToString())) { @Model.Properties["secondary_button_text"] }
@if (Model?.Properties.ContainsKey("guarantee") == true) {

@Model.Properties["guarantee"]

}