From 4b2c251e79edcce5f0eb2c325d8af1c0ec4facda Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 8 Jan 2025 19:37:24 +0100 Subject: [PATCH] Optimized menus --- app/config.json | 363 +++++++++--------- .../{base.html => moduls/base.html.j2} | 13 +- app/templates/{ => moduls}/card.html.j2 | 0 app/templates/{ => moduls}/modal.html.j2 | 0 app/templates/{ => moduls}/navigation.html.j2 | 4 +- app/templates/pages/agb.html | 41 -- app/templates/pages/imprint.html.j2 | 40 -- app/templates/pages/index.html.j2 | 4 +- 8 files changed, 195 insertions(+), 270 deletions(-) rename app/templates/{base.html => moduls/base.html.j2} (83%) rename app/templates/{ => moduls}/card.html.j2 (100%) rename app/templates/{ => moduls}/modal.html.j2 (100%) rename app/templates/{ => moduls}/navigation.html.j2 (95%) delete mode 100644 app/templates/pages/agb.html delete mode 100644 app/templates/pages/imprint.html.j2 diff --git a/app/config.json b/app/config.json index 127071b..a9cb148 100644 --- a/app/config.json +++ b/app/config.json @@ -86,18 +86,6 @@ } ], - "networks": [ - { - "name": "GitHub", - "icon": "bi bi-github", - "link": "https://github.com/kevinveenbirkenbach" - }, - { - "name": "Instagram", - "icon": "fa-brands fa-instagram", - "link": "https://www.instagram.com/kevinveenbirkenbach/" - } - ], "company": { "titel": "Kevin Veen-Birkenbach", "subtitel": "Consulting and Coaching Solutions", @@ -107,22 +95,112 @@ "postal_code": "DE-13351", "city": "Berlin", "country": "Germany" - } + }, + "imprint_url": "https://s.veen.world/imprint" }, - "navigation": [ + "navigation": { + "header":[ + { + "name": "Microblog", + "description": "Read my microblogs", + "icon_class": "fa-brands fa-mastodon", + "href": "https://microblog.veen.world/@kevinveenbirkenbach", + "subitems": [] + }, + { + "name": "Pictures", + "description": "View my photo gallery", + "icon_class": "fa-solid fa-camera", + "href": "https://picture.veen.world/kevinveenbirkenbach", + "subitems": [] + }, + { + "name": "Videos", + "description": "Watch my videos", + "icon_class": "fa-solid fa-video", + "href": "https://video.veen.world/a/kevinveenbirkenbach", + "subitems": [] + }, + { + "name": "Blog", + "description": "Read my blog", + "icon_class": "fa-solid fa-blog", + "href": "https://blog.veen.world", + "subitems": [] + }, + {"name": "Code", + "icon_class": "fa-solid fa-laptop-code", + "subitems": [ + { + "name": "Github", + "description": "View my GitHub profile", + "icon_class": "bi bi-github", + "href": "https://github.com/kevinveenbirkenbach", + "subitems": [] + }, + { + "name": "Gitea", + "description": "Explore my code repositories", + "icon_class": "fa-solid fa-code", + "href": "https://git.veen.world/kevinveenbirkenbach", + "subitems": [] + } + ] + }, + { + "name": "Logbooks", + "description": "My activity logs", + "icon_class": "fa-solid fa-book", + "href": null, + "subitems": [ + { + "name": "Skydiver", + "description": "View my skydiving logs", + "icon_class": "fa-solid fa-parachute-box", + "href": "https://s.veen.world/skydiverlog", + "subitems": [] + }, + { + "name": "Skipper", + "description": "See my sailing records", + "icon_class": "fa-solid fa-sailboat", + "href": "https://s.veen.world/meilenbuch", + "subitems": [] + }, + { + "name": "Diver", + "description": "Check my diving logs", + "icon_class": "fa-solid fa-fish", + "href": "https://s.veen.world/diverlog", + "subitems": [] + }, + { + "name": "Pilot", + "description": "Review my flight logs", + "icon_class": "fa-solid fa-plane", + "href": "https://s.veen.world/pilotlog", + "subitems": [] + }, + { + "name": "Nature", + "description": "Explore my nature logs", + "icon_class": "fa-solid fa-tree", + "href": "https://s.veen.world/naturejournal", + "subitems": [] + } + ] + } + + + ], + "footer": + [ { - "name": "Networks", + "name": "Social Media", "description": "Social and developer networks", "icon_class": "fa-solid fa-network-wired", "href": null, "subitems": [ - { - "name": "GitHub", - "description": "View my GitHub profile", - "icon_class": "bi bi-github", - "href": "https://github.com/kevinveenbirkenbach", - "subitems": [] - }, { "name": "Instagram", "description": "Follow me on Instagram", @@ -131,20 +209,6 @@ "subitems": [] }, { - "name": "XING", - "description": "Visit my XING profile", - "icon_class": "bi bi-building", - "href": "https://www.xing.com/profile/Kevin_VeenBirkenbach", - "subitems": [] - }, - { - "name": "LinkedIn", - "description": "Connect on LinkedIn", - "icon_class": "bi bi-linkedin", - "href": "https://www.linkedin.com/in/kevinveenbirkenbach", - "subitems": [] - }, - { "name": "Facebook", "description": "Like my Facebook page", "icon_class": "fa-brands fa-facebook", @@ -168,127 +232,50 @@ ] }, { - "name": "Fediverse", + "name": "Community", "description": "My presence in the Fediverse", "icon_class": "fa-brands fa-mastodon", "href": null, "subitems": [ - { - "name": "Microblog", - "description": "Read my microblogs", - "icon_class": "fa-brands fa-mastodon", - "href": "https://microblog.veen.world/@kevinveenbirkenbach", - "subitems": [] - }, - { - "name": "Pictures", - "description": "View my photo gallery", - "icon_class": "fa-solid fa-camera", - "href": "https://picture.veen.world/kevinveenbirkenbach", - "subitems": [] - }, - { - "name": "Videos", - "description": "Watch my videos", - "icon_class": "fa-solid fa-video", - "href": "https://video.veen.world/a/kevinveenbirkenbach", - "subitems": [] - }, - { - "name": "Blog", - "description": "Read my blog", - "icon_class": "fa-solid fa-blog", - "href": "https://blog.veen.world", - "subitems": [] - }, - { - "name": "Code", - "description": "Explore my code repositories", - "icon_class": "fa-solid fa-code", - "href": "https://git.veen.world/kevinveenbirkenbach", - "subitems": [] - }, + { "name": "Forum", "description": "Join the discussion", "icon_class": "fa-brands fa-discourse", "href": "https://forum.veen.world/u/kevinveenbirkenbach", "subitems": [] - } + }, + { + "name": "Newsletter", + "description": "Subscribe to my newsletter", + "icon_class": "fa-solid fa-envelope-open-text", + "href": "https://newsletter.veen.world/subscription/form", + "subitems": [] + }, + { + "name": "Patreon", + "description": "Support me on Patreon", + "icon_class": "fa-brands fa-patreon", + "href": "https://patreon.com/kevinveenbirkenbach", + "subitems": [] + } ] }, { - "name": "Engagement", - "description": "Opportunities to interact", - "icon_class": "fa-solid fa-handshake", + "name": "Work Hub", + "description": "Curated collection of self hosted tools for work, organization, and learning.", + "icon_class": "fa-solid fa-toolbox", "href": null, "subitems": [ { - "name": "Newsletter", - "description": "Subscribe to my newsletter", - "icon_class": "fa-solid fa-envelope-open-text", - "href": "https://newsletter.veen.world/subscription/form", - "subitems": [] - }, - { - "name": "Summits", - "description": "Join live events", - "icon_class": "fa-solid fa-video", - "href": "https://meet.veen.world/", - "subitems": [] - }, - { - "name": "Mail", - "description": "Send me a mail", - "icon_class": "fa-solid fa-envelope", - "href": "https://mail.veen.world/", - "subitems": [] - }, - { - "name": "Academy", - "description": "Learn with my academy", - "icon_class": "fa-solid fa-graduation-cap", - "href": "https://academy.veen.world/", - "subitems": [] - }, - { - "name": "Chat", - "description": "Chat with me", - "icon_class": "fa-solid fa-comment", - "href": "https://element.veen.world/", - "subitems": [] - }, - { - "name": "Links", - "description": "Find my curated links", - "icon_class": "bi bi-link", - "href": "https://s.veen.world/admin/", - "subitems": [] - }, - { - "name": "Patreon", - "description": "Support me on Patreon", - "icon_class": "fa-brands fa-patreon", - "href": "https://patreon.com/kevinveenbirkenbach", - "subitems": [] - } - ] - }, - { - "name": "Workflow", - "description": "My tools and projects", - "icon_class": "fa-solid fa-briefcase", - "href": null, - "subitems": [ - { - "name": "Projects", + "name": "Open Project", "description": "Explore my projects", "icon_class": "fa-solid fa-chart-line", "href": "https://project.veen.world/", "subitems": [] }, { - "name": "Kanban", + "name": "Taiga", "description": "View my Kanban board", "icon_class": "bi bi-clipboard2-check-fill", "href": "https://kanban.veen.world/", @@ -309,57 +296,70 @@ "subitems": [] }, { - "name": "Cloud", + "name": "Elements", + "description": "Chat with me", + "icon_class": "fa-solid fa-comment", + "href": "https://element.veen.world/", + "subitems": [] + }, + { + "name": "Big Blue Button", + "description": "Join live events", + "icon_class": "fa-solid fa-video", + "href": "https://meet.veen.world/", + "subitems": [] + }, + { + "name": "Mailu", + "description": "Send me a mail", + "icon_class": "fa-solid fa-envelope", + "href": "https://mail.veen.world/", + "subitems": [] + }, + { + "name": "Moodel", + "description": "Learn with my academy", + "icon_class": "fa-solid fa-graduation-cap", + "href": "https://academy.veen.world/", + "subitems": [] + }, + + { + "name": "Yourls", + "description": "Find my curated links", + "icon_class": "bi bi-link", + "href": "https://s.veen.world/admin/", + "subitems": [] + }, + { + "name": "Nextcloud", "description": "Access my cloud storage", "icon_class": "fa-solid fa-cloud", - "href": "https://cloud.veen.world/u/kevinveenbirkenbach", + "href": "https://cloud.veen.world/", "subitems": [] } ] }, { - "name": "Logbooks", - "description": "My activity logs", - "icon_class": "fa-solid fa-book", - "href": null, - "subitems": [ - { - "name": "Skydiver", - "description": "View my skydiving logs", - "icon_class": "fa-solid fa-parachute-box", - "href": "https://s.veen.world/skydiverlog", - "subitems": [] + "name": "Carreer Profiles", + "icon_class": "fa-solid fa-user-tie", + "subitems": [ + { + "name": "XING", + "description": "Visit my XING profile", + "icon_class": "bi bi-building", + "href": "https://www.xing.com/profile/Kevin_VeenBirkenbach", + "subitems": [] + }, + { + "name": "LinkedIn", + "description": "Connect on LinkedIn", + "icon_class": "bi bi-linkedin", + "href": "https://www.linkedin.com/in/kevinveenbirkenbach", + "subitems": [] + } + ] }, - { - "name": "Skipper", - "description": "See my sailing records", - "icon_class": "fa-solid fa-sailboat", - "href": "https://s.veen.world/meilenbuch", - "subitems": [] - }, - { - "name": "Diver", - "description": "Check my diving logs", - "icon_class": "fa-solid fa-fish", - "href": "https://s.veen.world/diverlog", - "subitems": [] - }, - { - "name": "Pilot", - "description": "Review my flight logs", - "icon_class": "fa-solid fa-plane", - "href": "https://s.veen.world/pilotlog", - "subitems": [] - }, - { - "name": "Nature", - "description": "Explore my nature logs", - "icon_class": "fa-solid fa-tree", - "href": "https://s.veen.world/naturejournal", - "subitems": [] - } - ] - }, { "name": "Contact", "description": "Get in touch", @@ -420,6 +420,11 @@ "subitems": [] } ] + }, + { + "name":"Imprint", + "icon_class":"fa-solid fa-scale-balanced", + "href":"https://s.veen.world/imprint" } - ] + ] } } \ No newline at end of file diff --git a/app/templates/base.html b/app/templates/moduls/base.html.j2 similarity index 83% rename from app/templates/base.html rename to app/templates/moduls/base.html.j2 index cb94675..c7b39a2 100644 --- a/app/templates/base.html +++ b/app/templates/moduls/base.html.j2 @@ -20,23 +20,24 @@ logo

