@model OnlyOneAccessTemplate.Models.ContentBlock

@(Model?.Title ?? ViewBag.DefaultTestimonialsTitle)

@(Model?.Content ?? ViewBag.DefaultTestimonialsSubtitle)

@if (Model?.Properties.ContainsKey("testimonials") == true && Model.Properties["testimonials"] is IEnumerable testimonials) { int index = 0; @foreach (var testimonial in testimonials.Take(3)) { var testimonialDict = testimonial as Dictionary; var delay = (index * 100).ToString(); index++;
@for (int i = 0; i < 5; i++) { }

"@testimonialDict?.GetValueOrDefault("quote")"

@if (!string.IsNullOrEmpty(testimonialDict?.GetValueOrDefault("avatar")?.ToString())) { @testimonialDict?.GetValueOrDefault( } else {
}
@testimonialDict?.GetValueOrDefault("name")
@testimonialDict?.GetValueOrDefault("position")
} } else {

"@ViewBag.Testimonial1Quote"

@ViewBag.Testimonial1Name
@ViewBag.Testimonial1Position

"@ViewBag.Testimonial2Quote"

@ViewBag.Testimonial2Name
@ViewBag.Testimonial2Position

"@ViewBag.Testimonial3Quote"

@ViewBag.Testimonial3Name
@ViewBag.Testimonial3Position
}