mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2025-06-29 08:12:01 +02:00
In between commit bug solving
This commit is contained in:
parent
96ab80eaf2
commit
166055422e
201
app/config.yaml
201
app/config.yaml
@ -75,7 +75,6 @@ cards:
|
|||||||
I deliver expert consulting services. Currently training for my Private Pilot
|
I deliver expert consulting services. Currently training for my Private Pilot
|
||||||
License, I specialize in guiding clients through aviation regulations, safety
|
License, I specialize in guiding clients through aviation regulations, safety
|
||||||
standards, and operational efficiency.
|
standards, and operational efficiency.
|
||||||
url:
|
|
||||||
link_text: Website under construction
|
link_text: Website under construction
|
||||||
- icon:
|
- icon:
|
||||||
source: https://cloud.veen.world/s/logo_hunter_512x512/download
|
source: https://cloud.veen.world/s/logo_hunter_512x512/download
|
||||||
@ -84,7 +83,6 @@ cards:
|
|||||||
walks, survival trainings, and photo expeditions, merging ecological knowledge
|
walks, survival trainings, and photo expeditions, merging ecological knowledge
|
||||||
with nature respect. My goal is to foster sustainable conservation and enhance
|
with nature respect. My goal is to foster sustainable conservation and enhance
|
||||||
appreciation for the natural world through responsible practices.
|
appreciation for the natural world through responsible practices.
|
||||||
url:
|
|
||||||
link_text: Website under construction
|
link_text: Website under construction
|
||||||
- icon:
|
- icon:
|
||||||
source: https://cloud.veen.world/s/logo_diver_512x512/download
|
source: https://cloud.veen.world/s/logo_diver_512x512/download
|
||||||
@ -93,7 +91,6 @@ cards:
|
|||||||
diving instruction, underwater photography, and guided dive tours. My experience
|
diving instruction, underwater photography, and guided dive tours. My experience
|
||||||
ensures safe and enriching underwater adventures, highlighting marine conservation
|
ensures safe and enriching underwater adventures, highlighting marine conservation
|
||||||
and the wonders of aquatic ecosystems.
|
and the wonders of aquatic ecosystems.
|
||||||
url:
|
|
||||||
link_text: Website under construction
|
link_text: Website under construction
|
||||||
- icon:
|
- icon:
|
||||||
source: https://cloud.veen.world/s/logo_massage_therapist_512x512/download
|
source: https://cloud.veen.world/s/logo_massage_therapist_512x512/download
|
||||||
@ -101,8 +98,84 @@ cards:
|
|||||||
text: Certified in Tantra Massage, I offer unique full-body rituals to awaken senses
|
text: Certified in Tantra Massage, I offer unique full-body rituals to awaken senses
|
||||||
and harmonize body and mind. My sessions, a blend of ancient Tantra and modern
|
and harmonize body and mind. My sessions, a blend of ancient Tantra and modern
|
||||||
relaxation, focus on energy flow, personal growth, and spiritual awakening.
|
relaxation, focus on energy flow, personal growth, and spiritual awakening.
|
||||||
url:
|
|
||||||
link_text: Website under construction
|
link_text: Website under construction
|
||||||
|
|
||||||
|
accounts:
|
||||||
|
name: accounts
|
||||||
|
description: my accounts
|
||||||
|
icon:
|
||||||
|
class: fa-solid fa-external-link-alt
|
||||||
|
subitems:
|
||||||
|
- name: Meta
|
||||||
|
description: Social and developer networks
|
||||||
|
icon:
|
||||||
|
class: fa-brands fa-meta
|
||||||
|
subitems:
|
||||||
|
- name: Instagram
|
||||||
|
description: Follow me on Instagram
|
||||||
|
icon:
|
||||||
|
class: fa-brands fa-instagram
|
||||||
|
url: https://www.instagram.com/kevinveenbirkenbach/
|
||||||
|
identifier: kevinveenbirkenbach
|
||||||
|
link: navigation.header.contact.whatsapp.warning
|
||||||
|
- name: Facebook
|
||||||
|
description: Like my Facebook page
|
||||||
|
icon:
|
||||||
|
class: fa-brands fa-facebook
|
||||||
|
url: https://www.facebook.com/kevinveenbirkenbach
|
||||||
|
- name: Messengers
|
||||||
|
description: Messenger Applications
|
||||||
|
icon:
|
||||||
|
class: fas fa-comments
|
||||||
|
subitems:
|
||||||
|
- link: navigation.header.contact.whatsapp
|
||||||
|
- link: navigation.header.contact.signal
|
||||||
|
- link: navigation.header.contact.telegram
|
||||||
|
- name: Carreer Profiles
|
||||||
|
icon:
|
||||||
|
class: fa-solid fa-user-tie
|
||||||
|
subitems:
|
||||||
|
- name: XING
|
||||||
|
description: Visit my XING profile
|
||||||
|
icon:
|
||||||
|
class: bi bi-building
|
||||||
|
url: https://www.xing.com/profile/Kevin_VeenBirkenbach
|
||||||
|
- name: LinkedIn
|
||||||
|
description: Connect on LinkedIn
|
||||||
|
icon:
|
||||||
|
class: bi bi-linkedin
|
||||||
|
url: https://www.linkedin.com/in/kevinveenbirkenbach
|
||||||
|
- name: Sports
|
||||||
|
description: My sport activities
|
||||||
|
icon:
|
||||||
|
class: fa-solid fa-running
|
||||||
|
subitems:
|
||||||
|
- name: Garmin
|
||||||
|
description: My Garmin activities
|
||||||
|
icon:
|
||||||
|
class: fa-solid fa-person-running
|
||||||
|
url: https://s.veen.world/garmin
|
||||||
|
- name: Eversports
|
||||||
|
description: My Eversports sessions
|
||||||
|
icon:
|
||||||
|
class: fa-solid fa-dumbbell
|
||||||
|
url: https://s.veen.world/eversports
|
||||||
|
- name: Duolingo
|
||||||
|
description: Learn with me on Duolingo
|
||||||
|
icon:
|
||||||
|
class: fa-solid fa-language
|
||||||
|
url: https://www.duolingo.com/profile/kevinbirkenbach
|
||||||
|
- name: Spotify
|
||||||
|
description: Listen to my playlists
|
||||||
|
icon:
|
||||||
|
class: fa-brands fa-spotify
|
||||||
|
url: https://open.spotify.com/user/31vebfzbjf3p7oualis76qfpr5ty
|
||||||
|
- name: Patreon
|
||||||
|
description: Support me on Patreon
|
||||||
|
icon:
|
||||||
|
class: fa-brands fa-patreon
|
||||||
|
url: https://patreon.com/kevinveenbirkenbach
|
||||||
|
|
||||||
company:
|
company:
|
||||||
titel: Kevin Veen-Birkenbach
|
titel: Kevin Veen-Birkenbach
|
||||||
subtitel: Consulting and Coaching Solutions
|
subtitel: Consulting and Coaching Solutions
|
||||||
@ -116,6 +189,7 @@ company:
|
|||||||
city: Berlin
|
city: Berlin
|
||||||
country: Germany
|
country: Germany
|
||||||
imprint_url: https://s.veen.world/imprint
|
imprint_url: https://s.veen.world/imprint
|
||||||
|
|
||||||
navigation:
|
navigation:
|
||||||
header:
|
header:
|
||||||
- name: Microblog
|
- name: Microblog
|
||||||
@ -123,25 +197,21 @@ navigation:
|
|||||||
icon:
|
icon:
|
||||||
class: fa-brands fa-mastodon
|
class: fa-brands fa-mastodon
|
||||||
url: https://microblog.veen.world/@kevinveenbirkenbach
|
url: https://microblog.veen.world/@kevinveenbirkenbach
|
||||||
subitems: []
|
|
||||||
- name: Pictures
|
- name: Pictures
|
||||||
description: View my photo gallery
|
description: View my photo gallery
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-camera
|
class: fa-solid fa-camera
|
||||||
url: https://picture.veen.world/kevinveenbirkenbach
|
url: https://picture.veen.world/kevinveenbirkenbach
|
||||||
subitems: []
|
|
||||||
- name: Videos
|
- name: Videos
|
||||||
description: Watch my videos
|
description: Watch my videos
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-video
|
class: fa-solid fa-video
|
||||||
url: https://video.veen.world/a/kevinveenbirkenbach
|
url: https://video.veen.world/a/kevinveenbirkenbach
|
||||||
subitems: []
|
|
||||||
- name: Blog
|
- name: Blog
|
||||||
description: Read my blog
|
description: Read my blog
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-blog
|
class: fa-solid fa-blog
|
||||||
url: https://blog.veen.world
|
url: https://blog.veen.world
|
||||||
subitems: []
|
|
||||||
- name: Code
|
- name: Code
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-laptop-code
|
class: fa-solid fa-laptop-code
|
||||||
@ -152,13 +222,11 @@ navigation:
|
|||||||
icon:
|
icon:
|
||||||
class: bi bi-github
|
class: bi bi-github
|
||||||
url: https://github.com/kevinveenbirkenbach
|
url: https://github.com/kevinveenbirkenbach
|
||||||
subitems: []
|
|
||||||
- name: Gitea
|
- name: Gitea
|
||||||
description: Explore my code repositories
|
description: Explore my code repositories
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-code
|
class: fa-solid fa-code
|
||||||
url: https://git.veen.world/kevinveenbirkenbach
|
url: https://git.veen.world/kevinveenbirkenbach
|
||||||
subitems: []
|
|
||||||
- name: Contact
|
- name: Contact
|
||||||
description: Get in touch
|
description: Get in touch
|
||||||
icon:
|
icon:
|
||||||
@ -171,7 +239,7 @@ navigation:
|
|||||||
url: mailto:kevin@veen.world
|
url: mailto:kevin@veen.world
|
||||||
identifier: kevin@veen.world
|
identifier: kevin@veen.world
|
||||||
alternatives:
|
alternatives:
|
||||||
- link: navigation.header.contact.matrix
|
#- link: navigation.header.contact.matrix
|
||||||
- name: Matrix
|
- name: Matrix
|
||||||
description: Chat with me on Matrix
|
description: Chat with me on Matrix
|
||||||
icon:
|
icon:
|
||||||
@ -223,7 +291,7 @@ navigation:
|
|||||||
identifier: "+491781798023"
|
identifier: "+491781798023"
|
||||||
warning: Signal is not hosted by me!
|
warning: Signal is not hosted by me!
|
||||||
alternatives:
|
alternatives:
|
||||||
- link: navigation.header.contact.matrix
|
#- link: navigation.header.contact.matrix
|
||||||
- name: Telegram
|
- name: Telegram
|
||||||
description: Message me on Telegram
|
description: Message me on Telegram
|
||||||
icon:
|
icon:
|
||||||
@ -233,7 +301,7 @@ navigation:
|
|||||||
identifier: kevinveenbirkenbach
|
identifier: kevinveenbirkenbach
|
||||||
warning: Telegram is not hosted by me!
|
warning: Telegram is not hosted by me!
|
||||||
alternatives:
|
alternatives:
|
||||||
- link: navigation.header.contact.matrix
|
#- link: navigation.header.contact.matrix
|
||||||
- name: WhatsApp
|
- name: WhatsApp
|
||||||
description: Chat with me on WhatsApp
|
description: Chat with me on WhatsApp
|
||||||
icon:
|
icon:
|
||||||
@ -241,93 +309,12 @@ navigation:
|
|||||||
url: https://wa.me/491781798023
|
url: https://wa.me/491781798023
|
||||||
identifier: "+491781798023"
|
identifier: "+491781798023"
|
||||||
alternatives:
|
alternatives:
|
||||||
- link: navigation.header.contact.matrix
|
#- link: navigation.header.contact.matrix
|
||||||
warning: |
|
warning: |
|
||||||
Using software and platforms from the Meta corporation (e.g., Facebook, Instagram, WhatsApp) may compromise your data privacy and digital freedom due to centralized control, extensive data collection practices, and inconsistent moderation policies. These platforms often fail to adequately address harmful content, misinformation, and abuse.
|
Using software and platforms from the Meta corporation (e.g., Facebook, Instagram, WhatsApp) may compromise your data privacy and digital freedom due to centralized control, extensive data collection practices, and inconsistent moderation policies. These platforms often fail to adequately address harmful content, misinformation, and abuse.
|
||||||
|
|
||||||
footer:
|
footer:
|
||||||
- name: External Accounts
|
- link: accounts
|
||||||
description: Me on other plattforms
|
|
||||||
icon:
|
|
||||||
class: fa-solid fa-external-link-alt
|
|
||||||
subitems:
|
|
||||||
- name: Meta
|
|
||||||
description: Social and developer networks
|
|
||||||
icon:
|
|
||||||
class: fa-brands fa-meta
|
|
||||||
subitems:
|
|
||||||
- name: Instagram
|
|
||||||
description: Follow me on Instagram
|
|
||||||
icon:
|
|
||||||
class: fa-brands fa-instagram
|
|
||||||
url: https://www.instagram.com/kevinveenbirkenbach/
|
|
||||||
identifier: kevinveenbirkenbach
|
|
||||||
link: navigation.header.contact.whatsapp.warning
|
|
||||||
- name: Facebook
|
|
||||||
description: Like my Facebook page
|
|
||||||
icon:
|
|
||||||
class: fa-brands fa-facebook
|
|
||||||
url: https://www.facebook.com/kevinveenbirkenbach
|
|
||||||
- name: Communication
|
|
||||||
description: Social and developer networks
|
|
||||||
icon:
|
|
||||||
class: fa-brands fa-meta
|
|
||||||
subitems:
|
|
||||||
- link: navigation.header.contact.whatsapp
|
|
||||||
- link: navigation.header.contact.signal
|
|
||||||
- link: navigation.header.contact.telegram
|
|
||||||
- name: Carreer Profiles
|
|
||||||
icon:
|
|
||||||
class: fa-solid fa-user-tie
|
|
||||||
subitems:
|
|
||||||
- name: XING
|
|
||||||
description: Visit my XING profile
|
|
||||||
icon:
|
|
||||||
class: bi bi-building
|
|
||||||
url: https://www.xing.com/profile/Kevin_VeenBirkenbach
|
|
||||||
subitems: []
|
|
||||||
- name: LinkedIn
|
|
||||||
description: Connect on LinkedIn
|
|
||||||
icon:
|
|
||||||
class: bi bi-linkedin
|
|
||||||
url: https://www.linkedin.com/in/kevinveenbirkenbach
|
|
||||||
subitems: []
|
|
||||||
- name: Sports
|
|
||||||
description: My sport activities
|
|
||||||
icon:
|
|
||||||
class: fa-solid fa-running
|
|
||||||
url:
|
|
||||||
subitems:
|
|
||||||
- name: Garmin
|
|
||||||
description: My Garmin activities
|
|
||||||
icon:
|
|
||||||
class: fa-solid fa-person-running
|
|
||||||
url: https://s.veen.world/garmin
|
|
||||||
subitems: []
|
|
||||||
- name: Eversports
|
|
||||||
description: My Eversports sessions
|
|
||||||
icon:
|
|
||||||
class: fa-solid fa-dumbbell
|
|
||||||
url: https://s.veen.world/eversports
|
|
||||||
subitems: []
|
|
||||||
- name: Duolingo
|
|
||||||
description: Learn with me on Duolingo
|
|
||||||
icon:
|
|
||||||
class: fa-solid fa-language
|
|
||||||
url: https://www.duolingo.com/profile/kevinbirkenbach
|
|
||||||
subitems: []
|
|
||||||
- name: Spotify
|
|
||||||
description: Listen to my playlists
|
|
||||||
icon:
|
|
||||||
class: fa-brands fa-spotify
|
|
||||||
url: https://open.spotify.com/user/31vebfzbjf3p7oualis76qfpr5ty
|
|
||||||
subitems: []
|
|
||||||
- name: Patreon
|
|
||||||
description: Support me on Patreon
|
|
||||||
icon:
|
|
||||||
class: fa-brands fa-patreon
|
|
||||||
url: https://patreon.com/kevinveenbirkenbach
|
|
||||||
subitems: []
|
|
||||||
- name: Community
|
- name: Community
|
||||||
description: My presence in the Fediverse
|
description: My presence in the Fediverse
|
||||||
icon:
|
icon:
|
||||||
@ -338,110 +325,91 @@ navigation:
|
|||||||
icon:
|
icon:
|
||||||
class: fa-brands fa-discourse
|
class: fa-brands fa-discourse
|
||||||
url: https://forum.veen.world/u/kevinveenbirkenbach
|
url: https://forum.veen.world/u/kevinveenbirkenbach
|
||||||
subitems: []
|
|
||||||
- name: Newsletter
|
- name: Newsletter
|
||||||
description: Subscribe to my newsletter
|
description: Subscribe to my newsletter
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-envelope-open-text
|
class: fa-solid fa-envelope-open-text
|
||||||
url: https://newsletter.veen.world/subscription/form
|
url: https://newsletter.veen.world/subscription/form
|
||||||
subitems: []
|
|
||||||
- name: Work Hub
|
- name: Work Hub
|
||||||
description: Curated collection of self hosted tools for work, organization, and
|
description: Curated collection of self hosted tools for work, organization, and learning.
|
||||||
learning.
|
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-toolbox
|
class: fa-solid fa-toolbox
|
||||||
url:
|
|
||||||
subitems:
|
subitems:
|
||||||
- name: Open Project
|
- name: Open Project
|
||||||
description: Explore my projects
|
description: Explore my projects
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-chart-line
|
class: fa-solid fa-chart-line
|
||||||
url: https://project.veen.world/
|
url: https://project.veen.world/
|
||||||
subitems: []
|
|
||||||
- name: Taiga
|
- name: Taiga
|
||||||
description: View my Kanban board
|
description: View my Kanban board
|
||||||
icon:
|
icon:
|
||||||
class: bi bi-clipboard2-check-fill
|
class: bi bi-clipboard2-check-fill
|
||||||
url: https://kanban.veen.world/
|
url: https://kanban.veen.world/
|
||||||
subitems: []
|
|
||||||
- name: Matomo
|
- name: Matomo
|
||||||
description: Analyze with Matomo
|
description: Analyze with Matomo
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-chart-simple
|
class: fa-solid fa-chart-simple
|
||||||
url: https://matomo.veen.world/
|
url: https://matomo.veen.world/
|
||||||
subitems: []
|
|
||||||
- name: Baserow
|
- name: Baserow
|
||||||
description: Organize with Baserow
|
description: Organize with Baserow
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-table
|
class: fa-solid fa-table
|
||||||
url: https://baserow.veen.world/
|
url: https://baserow.veen.world/
|
||||||
subitems: []
|
|
||||||
- name: Elements
|
- name: Elements
|
||||||
description: Chat with me
|
description: Chat with me
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-comment
|
class: fa-solid fa-comment
|
||||||
url: https://element.veen.world/
|
url: https://element.veen.world/
|
||||||
subitems: []
|
|
||||||
- name: Big Blue Button
|
- name: Big Blue Button
|
||||||
description: Join live events
|
description: Join live events
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-video
|
class: fa-solid fa-video
|
||||||
url: https://meet.veen.world/
|
url: https://meet.veen.world/
|
||||||
subitems: []
|
|
||||||
- name: Mailu
|
- name: Mailu
|
||||||
description: Send me a mail
|
description: Send me a mail
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-envelope
|
class: fa-solid fa-envelope
|
||||||
url: https://mail.veen.world/
|
url: https://mail.veen.world/
|
||||||
subitems: []
|
|
||||||
- name: Moodel
|
- name: Moodel
|
||||||
description: Learn with my academy
|
description: Learn with my academy
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-graduation-cap
|
class: fa-solid fa-graduation-cap
|
||||||
url: https://academy.veen.world/
|
url: https://academy.veen.world/
|
||||||
subitems: []
|
|
||||||
- name: Yourls
|
- name: Yourls
|
||||||
description: Find my curated links
|
description: Find my curated links
|
||||||
icon:
|
icon:
|
||||||
class: bi bi-link
|
class: bi bi-link
|
||||||
url: https://s.veen.world/admin/
|
url: https://s.veen.world/admin/
|
||||||
subitems: []
|
|
||||||
- name: Nextcloud
|
- name: Nextcloud
|
||||||
description: Access my cloud storage
|
description: Access my cloud storage
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-cloud
|
class: fa-solid fa-cloud
|
||||||
url: https://cloud.veen.world/
|
url: https://cloud.veen.world/
|
||||||
subitems: []
|
|
||||||
- name: Logbooks
|
- name: Logbooks
|
||||||
description: My activity logs
|
description: My activity logs
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-book
|
class: fa-solid fa-book
|
||||||
url:
|
|
||||||
subitems:
|
subitems:
|
||||||
- name: Skydiver
|
- name: Skydiver
|
||||||
description: View my skydiving logs
|
description: View my skydiving logs
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-parachute-box
|
class: fa-solid fa-parachute-box
|
||||||
url: https://s.veen.world/skydiverlog
|
url: https://s.veen.world/skydiverlog
|
||||||
subitems: []
|
|
||||||
- name: Skipper
|
- name: Skipper
|
||||||
description: See my sailing records
|
description: See my sailing records
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-sailboat
|
class: fa-solid fa-sailboat
|
||||||
url: https://s.veen.world/meilenbuch
|
url: https://s.veen.world/meilenbuch
|
||||||
subitems: []
|
|
||||||
- name: Diver
|
- name: Diver
|
||||||
description: Check my diving logs
|
description: Check my diving logs
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-fish
|
class: fa-solid fa-fish
|
||||||
url: https://s.veen.world/diverlog
|
url: https://s.veen.world/diverlog
|
||||||
subitems: []
|
|
||||||
- name: Pilot
|
- name: Pilot
|
||||||
description: Review my flight logs
|
description: Review my flight logs
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-plane
|
class: fa-solid fa-plane
|
||||||
url: https://s.veen.world/pilotlog
|
url: https://s.veen.world/pilotlog
|
||||||
subitems: []
|
|
||||||
- name: Nature
|
- name: Nature
|
||||||
description: Explore my nature logs
|
description: Explore my nature logs
|
||||||
icon:
|
icon:
|
||||||
@ -452,7 +420,6 @@ navigation:
|
|||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-file-lines
|
class: fa-solid fa-file-lines
|
||||||
url: https://s.veen.world/lebenslauf
|
url: https://s.veen.world/lebenslauf
|
||||||
subitems: []
|
|
||||||
- name: Imprint
|
- name: Imprint
|
||||||
icon:
|
icon:
|
||||||
class: fa-solid fa-scale-balanced
|
class: fa-solid fa-scale-balanced
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
{% if subitem.icon is defined and subitem.icon.class is defined %}
|
{% if subitem.icon is defined and subitem.icon.class is defined %}
|
||||||
<i class="{{ subitem.icon.class }}"></i> {{ subitem.name }}
|
<i class="{{ subitem.icon.class }}"></i> {{ subitem.name }}
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>Fehlendes Icon im Subitem: {{ subitem }}</p>
|
<p>Missing icon in subitem: {{ subitem }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@ -33,9 +33,6 @@
|
|||||||
<!-- Navigation Bar -->
|
<!-- Navigation Bar -->
|
||||||
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<!--
|
|
||||||
<a class="navbar-brand" href="#">Navbar</a>
|
|
||||||
-->
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav{{menu_type}}" aria-controls="navbarNav{{menu_type}}" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav{{menu_type}}" aria-controls="navbarNav{{menu_type}}" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
@ -53,7 +50,11 @@
|
|||||||
<!-- Dropdown Menu -->
|
<!-- Dropdown Menu -->
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item dropdown">
|
||||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown{{ loop.index }}" role="button" data-bs-toggle="dropdown" data-bs-display="dynamic" data-popper-placement="top" title="{{ item.description }}" aria-expanded="false">
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown{{ loop.index }}" role="button" data-bs-toggle="dropdown" data-bs-display="dynamic" data-popper-placement="top" title="{{ item.description }}" aria-expanded="false">
|
||||||
|
{% if item.icon is defined and item.icon.class is defined %}
|
||||||
<i class="{{ item.icon.class }}" data-bs-toggle="tooltip"></i> {{ item.name }}
|
<i class="{{ item.icon.class }}" data-bs-toggle="tooltip"></i> {{ item.name }}
|
||||||
|
{% else %}
|
||||||
|
<p>Missing icon in item: {{ item }}</p>
|
||||||
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
<ul class="dropdown-menu dropdown-menu-{{menu_type}}" aria-labelledby="navbarDropdown{{ loop.index }}">
|
<ul class="dropdown-menu dropdown-menu-{{menu_type}}" aria-labelledby="navbarDropdown{{ loop.index }}">
|
||||||
{{ render_subitems(item.subitems) }}
|
{{ render_subitems(item.subitems) }}
|
||||||
|
@ -8,7 +8,7 @@ class ConfigurationResolver:
|
|||||||
"""
|
"""
|
||||||
self._recursive_resolve(self.config, self.config)
|
self._recursive_resolve(self.config, self.config)
|
||||||
|
|
||||||
def _recursive_resolve(self, current_config, root_config):
|
def _recursive_resolve(self, current_config, root_config, path=""):
|
||||||
"""
|
"""
|
||||||
Recursively resolves `link` entries in the configuration.
|
Recursively resolves `link` entries in the configuration.
|
||||||
"""
|
"""
|
||||||
@ -16,38 +16,39 @@ class ConfigurationResolver:
|
|||||||
for key, value in list(current_config.items()):
|
for key, value in list(current_config.items()):
|
||||||
if key == "link":
|
if key == "link":
|
||||||
try:
|
try:
|
||||||
# Attempt to find the target entry in the root configuration
|
print(f"Resolving link '{value}' at path '{path}'") # Debugging
|
||||||
target = self._find_entry(root_config, value.lower().replace(" ", "_"))
|
target = self._find_entry(root_config, value.lower().replace(" ", "_"))
|
||||||
|
|
||||||
if isinstance(target, dict):
|
if isinstance(target, dict):
|
||||||
# Replace the current config dictionary with the target dictionary
|
|
||||||
current_config.clear()
|
current_config.clear()
|
||||||
current_config.update(target)
|
current_config.update(target)
|
||||||
|
elif isinstance(target, str):
|
||||||
|
current_config[key] = target
|
||||||
else:
|
else:
|
||||||
current_config[value.split(".")[-1]] = target
|
raise ValueError(f"Expected a dictionary or string for link '{value}', got {type(target)}")
|
||||||
except Exception as e:
|
except KeyError as e:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
f"Error resolving link '{value}': {str(e)}. "
|
f"Key error while resolving link '{value}': {str(e)}. Current path: {key}, Current config: {current_config}"
|
||||||
f"Current path: {key}, Current config: {current_config}"
|
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
# Recurse into nested structures
|
self._recursive_resolve(value, root_config, path=f"{path}.{key}")
|
||||||
self._recursive_resolve(value, root_config)
|
|
||||||
elif isinstance(current_config, list):
|
elif isinstance(current_config, list):
|
||||||
for item in current_config:
|
for index, item in enumerate(current_config):
|
||||||
self._recursive_resolve(item, root_config)
|
self._recursive_resolve(item, root_config, path=f"{path}[{index}]")
|
||||||
|
|
||||||
def _find_entry(self, config, path):
|
def _find_entry(self, config, path):
|
||||||
"""
|
"""
|
||||||
Finds an entry in the configuration by a dot-separated path.
|
Finds an entry in the configuration by a dot-separated path.
|
||||||
Supports both dictionaries and lists with `subitems` navigation.
|
Supports both dictionaries and lists, but does not navigate into `subitems`
|
||||||
|
unless explicitly required by the path.
|
||||||
"""
|
"""
|
||||||
parts = path.split('.')
|
parts = path.split('.')
|
||||||
current = config
|
current = config
|
||||||
|
|
||||||
for part in parts:
|
for part in parts:
|
||||||
part = part.replace(" ", "_")
|
part = part.replace(" ", "_") # Normalize the part name
|
||||||
|
|
||||||
if isinstance(current, list):
|
if isinstance(current, list):
|
||||||
# Search for a matching entry in a list
|
# Look for a matching entry in the list
|
||||||
found = next(
|
found = next(
|
||||||
(
|
(
|
||||||
item
|
item
|
||||||
@ -57,13 +58,14 @@ class ConfigurationResolver:
|
|||||||
None
|
None
|
||||||
)
|
)
|
||||||
if not found:
|
if not found:
|
||||||
raise ValueError(
|
raise KeyError(
|
||||||
f"No matching entry for '{part}' in list. Path so far: {' > '.join(parts[:parts.index(part)+1])}. "
|
f"No matching entry for '{part}' in list. Path so far: {' > '.join(parts[:parts.index(part)+1])}. "
|
||||||
f"Current list: {current}"
|
f"Current list: {current}"
|
||||||
)
|
)
|
||||||
current = found
|
current = found
|
||||||
|
|
||||||
elif isinstance(current, dict):
|
elif isinstance(current, dict):
|
||||||
# Perform a case-insensitive dictionary lookup
|
# Look for a key match in the dictionary
|
||||||
key = next((k for k in current if k.lower().replace(" ", "_") == part), None)
|
key = next((k for k in current if k.lower().replace(" ", "_") == part), None)
|
||||||
if key is None:
|
if key is None:
|
||||||
raise KeyError(
|
raise KeyError(
|
||||||
@ -71,18 +73,27 @@ class ConfigurationResolver:
|
|||||||
f"Current dictionary: {current}"
|
f"Current dictionary: {current}"
|
||||||
)
|
)
|
||||||
current = current[key]
|
current = current[key]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
f"Invalid path segment '{part}'. Current type: {type(current)}. "
|
f"Invalid path segment '{part}'. Current type: {type(current)}. "
|
||||||
f"Path so far: {' > '.join(parts[:parts.index(part)+1])}"
|
f"Path so far: {' > '.join(parts[:parts.index(part)+1])}"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Navigate into `subitems` if present
|
# Stop navigating into `subitems` if the path doesn't explicitly require it
|
||||||
if isinstance(current, dict) and "subitems" in current and current["subitems"]:
|
if isinstance(current, dict) and "subitems" in current and isinstance(current["subitems"], list):
|
||||||
|
if part == "subitems":
|
||||||
current = current["subitems"]
|
current = current["subitems"]
|
||||||
|
else:
|
||||||
|
break # Do not navigate further unless explicitly in the path
|
||||||
|
|
||||||
|
# Ensure the resolved target is a dictionary or string
|
||||||
|
if not isinstance(current, (dict, str)):
|
||||||
|
raise ValueError(f"Expected a dictionary or string for path '{path}', got {type(current)}. Current value: {current}")
|
||||||
|
|
||||||
return current
|
return current
|
||||||
|
|
||||||
|
|
||||||
def get_config(self):
|
def get_config(self):
|
||||||
"""
|
"""
|
||||||
Returns the resolved configuration.
|
Returns the resolved configuration.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user