Guest User

Untitled

a guest
Sep 27th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. <div class="block block--icons bg--@Properties.sectionBackground">
  2. <section class="container-fluid">
  3.  
  4. @if(Properties.title != "")
  5. {
  6. <div class="row">
  7. <div class="col-12 text-@Properties.titleAlign">
  8. <h2>@Properties.title</h2>
  9. </div>
  10. </div>
  11. }
  12.  
  13. <div class="row justify-content-center">
  14.  
  15. @foreach(var icon in Properties.icons)
  16. {
  17. <div class="col">
  18. <article class="icon-feature">
  19.  
  20. @* Check for link (styled to cover entire area) *@
  21. @if (icon.iconLink != null)
  22. {
  23. <a class="icon-feature__link" href="@icon.iconLink.Path"></a>
  24. }
  25.  
  26. <div class="icon-feature__icon">
  27. <span class="icon icon--@icon.iconImage"></span>
  28. </div>
  29.  
  30. @* Check for title *@
  31. @if (icon.iconTitle != "")
  32. {
  33. <h3 class="icon-feature__title">@icon.iconTitle</h3>
  34. }
  35.  
  36. </article>
  37. </div>
  38. }
  39.  
  40. </div>
  41. </section>
  42. </div>
Add Comment
Please, Sign In to add comment