feat: added cta data
This commit is contained in:
parent
554a02961f
commit
e881eed64e
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"title": "Schreib mir!",
|
||||
"summary": "Hast du schon lange nichts mehr von mir gehört?
|
||||
Das tut mir leid!
|
||||
Im Alltag gehen mir hin und wieder Dinge verlohren.
|
||||
Bitte mache den ersten Schritt und mache ich auf meine Nachlässigkeit aufmerksam.",
|
||||
"buttonText": "Hüja!",
|
||||
"buttonUrl": "/contact/"
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
<!--
|
||||
SPDX-FileCopyrightText: 2021 Software Ingenieur Begerad <swingbe.de>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
-->
|
||||
{% set ctaPrefix = cta %}
|
||||
{% if ctaContent %}
|
||||
{% set ctaPrefix = ctaContent %}
|
||||
{% endif %}
|
||||
<article>
|
||||
<div>
|
||||
<div>
|
||||
<h2>{{ ctaPrefix.title }}</h2>
|
||||
<p>{{ ctaPrefix.summary }}</p>
|
||||
<div>
|
||||
<a href="{{ ctaPrefix.buttonUrl }}">{{ ctaPrefix.buttonText }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
|
@ -1,7 +1,7 @@
|
|||
<!--
|
||||
SPDX-FileCopyrightText: 2021 Software Ingenieur Begerad <swingbe.de>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
-->
|
||||
-->
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||
<div class="container-fluid">
|
||||
|
|
Loading…
Reference in New Issue