update portfolio items; add new projects with descriptions and technologies, enhance carousel item layout for better presentation, and adjust collapsible component styles for improved interaction

This commit is contained in:
Michael Czechowski
2025-06-16 13:46:38 +02:00
parent cd832e9e14
commit be692ac18a
5 changed files with 21 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 846 KiB

View File

@@ -50,7 +50,7 @@ mixin Carousel(items, options)
loading=index < 3 ? "eager" : "lazy"
)
if item.caption
.p-4(class="sm:static sm:self-center")
.p-4(class="sm:static sm:self-center sm:w-1/2")
p.text-lg.pt-2.font-bold(class="sm:text-xl")= item.caption
if item.description
p.text-sm.mt-2(class="sm:text-base")= item.description

View File

@@ -6,7 +6,7 @@ mixin Collapsable(name, data, open)
details.mb-4(open=isExpanded, name=name)
summary(
class=`${color} rounded-sm transition mb-2 cursor-pointer text-md font-semibold mb-2 cursor-pointer sm:text-lg focus:outline-none focus:z-10 focus:ring-4 focus:no-underline`,
class=`${color} rounded-sm transition mb-2 cursor-pointer text-md font-semibold mb-2 cursor-pointer sm:text-lg focus:outline-none focus:z-10 focus:ring-2 focus:no-underline`,
onclick=`umami.track('collapsable clicked', { category: '${category}', visitDuration: getVisitDuration() })`
)= data.summary
.text-slate-600(class="dark:text-stone-300")