This commit is contained in:
Chris Cochrun 2025-04-16 10:20:21 -05:00
parent c3f0cd73f6
commit 222de783d1
10 changed files with 91 additions and 8 deletions

View file

@ -17,10 +17,15 @@
{% for page in pages %}
{% set page = get_section(path=page) %}
{% set image = page.path ~ "/" ~ page.extra.image %}
{% set resized = resize_image(path=image, width=100, height=100) %}
<div class="flex flex-col border border-2 border-gray-200 dark:border-black rounded-xl p-5 shadow-2xl transform transition duration-500 hover:scale-105 bg-gray-200 dark:bg-gray-800">
<!-- Image -->
<div class="rounded-lg">
{{ page.extra.image }}
<img src="{{ page.path ~ "/" ~ page.extra.image }}"/>
</div>
<div class="flex flex-col py-2 justify-center">
<h2 class="text-2xl text-bold"><a href='{{ page.permalink }}'>{{ page.title }}</a></h2>
<p class="text-bold">{{ page.description }}</p>