First commit
This commit is contained in:
22
app/Views/site/home.html
Normal file
22
app/Views/site/home.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<section class="stack-lg" aria-labelledby="home-title">
|
||||
<header class="page-header">
|
||||
<h1 class="page-title" id="home-title">Articles</h1>
|
||||
</header>
|
||||
|
||||
<check if="{{ @posts }}">
|
||||
<true>
|
||||
<div class="card-grid">
|
||||
<repeat group="{{ @posts }}" value="{{ @post }}">
|
||||
<include href="partials/post_card.html" />
|
||||
</repeat>
|
||||
</div>
|
||||
<include href="partials/pagination.html" />
|
||||
</true>
|
||||
<false>
|
||||
<section class="empty-state" aria-labelledby="home-empty-title">
|
||||
<h2 class="card-title" id="home-empty-title">Aucun article</h2>
|
||||
<p>Le premier article arrivera bientôt.</p>
|
||||
</section>
|
||||
</false>
|
||||
</check>
|
||||
</section>
|
||||
Reference in New Issue
Block a user