From 7f78776b2ef81ec7de1c067e5123d865f03f442e Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 13 Apr 2025 23:09:14 -0400 Subject: [PATCH] index, functions, and style to theme root This file structure is closer to Sage's structure. It's also aligned with classic theme file structures. --- app/Core/Config.php | 2 +- resources/functions.php => functions.php | 6 ++---- resources/index.php => index.php | 0 resources/screenshot.png => screenshot.png | Bin resources/style.css => style.css | 0 5 files changed, 3 insertions(+), 5 deletions(-) rename resources/functions.php => functions.php (68%) rename resources/index.php => index.php (100%) rename resources/screenshot.png => screenshot.png (100%) rename resources/style.css => style.css (100%) diff --git a/app/Core/Config.php b/app/Core/Config.php index f9485a7..6fbc0a3 100644 --- a/app/Core/Config.php +++ b/app/Core/Config.php @@ -37,7 +37,7 @@ public function __construct() 'uri' => VILARE_DIST_URI, ], 'resources' => [ - 'path' => VILARE_PATH . '/resources', + 'path' => VILARE_PATH, ], 'views' => [ 'path' => VILARE_PATH . '/resources/views', diff --git a/resources/functions.php b/functions.php similarity index 68% rename from resources/functions.php rename to functions.php index e727be9..c57a57d 100644 --- a/resources/functions.php +++ b/functions.php @@ -1,12 +1,10 @@