aboutsummaryrefslogtreecommitdiff
path: root/pages/games.luax
diff options
context:
space:
mode:
authorStanisław Zagórowski <hasohasacz@gmail.com>2024-01-15 14:21:34 +0100
committerStanisław Zagórowski <hasohasacz@gmail.com>2024-01-15 14:21:34 +0100
commit63ea67e4c3c8caa2cf0dc6d7c940981bd40b3974 (patch)
tree9900794e80bd4413ceb4dad72cdfc3eeaf0d6c9b /pages/games.luax
parentd5c0555775ac835f75246a17b5e6f3ddc353d82b (diff)
all: move out from luax/
Diffstat (limited to 'pages/games.luax')
-rw-r--r--pages/games.luax25
1 files changed, 25 insertions, 0 deletions
diff --git a/pages/games.luax b/pages/games.luax
new file mode 100644
index 0000000..59a68b4
--- /dev/null
+++ b/pages/games.luax
@@ -0,0 +1,25 @@
+local Project = require("components.project")
+
+local games = require("data.games")
+
+local game_display = {}
+for _, game in ipairs(games) do
+ game_display[#game_display + 1] = <Project project={game} />
+end
+
+return function()
+ return
+ <div class="main-info">
+ <div class="main-info-title">
+ Game Projects
+ </div>
+ <div class="main-info-subtitle">
+ games I've worked on
+ </div>
+
+ <div class="games-container">
+ {$ game_display $}
+ </div>
+ </div>
+end
+