news post hover
This commit is contained in:
parent
14c9a24402
commit
56304e0ca5
4 changed files with 31 additions and 11 deletions
|
@ -41,7 +41,7 @@
|
|||
<div id="more-posts">
|
||||
<Button type={ButtonType.Primary}>
|
||||
<a slot="content" href="/post">
|
||||
<span>More Posts</span>
|
||||
<span>More News</span>
|
||||
</a>
|
||||
</Button>
|
||||
</div>
|
||||
|
|
|
@ -7,6 +7,11 @@
|
|||
<h1>All posts on deprived.dev!</h1>
|
||||
<ul>
|
||||
{#each data.summaries as summary}
|
||||
<NewsCard post_url={summary.url} title={summary.title} summary={summary.summary} creation_date={summary.creation_date} />
|
||||
<NewsCard
|
||||
post_url={summary.url}
|
||||
title={summary.title}
|
||||
summary={summary.summary}
|
||||
creation_date={summary.creation_date.toString()}
|
||||
/>
|
||||
{/each}
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue