layout_7.blade.php 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <section class="block-wrapper" id="{{$data->slug}}" style="margin-top:25px; min-height:900px !important;">
  2. <div class="container">
  3. <div class="row">
  4. <div class="col-sm-8">
  5. <div class="block-content">
  6. <div class="title-section">
  7. <h1><span>{{$data->name}}</span></h1>
  8. </div>
  9. <div class="row" style="margin-top: 2em;">
  10. @if(is_object($data->big))
  11. <div class="col-sm-12">
  12. @if(false)
  13. <span class="top-stories">{{$data->name}}</span>
  14. @endif
  15. @if($data->big->live)
  16. <span class="top-live">LIVE</span>
  17. @endif
  18. <div class="news-post image-post">
  19. <a href="{{$data->big->slug}}"><img class="lazy" data-src="/files/news/{{$data->big->image}}" alt=""></a>
  20. <div class="box-title">
  21. <div class="inner-hover">
  22. <h2><a href="{{$data->big->slug}}">{{$data->big->getCurrentTitle($data->id)}}</a></h2>
  23. <ul class="post-tags">
  24. <li><i class="fa fa-clock-o"></i><span>{{date("d/m/Y", strtotime($data->big->date))}}</span></li>
  25. </ul>
  26. </div>
  27. </div>
  28. </div>
  29. </div>
  30. @endif
  31. <div class="col-sm-12" style="margin-top: 2em;">
  32. <div class="row">
  33. @if(is_object($data->small1))
  34. <div class="col-sm-6">
  35. <div class="col-sm-5" style="padding-left:0px">
  36. <div class="news-post image-post2 vertical">
  37. <a href="{{$data->small1->slug}}">
  38. <picture>
  39. <source media="(min-width:600px)" srcset="/files/news/V_{{$data->small1->image}}">
  40. <source media="(min-width:300px)" srcset="/files/news/{{$data->small1->image}}">
  41. <img class="img-responsive lazy" data-src="/files/news/V_{{$data->small1->image}}" alt="">
  42. </picture>
  43. </a>
  44. </div>
  45. </div>
  46. <div class="col-sm-7">
  47. <div class="post-content">
  48. <h2><a href="/{{$data->small1->slug}}">{{$data->small1->getCurrentTitle($data->id)}}</a></h2>
  49. <ul class="post-tags">
  50. <li><i class="fa fa-clock-o"></i>{{date("d/m/Y", strtotime($data->small1->date))}}</li>
  51. </ul>
  52. </div>
  53. </div>
  54. </div>
  55. @endif
  56. @if(is_object($data->small2))
  57. <div class="col-sm-6">
  58. <div class="col-sm-5" style="padding-left:0px">
  59. <div class="news-post image-post2 vertical">
  60. <a href="{{$data->small2->slug}}">
  61. <picture>
  62. <source media="(min-width:600px)" srcset="/files/news/V_{{$data->small2->image}}">
  63. <source media="(min-width:300px)" srcset="/files/news/{{$data->small2->image}}">
  64. <img class="img-responsive lazy" data-src="/files/news/V_{{$data->small2->image}}" alt="">
  65. </picture>
  66. </a>
  67. </div>
  68. </div>
  69. <div class="col-sm-7">
  70. <div class="post-content">
  71. <h2><a href="/{{$data->small2->slug}}">{{$data->small2->getCurrentTitle($data->id)}}</a></h2>
  72. <ul class="post-tags">
  73. <li><i class="fa fa-clock-o"></i>{{date("d/m/Y", strtotime($data->small2->date))}}</li>
  74. </ul>
  75. </div>
  76. </div>
  77. </div>
  78. @endif
  79. </div>
  80. <div class="row" style="margin-top: 1em;">
  81. @if(is_object($data->small3))
  82. <div class="col-sm-6">
  83. <div class="col-sm-5" style="padding-left:0px">
  84. <div class="news-post image-post2 vertical">
  85. <a href="{{$data->small3->slug}}">
  86. <picture>
  87. <source media="(min-width:600px)" srcset="/files/news/V_{{$data->small3->image}}">
  88. <source media="(min-width:300px)" srcset="/files/news/{{$data->small3->image}}">
  89. <img class="img-responsive lazy" data-src="/files/news/V_{{$data->small3->image}}" alt="">
  90. </picture>
  91. </a>
  92. </div>
  93. </div>
  94. <div class="col-sm-7">
  95. <div class="post-content">
  96. <h2><a href="/{{$data->small3->slug}}">{{$data->small3->getCurrentTitle($data->id)}}</a></h2>
  97. <ul class="post-tags">
  98. <li><i class="fa fa-clock-o"></i>{{date("d/m/Y", strtotime($data->small3->date))}}</li>
  99. </ul>
  100. </div>
  101. </div>
  102. </div>
  103. @endif
  104. @if(is_object($data->small4))
  105. <div class="col-sm-6">
  106. <div class="col-sm-5" style="padding-left:0px">
  107. <div class="news-post image-post2 vertical">
  108. <a href="{{$data->small4->slug}}">
  109. <picture>
  110. <source media="(min-width:600px)" srcset="/files/news/V_{{$data->small4->image}}">
  111. <source media="(min-width:300px)" srcset="/files/news/{{$data->small4->image}}">
  112. <img class="img-responsive lazy" data-src="/files/news/V_{{$data->small4->image}}" alt="">
  113. </picture>
  114. </a>
  115. </div>
  116. </div>
  117. <div class="col-sm-7">
  118. <div class="post-content">
  119. <h2><a href="/{{$data->small4->slug}}">{{$data->small4->getCurrentTitle($data->id)}}</a></h2>
  120. <ul class="post-tags">
  121. <li><i class="fa fa-clock-o"></i>{{date("d/m/Y", strtotime($data->small4->date))}}</li>
  122. </ul>
  123. </div>
  124. </div>
  125. </div>
  126. @endif
  127. </div>
  128. </div>
  129. </div>
  130. </div>
  131. </div>
  132. <div class="col-sm-4 sidebar">
  133. <div class="center-button">
  134. <a href="/{{$data->slug}}">ARCHIVIO {{$data->name}}</a>
  135. </div>
  136. @include('partials.section_adv', ['keys' => array('300x250 Sopra', '300x75 Sopra', '300x75 Centro', '300x75 Sotto', '300x75 Quarto', '300x250 Sotto'), 'advs' => $advs])
  137. </div>
  138. </div>
  139. </div>
  140. </section>