Add links to who_we_are page
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
c1afdf9ba7
commit
e3835f6577
5 changed files with 57 additions and 18 deletions
10
src/components/link.html
Normal file
10
src/components/link.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<script props>
|
||||
module.exports = {
|
||||
show: props.show,
|
||||
href: props.href
|
||||
}
|
||||
</script>
|
||||
<a href="/src/{{href}}#{{show}}" hx-get="/partials/{{href}}" hx-push-url="/{{href}}#{{show}}"
|
||||
hx-swap="innerHtml show:#{{show}}:top">
|
||||
<yield></yield>
|
||||
</a>
|
|
@ -14,9 +14,7 @@
|
|||
<if condition="text != '' && !$slots.text?.filled">
|
||||
<p style="font-size: 200px; text-align: center; margin: 0; padding: 0;">{{text}}</p>
|
||||
</if>
|
||||
<markdown>
|
||||
<slot:title />
|
||||
</markdown>
|
||||
<slot:title />
|
||||
<div class="links">
|
||||
<slot:links></slot:links>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue