Fediversity/website/content/navigation.nix
Valentin Gagarin 3b002a5d2d add a desktop stylesheet
it also features a dark mode
2024-11-13 15:47:12 +01:00

33 lines
749 B
Nix

{ config, lib, ... }:
let
inherit (config) pages;
in
{
menus.main = {
label = "Main";
items = [
{ page = pages.index // { title = "Start"; }; }
{
menu.label = "For you";
menu.items = map (page: { inherit page; })
(with pages; [ individuals developers european-commission ]);
}
{
menu.label = "Consortium";
menu.items = map (page: { inherit page; })
(with pages; [ nlnet oid tweag nordunet ]);
}
{ page = pages.fediversity; }
{ page = pages.grants; }
{ page = pages.news; }
{ page = pages.events; }
{
link = {
label = "Contact";
url = "mailto:mail@fediversity.eu";
};
}
];
};
}