This commit is contained in:
parent
55471fd67c
commit
e978d5fa53
2 changed files with 17 additions and 9 deletions
|
@ -5,11 +5,12 @@
|
|||
text: props.text || '',
|
||||
href: props.href || '/',
|
||||
onclick: props.onclick || '',
|
||||
titlestyle: 'min-width: 275px;' + (props.titlestyle || '')
|
||||
titlestyle: 'min-width: 275px;' + (props.titlestyle || ''),
|
||||
headerstyle: props.headerstyle || '',
|
||||
}
|
||||
</script>
|
||||
<div class="project">
|
||||
<div class="project-title" style={{titlestyle}}>
|
||||
<div class="project-title" style="{{titlestyle}}">
|
||||
<a href="{{href}}" target="_blank">
|
||||
<if condition="img != ''">
|
||||
<img class="figure" src="{{img}}">
|
||||
|
@ -28,7 +29,7 @@
|
|||
</a>
|
||||
</div>
|
||||
<div class="description">
|
||||
<div onclick="{{onclick}}">
|
||||
<div onclick="{{onclick}}" style="{{headerstyle}}">
|
||||
<markdown>
|
||||
<slot:subtitle />
|
||||
</markdown>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue