Attempt to fix text attribute
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
55a4500bea
commit
b7c73f8bff
2 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
img: props.img || '',
|
img: props.img || '',
|
||||||
svg: props.svg || '',
|
svg: props.svg || '',
|
||||||
text: props.text || '',
|
txt: props.txt || '',
|
||||||
href: props.href || '/',
|
href: props.href || '/',
|
||||||
onclick: props.onclick || '',
|
onclick: props.onclick || '',
|
||||||
titlestyle: 'min-width: 275px;' + (props.titlestyle || ''),
|
titlestyle: 'min-width: 275px;' + (props.titlestyle || ''),
|
||||||
|
@ -15,8 +15,8 @@
|
||||||
<div class="figure">
|
<div class="figure">
|
||||||
<slot:img></slot:img>
|
<slot:img></slot:img>
|
||||||
</div>
|
</div>
|
||||||
<if condition="text != ''">
|
<if condition="txt != ''">
|
||||||
<p style="font-size: 200px; text-align: center; margin: 0; padding: 0;">{{text}}</p>
|
<p style="font-size: 200px; text-align: center; margin: 0; padding: 0;">{{txt}}</p>
|
||||||
</if>
|
</if>
|
||||||
<markdown>
|
<markdown>
|
||||||
<slot:title />
|
<slot:title />
|
||||||
|
|
|
@ -112,7 +112,7 @@
|
||||||
</markdown>
|
</markdown>
|
||||||
</fill:description>
|
</fill:description>
|
||||||
</x-project>
|
</x-project>
|
||||||
<x-project text="e" href="https://github.com/StratusFearMe21/grezi-next">
|
<x-project txt="e" href="https://github.com/StratusFearMe21/grezi-next">
|
||||||
<fill:title># Grezi</fill:title>
|
<fill:title># Grezi</fill:title>
|
||||||
<fill:subtitle>## When the power is point</fill:subtitle>
|
<fill:subtitle>## When the power is point</fill:subtitle>
|
||||||
<fill:description>
|
<fill:description>
|
||||||
|
@ -128,7 +128,7 @@
|
||||||
</markdown>
|
</markdown>
|
||||||
</fill:description>
|
</fill:description>
|
||||||
</x-project>
|
</x-project>
|
||||||
<x-project text="?" class="project-alt">
|
<x-project txt="?" class="project-alt">
|
||||||
<fill:title># Mystery</fill:title>
|
<fill:title># Mystery</fill:title>
|
||||||
<fill:subtitle>## _Oooooooo_</fill:subtitle>
|
<fill:subtitle>## _Oooooooo_</fill:subtitle>
|
||||||
<fill:description>
|
<fill:description>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue