From 0e6506b636af588076aa03b26d733e5ad9386b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Mon, 27 Jul 2026 09:15:38 +0400 Subject: [PATCH] refactor: split config.php into modules and lazy-load categories --- includes/footer.php | 1 + includes/hero-section.php | 105 +------ includes/lib/castopod.php | 244 +++++++++++++++ includes/lib/format.php | 125 ++++++++ includes/lib/funkwhale.php | 142 +++++++++ includes/lib/http.php | 46 +++ includes/lib/peertube-api.php | 519 ++++++++++++++++++++++++++++++++ includes/mobile-menu.php | 1 + includes/nav-context.php | 28 ++ includes/partials/next-live.php | 133 ++++++++ includes/sidebar.php | 10 +- tests/php/bootstrap.php | 6 +- 12 files changed, 1246 insertions(+), 114 deletions(-) create mode 100644 includes/lib/castopod.php create mode 100644 includes/lib/format.php create mode 100644 includes/lib/funkwhale.php create mode 100644 includes/lib/http.php create mode 100644 includes/lib/peertube-api.php create mode 100644 includes/nav-context.php create mode 100644 includes/partials/next-live.php diff --git a/includes/footer.php b/includes/footer.php index 3c23766..98ac103 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -1,4 +1,5 @@ +