diff options
| author | winter | 2025-01-19 23:12:10 +0000 |
|---|---|---|
| committer | winter | 2025-01-19 23:12:10 +0000 |
| commit | f5ad15cc68804351389192f149b0f48866f1d9eb (patch) | |
| tree | 9af66b2416b8f860ea489699a14228aa568a1eb4 /routes | |
| parent | 8c6dad8c48d5d730b102d9de0079fee9752b0d35 (diff) | |
make left and right panes accessible on small screens
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/mobilepanes.php | 7 |
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 |
