diff --git a/source/data/menu.json b/source/data/menu.json new file mode 100644 index 0000000..f437630 --- /dev/null +++ b/source/data/menu.json @@ -0,0 +1,18 @@ +[ + { + "text": "New", + "href": "#new" + }, + { + "text": "Continue", + "href": "#continue" + }, + { + "text": "Settings", + "href": "#options" + }, + { + "text": "Leave", + "href": "/" + } +] \ No newline at end of file diff --git a/source/screens/demo/examples/game/menu.liquid b/source/screens/demo/examples/game/menu.liquid index 34e00e7..c29a2ed 100644 --- a/source/screens/demo/examples/game/menu.liquid +++ b/source/screens/demo/examples/game/menu.liquid @@ -7,20 +7,7 @@ tags: {% layout 'hippie/simple.liquid' %} {% block body %} -
- -
+{% render 'hippie/partials/game-menu.liquid', links: menu %}