Fediversity/website/content/navigation.nix

27 lines
630 B
Nix
Raw Normal View History

{ config, lib, ... }:
2024-11-13 15:24:41 +01:00
let
inherit (config) pages;
in
{
menus.main = {
label = "Main";
items = [
{ page = pages.index // { title = "Start"; }; }
2024-11-13 15:24:41 +01:00
{
menu.label = "For you";
menu.items = map (page: { inherit page; })
(with pages; [ individuals developers european-commission ]);
}
2024-11-13 15:24:41 +01:00
{
menu.label = "Consortium";
2024-11-13 15:24:41 +01:00
menu.items = map (page: { inherit page; })
(with pages; [ nlnet oid tweag nordunet ]);
2024-11-13 15:24:41 +01:00
}
2024-11-13 15:24:41 +01:00
{ page = pages.fediversity; }
{ page = pages.grants; }
{ page = pages.news; }
{ page = pages.events; }
2024-11-13 15:24:41 +01:00
];
};
}