From 8adf401bb131eb43b51cc321792d469ea243b2e0 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Fri, 8 Sep 2023 13:28:06 +0200 Subject: [PATCH] add demo navigation --- public_html/config/navi_left.php | 14 ++++++++++++++ public_html/config/navi_top.php | 15 +++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 public_html/config/navi_left.php create mode 100644 public_html/config/navi_top.php diff --git a/public_html/config/navi_left.php b/public_html/config/navi_left.php new file mode 100644 index 0000000..645a61c --- /dev/null +++ b/public_html/config/navi_left.php @@ -0,0 +1,14 @@ +<?php + +// icons: https://fontawesome.com/v5/search?o=r&m=free + +return [ + ['href'=>'#', 'label'=>'Menu A', 'icon'=>'fas fa-home' ], + ['href'=>'#', 'label'=>'Menu B', 'icon'=>'fas fa-tv'], + ['href'=>'#', 'label'=>'Menu C', 'icon'=>'fas fa-truck-pickup', + 'children'=>[ + ['href'=>'#', 'label'=>'FAQ' , 'icon'=>'fas fa-truck-monster'], + ['href'=>'#', 'label'=>'Support' , 'icon'=>'fas fa-truck-moving'], + ] + ] +]; \ No newline at end of file diff --git a/public_html/config/navi_top.php b/public_html/config/navi_top.php new file mode 100644 index 0000000..3f48208 --- /dev/null +++ b/public_html/config/navi_top.php @@ -0,0 +1,15 @@ +<?php + +// icons: https://fontawesome.com/v5/search?o=r&m=free + +return [ + ['href'=>'/index.php', 'label'=>'MyHome' , 'icon'=>'fas fa-home', 'class'=>'bg-gray'], + ['href'=>'#', 'label'=>'Contact' ], + ['href'=>'#', 'label'=>'Help', + 'children'=>[ + ['href'=>'#', 'label'=>'FAQ'], + ['label'=>'-'], + ['href'=>'#', 'label'=>'Support'], + ] + ] +]; \ No newline at end of file -- GitLab