{{company.titel}}

{{company.subtitel}}

+
- {% set menu = "top" %} - {% include "navigation.html.j2"%} + {% set menu_type = "header" %} + {% include "moduls/navigation.html.j2"%} {% block content %}{% endblock %} - {% set menu = "bottom" %} - {% include "navigation.html.j2" %} + {% set menu_type = "footer" %} + {% include "moduls/navigation.html.j2" %} - {% include "modal.html.j2" %} + {% include "moduls/modal.html.j2" %} \ No newline at end of file diff --git a/app/templates/card.html.j2 b/app/templates/moduls/card.html.j2 similarity index 100% rename from app/templates/card.html.j2 rename to app/templates/moduls/card.html.j2 diff --git a/app/templates/modal.html.j2 b/app/templates/moduls/modal.html.j2 similarity index 100% rename from app/templates/modal.html.j2 rename to app/templates/moduls/modal.html.j2 diff --git a/app/templates/navigation.html.j2 b/app/templates/moduls/navigation.html.j2 similarity index 95% rename from app/templates/navigation.html.j2 rename to app/templates/moduls/navigation.html.j2 index 216b29f..c364b4c 100644 --- a/app/templates/navigation.html.j2 +++ b/app/templates/moduls/navigation.html.j2 @@ -36,8 +36,8 @@