fixing some things
This commit is contained in:
parent
bfd54e6918
commit
cc089e8cdc
2 changed files with 43 additions and 5 deletions
|
@ -36,22 +36,24 @@
|
|||
{% else %}
|
||||
{% set resized = "" %}
|
||||
{% endif %}
|
||||
<div class="flex flex-wrap space-x-4 border border-2 border-gray-200 dark:border-black rounded-xl p-5 shadow-xl hover:shadow-xl/30 transform transition duration-500 hover:scale-105 bg-gray-200 dark:bg-gray-800 place-content-center cursor-pointer" onclick='location.href="{{ page.permalink }}";'>
|
||||
<div class="flex flex-wrap space-x-4 border border-2 border-gray-200 dark:border-black rounded-xl shadow-xl hover:shadow-xl/30 transform transition duration-500 hover:scale-105 bg-gray-200 dark:bg-gray-800 place-content-center cursor-pointer" onclick='location.href="{{ page.permalink }}";'>
|
||||
|
||||
<!-- Image -->
|
||||
{% if resized %}
|
||||
<div class="flex-1 rounded-lg place-content-center">
|
||||
<img class="rounded-lg" src="{{ resized.url }}"/>
|
||||
<div class="w-full md:w-1/3 flex-2 rounded-lg place-content-center">
|
||||
<img class="object-cover object-top w-full h-96 lg:h-72 md:h-72 nozoom rounded-lg" src="{{ resized.url }}"/>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="ml-5">
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="flex flex-col flex-3">
|
||||
<div class="flex flex-col flex-3 mr-5">
|
||||
<h2 class="text-2xl text-bold"><a href='{{ page.permalink }}'>{{ page.title }}</a></h2>
|
||||
<p class="text-bold text-ellipsis">{{ page.description | linebreaksbr | safe }}</p>
|
||||
|
||||
<!-- Summary -->
|
||||
<div class="text-bold mt-8">
|
||||
<div class="text-bold my-2">
|
||||
<a class="flex py-2" href='{{ page.permalink }}'>
|
||||
Read More
|
||||
<svg class="w-6 h-6 ml-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue