@leuffen/themejs1 6.1.34 → 7.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_tpl/_root/.schiller-context.txt +4 -0
- package/_tpl/_root/docs/_includes/el/address.html +2 -0
- package/_tpl/_root/docs/_layouts/legal/impressum.html +1 -1
- package/_tpl/_root/package.json +1 -12
- package/_tpl/_root/src/_variables.scss +2 -3
- package/_tpl/pages/hausarzt-index-singleleistung.de.md +13 -5
- package/_tpl/pages/hausarzt-index.de.md +7 -4
- package/_tpl/pages/index-singlepage-frauenarzt.de.md +10 -4
- package/_tpl/pages/index.de.md +8 -4
- package/_tpl/service/online-anmeldung.de.md +49 -0
- package/_tpl/service/online-videosprechstunde.de.md +55 -0
- package/_variables.scss +8 -1
- package/dist/elements/button-group/button-group.d.ts +1 -0
- package/dist/elements/button-group/button-group.js +8 -0
- package/dist/elements/elements.d.ts +2 -0
- package/dist/elements/elements.js +2 -0
- package/dist/elements/hero-slide/hero-slide.d.ts +1 -0
- package/dist/elements/hero-slide/hero-slide.js +15 -0
- package/dist/sections/hero-max/hero-max.js +1 -7
- package/dist/sections/navbar-centerlogo/navbar-centerlogo.d.ts +1 -0
- package/dist/sections/navbar-centerlogo/navbar-centerlogo.js +77 -0
- package/dist/sections/sec-card-2col/sec-card-2col.js +2 -1
- package/dist/sections/sections.d.ts +1 -0
- package/dist/sections/sections.js +1 -0
- package/elements/_text-format.scss +3 -0
- package/elements/button-group/button-group.scss +31 -0
- package/elements/button-group/button-group.ts +10 -0
- package/elements/elements.scss +3 -0
- package/elements/elements.ts +2 -0
- package/elements/hero-slide/hero-slide.scss +44 -0
- package/elements/hero-slide/hero-slide.ts +21 -0
- package/font/cinzel-opensans.scss +9 -0
- package/font/opensans-condensed.scss +4 -1
- package/font/opensans-regular.scss +3 -0
- package/font/ubuntu.scss +3 -0
- package/package.json +10 -8
- package/sections/_defaults.scss +11 -1
- package/sections/hero-max/hero-max.scss +7 -17
- package/sections/hero-max/hero-max.ts +1 -7
- package/sections/navbar-centerlogo/_burger-menu.scss +48 -0
- package/sections/navbar-centerlogo/_sidebar.scss +80 -0
- package/sections/navbar-centerlogo/navbar-centerlogo.scss +149 -0
- package/sections/navbar-centerlogo/navbar-centerlogo.ts +88 -0
- package/sections/sec-card-2col/sec-card-2col.scss +28 -0
- package/sections/sec-card-2col/sec-card-2col.ts +2 -1
- package/sections/sec-testimonial-ribbon/sec-testimonial-ribbon.scss +6 -3
- package/sections/sections.scss +1 -0
- package/sections/sections.ts +1 -0
- package/themes/_vendor/font-cinzel.scss +26 -0
- package/themes/theme1/index.scss +3 -1
- package/themes/theme2/index.scss +1 -1
|
@@ -77,3 +77,7 @@ Für HNO-Ärzte:
|
|
|
77
77
|

|
|
78
78
|

|
|
79
79
|

|
|
80
|
+
|
|
81
|
+
Für Hebammen und Frauenärzte:
|
|
82
|
+

|
|
83
|
+

