Change attribute back to text
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Isaac Mills 2025-07-09 19:30:28 -06:00
parent 70ae7418f6
commit 594a87a711
Signed by: fnmain
GPG key ID: B67D7410F33A0F61
4 changed files with 7 additions and 7 deletions

View file

@ -2,7 +2,7 @@
module.exports = {
img: props.img || '',
svg: props.svg || '',
txt: props.txt || '',
text: props.text || '',
href: props.href || '/',
onclick: props.onclick || '',
titlestyle: 'min-width: 275px;' + (props.titlestyle || ''),
@ -15,8 +15,8 @@
<div class="figure">
<slot:img></slot:img>
</div>
<if condition="txt != ''">
<p style="font-size: 200px; text-align: center; margin: 0; padding: 0;">{{txt}}</p>
<if condition="text != ''">
<p style="font-size: 200px; text-align: center; margin: 0; padding: 0;">{{text}}</p>
</if>
<markdown>
<slot:title />