Added more components
This commit is contained in:
parent
b48ab87cc6
commit
d8057be1b4
28 changed files with 436 additions and 31 deletions
17
src/app/post-card/post-card.component.html
Normal file
17
src/app/post-card/post-card.component.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<!-- This is an example component -->
|
||||
<div class="">
|
||||
<div class="bg-white shadow-md border border-gray-200 rounded-lg max-w-sm mb-5">
|
||||
<a href="/blog/{{post?.slug}}">
|
||||
<img class="rounded-t-lg" src="{{post?.image}}" alt="">
|
||||
</a>
|
||||
<div class="p-5">
|
||||
<a href="#">
|
||||
<h5 class="text-gray-900 font-bold text-2xl tracking-tight mb-2">{{post?.title}}</h5>
|
||||
</a>
|
||||
<p class="font-normal text-gray-700 mb-3">{{post?.description}}</p>
|
||||
<a class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-3 py-2 text-center inline-flex items-center" href="/blog/{{post?.slug}}">
|
||||
Read more
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue