From 24a5f7c256b591a7b190cbc9df279c4fe48e25eb Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Sun, 11 Jun 2023 18:29:36 +0200 Subject: [PATCH] Add first menu styling draft for projects --- content/projekte/hack-n-fun/_index.md | 4 ++++ content/projekte/indiedact/_index.md | 4 ++++ content/projekte/schul-frei/_index.md | 4 ++++ sass/_menu.scss | 2 +- templates/menu/projects.html | 6 ++++-- 5 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 content/projekte/hack-n-fun/_index.md create mode 100644 content/projekte/indiedact/_index.md create mode 100644 content/projekte/schul-frei/_index.md diff --git a/content/projekte/hack-n-fun/_index.md b/content/projekte/hack-n-fun/_index.md new file mode 100644 index 00000000..44ad8a75 --- /dev/null +++ b/content/projekte/hack-n-fun/_index.md @@ -0,0 +1,4 @@ ++++ +title = "Hack'n'Fun" +description = "Technik gemeinsam ausprobieren und verstehen" ++++ diff --git a/content/projekte/indiedact/_index.md b/content/projekte/indiedact/_index.md new file mode 100644 index 00000000..3bc45624 --- /dev/null +++ b/content/projekte/indiedact/_index.md @@ -0,0 +1,4 @@ ++++ +title = "Indiedact" +description = "Partizipatives Lernen für alle" ++++ diff --git a/content/projekte/schul-frei/_index.md b/content/projekte/schul-frei/_index.md new file mode 100644 index 00000000..90c3c9b0 --- /dev/null +++ b/content/projekte/schul-frei/_index.md @@ -0,0 +1,4 @@ ++++ +title = "schul-frei" +description = "Verstehbare digitale Werkzeug für Bildungseinrichtungen" ++++ diff --git a/sass/_menu.scss b/sass/_menu.scss index 61f55717..0a433deb 100644 --- a/sass/_menu.scss +++ b/sass/_menu.scss @@ -30,5 +30,5 @@ } .navbar-dropdown.wide-dropdown { - width: 100%; + width: 100vw; } diff --git a/templates/menu/projects.html b/templates/menu/projects.html index 3bcbe6d6..fbdbe394 100644 --- a/templates/menu/projects.html +++ b/templates/menu/projects.html @@ -2,12 +2,14 @@ {% for project in projects.items %} <section class="section menu-project-section" id="menu-project-section-{{ project.slug }}"> - {% set section = get_section(path = project.slug ~ "/_index.md") %} + {% set section = get_section(path = "projekte/" ~ project.slug ~ "/_index.md") %} <h1 class="title">{{ section.title }}</h1> <h2 class="subtitle">{{ section.description }}</h2> {% for page in project.pages %} - <a href="{{ page.permalink }}">{{ page.title }}</a> + <ul> + <li><a href="{{ page.permalink }}">{{ page.title }}</a></li> + </ul> {% endfor %} </section> {% endfor %} \ No newline at end of file -- GitLab