diff options
Diffstat (limited to '')
-rw-r--r-- | web/config/aesthetic.php (renamed from web/core/aesthetic.php) | 5 | ||||
-rw-r--r-- | web/config/routes.php | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/web/core/aesthetic.php b/web/config/aesthetic.php index 1180ad1..ed79653 100644 --- a/web/core/aesthetic.php +++ b/web/config/aesthetic.php @@ -9,7 +9,7 @@ class Aesthetic { 'js' => [ 'js/jquery-3.7.1.min.js', 'js/lib.js', - 'js/modal.js', + 'js/shared/modal.js', ], 'css' => [ 'css/common.css' @@ -22,7 +22,8 @@ class Aesthetic { ), 'home' => array( 'js' => [ - 'js/post.js', + 'js/shared/post.js', + 'js/routes/home.js', ], 'css' => [ 'css/home.css', diff --git a/web/config/routes.php b/web/config/routes.php new file mode 100644 index 0000000..78df332 --- /dev/null +++ b/web/config/routes.php @@ -0,0 +1,7 @@ +<?php /* Copyright (c) 2024 Freya Murphy */ + +$routes = array(); +$routes['home'] = 'apps/home'; +$routes['error'] = 'apps/error'; + +$routes[''] = '_index'; |