Add better links to projects
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
c9a3302574
commit
3c59e9994b
13 changed files with 197 additions and 40 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue