Add data models

This commit is contained in:
2025-10-15 11:14:56 +02:00
parent 2433b865da
commit 8f034d6309
11 changed files with 393 additions and 116 deletions

View File

@@ -40,22 +40,22 @@ func DefaultMenuBar() PageData {
ShowClock: true,
MenuGroups: []MenuGroup{
{
Label: "File",
Label: "Game",
Items: []MenuItem{
{Label: "New", URL: "#!"},
{Label: "Open", URL: "#!"},
{Label: "Save", URL: "#!"},
{Label: "Save As", URL: "#!"},
{Label: "Home", URL: "/"},
{Label: "Sessions", URL: "/sessions"},
{Label: "Statistics", URL: "/statistics"},
{IsDivider: true},
{Label: "Exit", URL: "#!"},
},
},
{
Label: "Edit",
Label: "Manage",
Items: []MenuItem{
{Label: "Cut", URL: "#!"},
{Label: "Copy", URL: "#!"},
{Label: "Paste", URL: "#!"},
{Label: "Players", URL: "/players"},
{Label: "Games", URL: "/games"},
{Label: "Bosses", URL: "/bosses"},
{Label: "Drinks", URL: "/drinks"},
},
},
{