Убрал новости со страницы feed
This commit is contained in:
parent
3f236c837c
commit
f0ec28b9aa
|
|
@ -15,17 +15,7 @@
|
|||
</div>
|
||||
<hr class="onlySmallScreen"/>
|
||||
<div class="row elements">
|
||||
<div class="col-md-2">
|
||||
<h4 class="onlySmallScreen text-center">Новости</h4>
|
||||
<?php foreach ($news as $item) : ?>
|
||||
<div class="element news">
|
||||
<h4><?= $item->title ?></h4>
|
||||
<?= $item->text ?>
|
||||
</div>
|
||||
<?php endforeach;?>
|
||||
</div>
|
||||
<hr class="onlySmallScreen"/>
|
||||
<div class="col-md-5">
|
||||
<div class="col-md-6">
|
||||
<h4 class="onlySmallScreen text-center">Точки</h4>
|
||||
<?php foreach ($points as $item) : ?>
|
||||
<div class="element points">
|
||||
|
|
@ -41,7 +31,7 @@
|
|||
<a href="/page/points/"><h4 style="text-align: center;">У нас есть больше новых точек!</h4></a>
|
||||
</div>
|
||||
<hr class="onlySmallScreen"/>
|
||||
<div class="col-md-5">
|
||||
<div class="col-md-6">
|
||||
<h4 class="onlySmallScreen text-center">Статьи</h4>
|
||||
<?php foreach ($articles as $item) : ?>
|
||||
<div class="element articles">
|
||||
|
|
|
|||
Loading…
Reference in New Issue