summaryrefslogtreecommitdiff
path: root/web/config
diff options
context:
space:
mode:
Diffstat (limited to 'web/config')
-rw-r--r--web/config/aesthetic.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/web/config/aesthetic.php b/web/config/aesthetic.php
index ed79653..a2e4194 100644
--- a/web/config/aesthetic.php
+++ b/web/config/aesthetic.php
@@ -7,9 +7,9 @@ class Aesthetic {
$this->config = array(
'_common' => array(
'js' => [
- 'js/jquery-3.7.1.min.js',
+ 'js/thirdparty/jquery.min.js',
'js/lib.js',
- 'js/shared/modal.js',
+ 'js/modal.js',
],
'css' => [
'css/common.css'
@@ -22,8 +22,8 @@ class Aesthetic {
),
'home' => array(
'js' => [
- 'js/shared/post.js',
'js/routes/home.js',
+ 'js/post.js',
],
'css' => [
'css/home.css',
@@ -32,8 +32,11 @@ class Aesthetic {
),
);
}
-
- function get_files($route) {
+ /**
+ * @param mixed $route
+ * @return array<string,>
+ */
+ function get_files($route): array {
$js_files = $this->config['_common']['js'];
$css_files = $this->config['_common']['css'];