Add better links to projects
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Isaac Mills 2025-07-12 18:10:57 -06:00
parent c9a3302574
commit 3c59e9994b
Signed by: fnmain
GPG key ID: B67D7410F33A0F61
13 changed files with 197 additions and 40 deletions

View file

@ -1,7 +1,6 @@
<script props>
module.exports = {
text: props.text || '',
href: props.href || '/',
onclick: props.onclick || '',
titlestyle: 'min-width: 275px;' + (props.titlestyle || ''),
headerstyle: props.headerstyle || '',
@ -9,23 +8,22 @@
</script>
<div class="project">
<div class="project-title" style="{{titlestyle}}">
<a href="{{href}}" target="_blank">
<div class="figure">
<slot:img></slot:img>
</div>
<if condition="text != ''">
<p style="font-size: 200px; text-align: center; margin: 0; padding: 0;">{{text}}</p>
</if>
<markdown>
<slot:title />
</markdown>
</a>
<div class="figure">
<slot:img></slot:img>
</div>
<if condition="text != ''">
<p style="font-size: 200px; text-align: center; margin: 0; padding: 0;">{{text}}</p>
</if>
<markdown>
<slot:title />
</markdown>
<div class="links">
<slot:links></slot:links>
</div>
</div>
<div class="description">
<div onclick="{{onclick}}" style="{{headerstyle}}">
<markdown>
<slot:subtitle />
</markdown>
<slot:subtitle />
</div>
<slot:description />
</div>