aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/mobilepanes.php
diff options
context:
space:
mode:
authorwinter2025-01-19 23:12:10 +0000
committerwinter2025-01-19 23:12:10 +0000
commitf5ad15cc68804351389192f149b0f48866f1d9eb (patch)
tree9af66b2416b8f860ea489699a14228aa568a1eb4 /routes/mobilepanes.php
parent8c6dad8c48d5d730b102d9de0079fee9752b0d35 (diff)
make left and right panes accessible on small screens
Diffstat (limited to 'routes/mobilepanes.php')
-rw-r--r--routes/mobilepanes.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/routes/mobilepanes.php b/routes/mobilepanes.php
new file mode 100644
index 0000000..b7f7c04
--- /dev/null
+++ b/routes/mobilepanes.php
@@ -0,0 +1,7 @@
+<?php
+
+use Digitigrade\Router;
+
+Router::getInstance()->mount('/mobilepane/:side', function (array $args) {
+ render_template('mobilepane_' . $args['side']);
+}); \ No newline at end of file