|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
{%- if site.data.general.name2 != null -%}{{site.data.general.name2}}<br>{%- endif -%}
|
|
3
3
|
{{ site.data.general.street }} <br>
|
|
4
4
|
{{ site.data.general.zip }} {{ site.data.general.city }}<br><br>
|
|
5
|
+
{%- if site.data.general.phone1_text != null -%}
|
|
5
6
|
<span>{% include do/trans.html val="Telefon" %}:</span> <b><a href="tel:{{site.data.general.phone1}}" title="Telefon" class="text-decoration-none">{{site.data.general.phone1_text}}</a></b><br>
|
|
7
|
+
{%- endif -%}
|
|
6
8
|
{%- if site.data.general.fax1_text != null -%}
|
|
7
9
|
<span>{% include do/trans.html val="Telefax" %}:</span> <b>{{site.data.general.fax1_text}}</b><br>
|
|
8
10
|
{%- endif -%}
|
|
@@ -12,7 +12,7 @@ layout: legal
|
|
|
12
12
|
{%- endif -%}
|
|
13
13
|
{{site.data.general.street}}<br>
|
|
14
14
|
{{site.data.general.zip}} {{site.data.general.city}}<br><br>
|
|
15
|
-
<span class="fw-bold">
|
|
15
|
+
<span class="fw-bold">Kontakt:</span><br>
|
|
16
16
|
Telefon: <a href="tel:{{site.data.general.phone1}}">{{site.data.general.phone1_text}}</a><br>
|
|
17
17
|
{% if site.data.general.fax1_text %}
|
|
18
18
|
Telefax: {{site.data.general.fax1_text}}<br>
|
package/_tpl/_root/package.json
CHANGED
|
@@ -9,19 +9,8 @@
|
|
|
9
9
|
],
|
|
10
10
|
"author": "",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@leuffen/themejs1": "^
|
|
12
|
+
"@leuffen/themejs1": "^7.0.1"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"css-loader": "^6.7.1",
|
|
16
|
-
"dart-sass": "^1.25.0",
|
|
17
|
-
"esbuild-loader": "^2.20.0",
|
|
18
|
-
"mini-css-extract-plugin": "^2.6.1",
|
|
19
|
-
"raw-loader": "^4.0.2",
|
|
20
|
-
"sass": "^1.56.1",
|
|
21
|
-
"sass-loader": "^13.0.2",
|
|
22
|
-
"style-loader": "^3.3.1",
|
|
23
|
-
"webpack": "^5.75.0",
|
|
24
|
-
"webpack-cli": "^5.0.1",
|
|
25
|
-
"webpack-dev-server": "^4.11.1"
|
|
26
15
|
}
|
|
27
16
|
}
|
|
@@ -19,15 +19,23 @@ body_class: ~
|
|
|
19
19
|
title: ~
|
|
20
20
|
type: website
|
|
21
21
|
---
|
|
22
|
-
|
|
23
|
-
{: layout="use: #hero-max;
|
|
22
|
+
---
|
|
23
|
+
{: layout="use: #hero-max;"}
|
|
24
24
|
|
|
25
25
|

|
|
26
26
|
{: .background}
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
# Augenarzt<br>Prof. Dr. Daniel Salchow
|
|
29
|
+
{: .section-h3 layout="use: #hero-slide; align-self: self-end; justify-self: left; x-adjust: 0%; y-adjust: 0% " .sec-box .sec-slide}
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
{: .section-h4 layout="use: #button-group"}
|
|
33
|
+
[[i class="bi bi-house-add-fill fs-3"]<br>Jetzt als **neuer Patient** anmelden](/online-anmeldung){: .btn .btn-primary}
|
|
34
|
+
[[i class="bi bi-calendar-plus-fill fs-3"]<br>Jetzt **Termin** vereinbaren](/termin){: .btn .btn-primary .text-center}
|
|
35
|
+
|
|
36
|
+
[[i class="bi bi-card-heading fs-3"]<br>**Rezept** online anfragen](/online-rezept){: .btn .btn-primary .text-center }
|
|
37
|
+
[[i class="bi bi-box-arrow-up-right fs-3"]<br>**Überweisung** an Facharzt](/online-ueberweisung){: .btn .btn-primary .text-center}
|
|
38
|
+
[[i class="bi bi-camera-video-fill fs-3"]<br>**Videosprechstunde**](/online-videosprechstunde){: .btn .btn-primary .text-center}
|
|
31
39
|
|
|
32
40
|
|
|
33
41
|
|
|
@@ -16,13 +16,16 @@ body_class: ~
|
|
|
16
16
|
title: ~
|
|
17
17
|
type: website
|
|
18
18
|
---
|
|
19
|
-
|
|
20
|
-
{: layout="use: #hero-max;
|
|
19
|
+
---
|
|
20
|
+
{: layout="use: #hero-max;"}
|
|
21
21
|
|
|
22
|
-

|
|
23
23
|
{: .background}
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
# Augenarzt<br>Prof. Dr. Daniel Salchow
|
|
26
|
+
{: .section-h3 layout="use: #hero-slide; align-self: self-end; justify-self: left; x-adjust: 0%; y-adjust: 0% " .sec-box .sec-slide}
|
|
27
|
+
|
|
28
|
+
[[i class="bi bi-calendar-plus-fill fs-3"]<br>Jetzt Termin vereinbaren](/termin){: .btn .btn-primary .text-center .btn-lg .m-1 style="width:30%;min-width: 100px;;hyphens: none;" target="_blank"}
|
|
26
29
|
[[i class="bi bi-card-heading fs-3"]<br>Rezept online anfragen](/online-rezept){: .btn .btn-primary .text-center .btn-lg .m-1 style="width:30%;min-width: 100px;hyphens: none;"}
|
|
27
30
|
[[i class="bi bi-box-arrow-up-right fs-3"]<br>Überweisung an Facharzt](/online-ueberweisung){: .btn .btn-primary .text-center .btn-lg .m-1 style="width:30%;min-width: 100px;hyphens: none;"}
|
|
28
31
|
|
|
@@ -18,13 +18,19 @@ _schiller_instructions: Ändere die Texte und Bilder. Füge am Ende die CTA ein.
|
|
|
18
18
|
_schiller_template: pages/index
|
|
19
19
|
image: ""
|
|
20
20
|
---
|
|
21
|
-
|
|
22
|
-
{: layout="use: #hero-max;
|
|
21
|
+
---
|
|
22
|
+
{: layout="use: #hero-max;"}
|
|
23
23
|
|
|
24
|
-

|
|
25
25
|
{: .background}
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
# Augenarzt<br>Prof. Dr. Daniel Salchow
|
|
28
|
+
{: .section-h3 layout="use: #hero-slide; align-self: self-end; justify-self: left; x-adjust: 0%; y-adjust: 0% " .sec-box .sec-slide}
|
|
29
|
+
|
|
30
|
+
[[i class="bi bi-calendar-plus-fill fs-3"]<br>Jetzt Termin vereinbaren](/termin){: .btn .btn-primary .text-center .btn-lg .m-1 style="width:30%;min-width: 100px;;hyphens: none;" target="_blank"}
|
|
31
|
+
[[i class="bi bi-card-heading fs-3"]<br>Rezept online anfragen](/online-rezept){: .btn .btn-primary .text-center .btn-lg .m-1 style="width:30%;min-width: 100px;hyphens: none;"}
|
|
32
|
+
[[i class="bi bi-box-arrow-up-right fs-3"]<br>Überweisung an Facharzt](/online-ueberweisung){: .btn .btn-primary .text-center .btn-lg .m-1 style="width:30%;min-width: 100px;hyphens: none;"}
|
|
33
|
+
|
|
28
34
|
|
|
29
35
|
|
|
30
36
|
## Headerbar
|
package/_tpl/pages/index.de.md
CHANGED
|
@@ -15,18 +15,22 @@ short_title: Home
|
|
|
15
15
|
_schiller_instructions: "Ändere die Texte und Bilder. Füge am Ende die CTA ein. Gehe auf die im Context genannten Informationen ein. Entferne Links zu nicht vorhandenen Seiten."
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
{: layout="use: #hero-max;
|
|
18
|
+
---
|
|
19
|
+
{: layout="use: #hero-max;"}
|
|
20
20
|
|
|
21
|
-

|
|
22
22
|
{: .background}
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
# Augenarzt<br>Prof. Dr. Daniel Salchow
|
|
25
|
+
{: .section-h3 layout="use: #hero-slide; align-self: self-end; justify-self: left; x-adjust: 0%; y-adjust: 0% " .sec-box .sec-slide}
|
|
26
|
+
|
|
27
|
+
[[i class="bi bi-calendar-plus-fill fs-3"]<br>Jetzt Termin vereinbaren](/termin){: .btn .btn-primary .text-center .btn-lg .m-1 style="width:30%;min-width: 100px;;hyphens: none;" target="_blank"}
|
|
25
28
|
[[i class="bi bi-card-heading fs-3"]<br>Rezept online anfragen](/online-rezept){: .btn .btn-primary .text-center .btn-lg .m-1 style="width:30%;min-width: 100px;hyphens: none;"}
|
|
26
29
|
[[i class="bi bi-box-arrow-up-right fs-3"]<br>Überweisung an Facharzt](/online-ueberweisung){: .btn .btn-primary .text-center .btn-lg .m-1 style="width:30%;min-width: 100px;hyphens: none;"}
|
|
27
30
|
|
|
28
31
|
|
|
29
32
|
|
|
33
|
+
|
|
30
34
|
## Headerbar
|
|
31
35
|
{: layout="use: #hero-ribbon"}
|
|
32
36
|
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: ""
|
|
3
|
+
icon: bi bi-phone
|
|
4
|
+
image: ~
|
|
5
|
+
lang: de
|
|
6
|
+
layout: article
|
|
7
|
+
order: 71
|
|
8
|
+
permalink: /online-anmeldung
|
|
9
|
+
pid: service/online-anmeldung
|
|
10
|
+
ptags: ~
|
|
11
|
+
published: true
|
|
12
|
+
skipHead: false
|
|
13
|
+
body_class: ~
|
|
14
|
+
title: Online Anmeldung
|
|
15
|
+
type: article
|
|
16
|
+
_schiller_template: service/online-termin
|
|
17
|
+
_schiller_instructions: ""
|
|
18
|
+
---
|
|
19
|
+
## Anmeldung für Patienten
|
|
20
|
+
{: layout="use: #sec-card-2col"}
|
|
21
|
+
|
|
22
|
+
> Jetzt als Patient anmelden
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
Wir freuen uns sehr über Ihr Interesse an unserer Praxis. Da wir noch dabei sind, die letzten Vorbereitungen für unsere Eröffnung zu treffen, bieten wir Ihnen die Möglichkeit, sich vorab zu registrieren. Sobald unsere Praxis eröffnet ist, werden wir uns umgehend bei Ihnen melden, um einen Termin zu vereinbaren.
|
|
26
|
+
|
|
27
|
+
Bitte füllen Sie das untenstehende Formular mit Ihren persönlichen Daten aus. Ihre Daten werden selbstverständlich vertraulich behandelt und nur für interne Zwecke verwendet.
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
{: layout="use: #e-form" .aside .mt-5}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
[input type="text" name="Name*" required .mb-3]
|
|
35
|
+
[input type="date" name="Geburtsdatum*" required .mb-3]
|
|
36
|
+
[input type="email" name="E-Mail*" required .mb-3]
|
|
37
|
+
[input type="tel" name="Telefon*" required .mb-3]
|
|
38
|
+
[input type="text" name="Krankenkasse (optional)" .mb-3]
|
|
39
|
+
[input type="text" name="Versicherungsnummer (optional)" .mb-3]
|
|
40
|
+
[textarea name="Ihre Nachricht (optional)" .mb-3 style="height: 120px;"]
|
|
41
|
+
[input type="checkbox" name="Datenschutz" label="Ich akzeptiere die Datenschutzbestimmungen" required .mb-3]
|
|
42
|
+
[input type="submit" value="Absenden" .btn .btn-primary .btn-lg .mt-3]
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## Erfahren Sie mehr über uns
|
|
47
|
+
{: layout="use: #cta-base"}
|
|
48
|
+
|
|
49
|
+
[Unsere Untersuchungen](/leistungen/untersuchungen.de.html) [Über Uns](/ueber-uns) [Kontakt](/kontakt)
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: ""
|
|
3
|
+
icon: bi bi-phone
|
|
4
|
+
image: ~
|
|
5
|
+
lang: de
|
|
6
|
+
layout: article
|
|
7
|
+
order: 71
|
|
8
|
+
permalink: /online-videosprechstunde
|
|
9
|
+
pid: service/online-videosprechstunde
|
|
10
|
+
ptags: ~
|
|
11
|
+
published: true
|
|
12
|
+
skipHead: false
|
|
13
|
+
body_class: ~
|
|
14
|
+
title: Videosprechstunde
|
|
15
|
+
type: article
|
|
16
|
+
_schiller_template: service/online-videosprechstunde
|
|
17
|
+
_schiller_instructions: ""
|
|
18
|
+
---
|
|
19
|
+
## Videosprechstunde
|
|
20
|
+
{: layout="use: #sec-card-2col; mobile_reverse: yes "}
|
|
21
|
+
|
|
22
|
+
> Bequem von zu Hause aus mit Ihrem Arzt sprechen!
|
|
23
|
+
|
|
24
|
+
**Die Videosprechstunde ist nur für Patienten verfügbar, die bereits in unserer Praxis bekannt sind.**
|
|
25
|
+
|
|
26
|
+
So funktioniert's:
|
|
27
|
+
|
|
28
|
+
1. **Terminvereinbarung:** Nutzen Sie das nebenstehende Formular, um einen Termin für Ihre Videosprechstunde zu vereinbaren. Wählen Sie einfach das Datum und die Uhrzeit, die Ihnen am besten passen.
|
|
29
|
+
2. **Bestätigung & Link:** Nach der Terminvereinbarung erhalten Sie eine Bestätigungs-E-Mail mit allen notwendigen Details sowie einem Link zur Videosprechstunde. Bitte bewahren Sie diese E-Mail sicher auf, da Sie den Link zum vereinbarten Termin benötigen.
|
|
30
|
+
3. **Technische Vorbereitung:** Sollten Sie Fragen zur technischen Einrichtung haben oder Unterstützung benötigen, steht Ihnen unser Team gerne zur Verfügung. Klicken Sie einfach auf den untenstehenden Button, um zu unserem technischen Anbieter weitergeleitet zu werden, der Ihnen alle notwendigen Informationen zur Einrichtung und Nutzung des Videoanruf-Systems bereitstellt.
|
|
31
|
+
4. **Ihre Sprechstunde:** Zum Zeitpunkt Ihrer Sprechstunde klicken Sie einfach auf den Link in Ihrer E-Mail, um Ihren Arzt virtuell zu treffen. Stellen Sie sicher, dass Sie eine stabile Internetverbindung haben und sich in einer ruhigen Umgebung befinden.
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Termin für Videosprechstunde vereinbaren
|
|
35
|
+
{: .sec-aside}
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
{: layout="use: #e-form" .section-h4 .mt-5}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
[input type="hidden" name="Terminart" value="Videosprechstunde" required .mb-3]
|
|
42
|
+
[input type="text" name="Name" required .mb-3]
|
|
43
|
+
[input type="date" name="Geburtsdatum" required .mb-3]
|
|
44
|
+
[input type="email" name="E-Mail" required .mb-3]
|
|
45
|
+
[input type="tel" name="Telefon" required .mb-3]
|
|
46
|
+
[textarea name="Ihre Nachricht (optional)" .mb-3 style="height: 120px;"]
|
|
47
|
+
[input type="checkbox" name="Datenschutz" label="Ich akzeptiere die Datenschutzbestimmungen" required .mb-3]
|
|
48
|
+
[input type="submit" value="Absenden" .btn .btn-primary .btn-lg .mt-3]
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## Erfahren Sie mehr über uns
|
|
53
|
+
{: layout="use: #cta-base"}
|
|
54
|
+
|
|
55
|
+
[Unsere Untersuchungen](/leistungen/untersuchungen.de.html) [Über Uns](/ueber-uns) [Kontakt](/kontakt)
|
package/_variables.scss
CHANGED
|
@@ -6,15 +6,18 @@
|
|
|
6
6
|
|
|
7
7
|
//$font-family-base: Ubuntu-R,sans-serif;
|
|
8
8
|
$font-family-base: sans-serif !default;
|
|
9
|
+
$font-family-header: $font-family-base !default;
|
|
9
10
|
|
|
11
|
+
//$enable-dark-mode: false !default;
|
|
10
12
|
|
|
13
|
+
$accent: #f19045 !default;
|
|
11
14
|
$primary: #a3979b !default;
|
|
12
15
|
$success: #22b573 !default;
|
|
13
16
|
$danger: #bf1c0a !default;
|
|
14
17
|
$warning: #bf760a !default;
|
|
15
18
|
$dark: #006837 !default;
|
|
16
19
|
|
|
17
|
-
|
|
20
|
+
$soft-accent: lighten($accent, 40%) !default;
|
|
18
21
|
$soft-primary: lighten($primary, 40%) !default;
|
|
19
22
|
$soft-success: lighten($success, 40%) !default;
|
|
20
23
|
$soft-danger: lighten($danger, 50%) !default;
|
|
@@ -29,6 +32,8 @@ $content-offset-top: 100px !default;
|
|
|
29
32
|
$content-height-adjustment: 200px !default;
|
|
30
33
|
|
|
31
34
|
$font-size-base: 0.9rem !default;
|
|
35
|
+
$font-size-header: 1.8rem !default;
|
|
36
|
+
|
|
32
37
|
$line-height-base: 1.2 !default;
|
|
33
38
|
$paragraph-margin-bottom: 1.5rem !default;
|
|
34
39
|
|
|
@@ -52,3 +57,5 @@ $border-color: #999 !default;
|
|
|
52
57
|
|
|
53
58
|
$header-text-transform: uppercase !default;
|
|
54
59
|
$hero-fullsize-modifier: 200px !default;
|
|
60
|
+
|
|
61
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Joda } from "@leuffen/jodastyle";
|
|
2
|
+
Joda.registerTemplate("hero-slide",
|
|
3
|
+
// language=HTML
|
|
4
|
+
`
|
|
5
|
+
|
|
6
|
+
<article class="hero-slide :: mobile :xl: desktop">
|
|
7
|
+
<slot></slot>
|
|
8
|
+
</article>
|
|
9
|
+
|
|
10
|
+
`, {
|
|
11
|
+
cols: 6
|
|
12
|
+
}, {
|
|
13
|
+
onAfterConnectedCallback: (el) => {
|
|
14
|
+
}
|
|
15
|
+
});
|
|
@@ -7,18 +7,12 @@ Joda.registerTemplate("hero-max",
|
|
|
7
7
|
<slot data-select="img.background, :scope>.content>p.background>img" class="slideshow"></slot>
|
|
8
8
|
<div class="tjs__hero-max--out-wrapper ">
|
|
9
9
|
<div class="tjs__hero-max--container [[layout.container]] ">
|
|
10
|
-
<
|
|
11
|
-
<div class="tjs__hero-max--section-text">
|
|
12
|
-
<slot></slot>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
10
|
+
<slot class="content" data-select=".slide || :scope > * "></slot>
|
|
16
11
|
</div>
|
|
17
12
|
</div>
|
|
18
13
|
</section>
|
|
19
14
|
|
|
20
15
|
`, {
|
|
21
|
-
cols: "6",
|
|
22
16
|
'aspect-ratio': "5/4",
|
|
23
17
|
}, {
|
|
24
18
|
onAfterConnectedCallback: (el) => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// language=HTML
|
|
2
|
+
import { Joda } from "@leuffen/jodastyle";
|
|
3
|
+
const html = `
|
|
4
|
+
|
|
5
|
+
<nav class="navbar-centerlogo">
|
|
6
|
+
<div class="e--spacer"></div>
|
|
7
|
+
<div class="e--backdrop"></div>
|
|
8
|
+
<div class="navbar">
|
|
9
|
+
<div class="navbar__wrapper [[ layout.container ]]">
|
|
10
|
+
<slot class="" data-select="ul.navbar-top "></slot>
|
|
11
|
+
|
|
12
|
+
<slot class="navbar__logo" data-select="[[ layout.slot_logo_selector ]]"></slot>
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
<div class="burger-menu" onclick="this.closest('nav').classList.toggle('sidebar')">
|
|
17
|
+
<div class="burger-menu__text">
|
|
18
|
+
[[ layout.burger_text ]]
|
|
19
|
+
</div>
|
|
20
|
+
<div class="burger-menu__burger">
|
|
21
|
+
<div></div>
|
|
22
|
+
<div></div>
|
|
23
|
+
<div></div>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<aside>
|
|
31
|
+
<div class="backdrop" onclick="this.closest('nav').classList.remove('sidebar')"></div>
|
|
32
|
+
<div class="menu">
|
|
33
|
+
<div class="menu-header">
|
|
34
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16" onclick="this.closest('nav').classList.remove('sidebar')">
|
|
35
|
+
<path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>
|
|
36
|
+
</svg>
|
|
37
|
+
</div>
|
|
38
|
+
<slot data-select="ul.navbar-main" data-copy="1" data-child-class="isl-navbar-switch1__nav--items-item"></slot>
|
|
39
|
+
</div>
|
|
40
|
+
</aside>
|
|
41
|
+
</nav>
|
|
42
|
+
|
|
43
|
+
`;
|
|
44
|
+
Joda.registerTemplate("navbar-centerlogo", html, {
|
|
45
|
+
slot_logo_selector: ".brand",
|
|
46
|
+
burger_text: "Menü",
|
|
47
|
+
container: "container",
|
|
48
|
+
scrollup_position: 100
|
|
49
|
+
}, {
|
|
50
|
+
"onAfterAllTemplatesConnectedCallback": (element) => {
|
|
51
|
+
// Query css variable --layout-scrollup from elment
|
|
52
|
+
// If the page is scrolled down, the navbar should be sticky
|
|
53
|
+
// Update this on scroll event
|
|
54
|
+
let lastY = 0;
|
|
55
|
+
let navbar = element.querySelector(".navbar");
|
|
56
|
+
let changer = () => {
|
|
57
|
+
if (window.scrollY > 1) {
|
|
58
|
+
navbar.classList.add("scrolled");
|
|
59
|
+
navbar.classList.remove("unscrolled");
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
navbar.classList.remove("scrolled");
|
|
63
|
+
navbar.classList.add("unscrolled");
|
|
64
|
+
}
|
|
65
|
+
let isScrollingUp = window.scrollY < lastY;
|
|
66
|
+
lastY = window.scrollY;
|
|
67
|
+
if (window.scrollY > 250 && !isScrollingUp) {
|
|
68
|
+
navbar.classList.add("scrollup");
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
navbar.classList.remove("scrollup");
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
window.addEventListener("scroll", changer, { passive: true });
|
|
75
|
+
changer();
|
|
76
|
+
}
|
|
77
|
+
});
|
|
@@ -5,13 +5,14 @@ Joda.registerTemplate("sec-card-2col",
|
|
|
5
5
|
|
|
6
6
|
<section class="tjs__sec-card-2col [[layout.class]] :: mobile :lg: desktop">
|
|
7
7
|
<div class="tjs__sec-card-2col--container [[layout.container]]">
|
|
8
|
+
<slot class="title" data-select="img.title || .title > img"></slot>
|
|
8
9
|
<div class="row [[layout.order === 'reverse' ? 'flex-column-reverse': '']] [[layout.mobile_reverse === 'yes' ? ':: flex-column-reverse :lg:': '']]">
|
|
9
10
|
<div class="tjs__sec-card-2col--col-start tjs__section-text p-4 p-lg-5 :: col-12 :lg: col-[[layout.cols]]">
|
|
10
11
|
<slot></slot>
|
|
11
12
|
</div>
|
|
12
13
|
<div class="tjs__sec-card-2col--col-end image-side :: col-12 :lg: col-[[12 - layout.cols]] ">
|
|
13
14
|
|
|
14
|
-
<slot class="[[layout.slideshow === true ? 'slideshow' : '']]" data-select="img, .children > .section-hr.aside
|
|
15
|
+
<slot class="[[layout.slideshow === true ? 'slideshow' : '']]" data-select=".aside || img, .children > .section-hr.aside" [[layout.slideshow !== true ? 'data-limit="1"' : '' ]]></slot>
|
|
15
16
|
</div>
|
|
16
17
|
</div>
|
|
17
18
|
</div>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
.tjs-button-group {
|
|
3
|
+
|
|
4
|
+
--layout-gap: 1rem;
|
|
5
|
+
// --layout-breakpoint: 1024px; Not Working on media query
|
|
6
|
+
|
|
7
|
+
&>slot {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
|
|
11
|
+
&>* {
|
|
12
|
+
width: 100%;
|
|
13
|
+
}
|
|
14
|
+
p {
|
|
15
|
+
width: 100%;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
@media (width < 500px) {
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
}
|
|
21
|
+
align-items: stretch;
|
|
22
|
+
gap: var(--layout-gap);
|
|
23
|
+
&>* {
|
|
24
|
+
flex-grow: 1;
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
}
|
package/elements/elements.scss
CHANGED
package/elements/elements.ts
CHANGED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
.hero-slide {
|
|
4
|
+
|
|
5
|
+
--layout-box-color: rgba(255, 255, 255, 0.8);
|
|
6
|
+
--layout-text-shadow: 0 0 2px rgba(255, 255, 255, 1);
|
|
7
|
+
--layout-align-self: center;
|
|
8
|
+
--layout-justify-self: center;
|
|
9
|
+
--layout-cols: 6;
|
|
10
|
+
|
|
11
|
+
--layout-y-adjust: 25%;
|
|
12
|
+
--layout-x-adjust: 25%;
|
|
13
|
+
|
|
14
|
+
align-self: var(--layout-align-self);
|
|
15
|
+
justify-self: var(--layout-justify-self);
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
&.desktop {
|
|
20
|
+
margin-top: var(--layout-y-adjust);
|
|
21
|
+
margin-left: var(--layout-x-adjust);
|
|
22
|
+
width: calc(100% / 12 * var(--layout-cols));
|
|
23
|
+
&.box {
|
|
24
|
+
padding: 10px;
|
|
25
|
+
background-color: var(--layout-box-color);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.glow {
|
|
29
|
+
&>slot {
|
|
30
|
+
&>h1,h2,h3,&>p {
|
|
31
|
+
text-shadow: var(--layout-text-shadow);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
&.mobile {
|
|
37
|
+
width: 100%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {Joda} from "@leuffen/jodastyle";
|
|
2
|
+
|
|
3
|
+
Joda.registerTemplate("hero-slide",
|
|
4
|
+
// language=HTML
|
|
5
|
+
`
|
|
6
|
+
|
|
7
|
+
<article class="hero-slide :: mobile :xl: desktop">
|
|
8
|
+
<slot></slot>
|
|
9
|
+
</article>
|
|
10
|
+
|
|
11
|
+
`,
|
|
12
|
+
{
|
|
13
|
+
cols: 6
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
onAfterConnectedCallback: (el) => {
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
);
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
@import "../themes/_vendor/font-opensans-condensed";
|
|
3
3
|
|
|
4
|
-
$font-family-base: 'Open Sans Condensed', sans-serif;
|
|
4
|
+
$font-family-base: 'Open Sans Condensed', sans-serif !default;
|
|
5
5
|
$font-size-base: 1rem !default;
|
|
6
|
+
|
|
7
|
+
$font-family-headeer: $font-family-base !default;
|
|
8
|
+
$font-size-header: 1.8rem !default;
|