aboutsummaryrefslogtreecommitdiff
path: root/reluax.luax
diff options
context:
space:
mode:
authorStanisław Zagórowski <hasohasacz@gmail.com>2024-01-17 17:29:56 +0100
committerStanisław Zagórowski <hasohasacz@gmail.com>2024-01-17 17:29:56 +0100
commitf5a9720939415f02c1954b989c575aac8867f559 (patch)
tree96051d83c00b2851e3f86afe40410472a27d5d83 /reluax.luax
parent72995a399f75693d7cad977572a489719d064ef7 (diff)
site: add footer
Diffstat (limited to 'reluax.luax')
-rw-r--r--reluax.luax15
1 files changed, 9 insertions, 6 deletions
diff --git a/reluax.luax b/reluax.luax
index 1cfc04c..cb45ae6 100644
--- a/reluax.luax
+++ b/reluax.luax
@@ -1,5 +1,6 @@
local Common = require("common")
local Navbar = require("components.navbar")
+local Footer = require("components.footer")
local AnimatedBg = require("components.animated_bg")
local Home = require("pages.home")
@@ -17,12 +18,13 @@ math.randomseed(os.time())
local function wrap_component(component)
return
<Common>
- <Navbar />
- <div class="back-shadows"></div>
- <div id="app-main">
- {$ component $}
- <AnimatedBg />
- </div>
+ <Navbar />
+ <div class="back-shadows"></div>
+ <div id="app-main">
+ {$ component $}
+ <AnimatedBg />
+ </div>
+ <Footer />
</Common>
end
@@ -56,6 +58,7 @@ local function route(path)
<Blogpost post={post} />
<AnimatedBg />
</div>
+ <Footer />
</Common>
return 200, article