feat(icons): load Bootstrap Icons and Font Awesome from the shared platform-tools packs

Register the icons packs in platform_connect, add fit_icon_assets() with local
fallback, and add a sysadmin 'Pacotes de icones' link to platform?tool=icons.
This commit is contained in:
andre committed 2026-10-13 18:55:12 +01:00
1 parent 781a3a324e
commit 18676ad6d0
8 files changed
+46 -7

No files matched your search

+2 -2
View File
@@ -58,8 +58,8 @@ $canonical = $GLOBALS['_canonical_override'] ?? match ($page) {
<!-- Vendor: Bootstrap 5.3.3 -->
<?= link_tag('assets/vendor/bootstrap5/css/bootstrap.min.css') ?>
<!-- Vendor: Font Awesome 5 -->
<?= link_tag('site/assets/fonts/fontawesome/css/all.css') ?>
<!-- Icons: Font Awesome 6 from the shared platform-tools pack (local FA 5.13.1 as fallback) -->
<?= fit_icon_assets(['fontawesome'], ['site/assets/fonts/fontawesome/css/all.css']) ?>
<!-- App styles (Bootstrap overrides) -->