fix(assets): Add Bootstrap vendor files with PascalCase paths

- Add Assets/Vendor/Bootstrap/ (CSS and JS)
- Add Assets/Vendor/Fonts/ (Bootstrap Icons fonts)
- Fix path references in enqueue-scripts.php to use PascalCase
- Remove vendor/ from .gitignore (not using Composer)

Fixes CSS 404 errors on Linux production server.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
FrankZamora
2025-11-26 23:04:32 -06:00
parent 33d17f4b56
commit 0f947f6677
49 changed files with 59609 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ function roi_enqueue_bootstrap() {
// Bootstrap CSS - with high priority
wp_enqueue_style(
'roi-bootstrap',
get_template_directory_uri() . '/Assets/vendor/bootstrap/css/bootstrap.min.css',
get_template_directory_uri() . '/Assets/Vendor/Bootstrap/Css/bootstrap.min.css',
array('roi-fonts'),
'5.3.2',
'all'
@@ -49,7 +49,7 @@ function roi_enqueue_bootstrap() {
// Bootstrap Icons CSS - LOCAL (Issue #135: CORS bloqueaba CDN)
wp_enqueue_style(
'bootstrap-icons',
get_template_directory_uri() . '/Assets/vendor/bootstrap-icons.min.css',
get_template_directory_uri() . '/Assets/Vendor/bootstrap-icons.min.css',
array('roi-bootstrap'),
'1.11.3',
'all'
@@ -67,7 +67,7 @@ function roi_enqueue_bootstrap() {
// Bootstrap JS Bundle - in footer with defer
wp_enqueue_script(
'roi-bootstrap-js',
get_template_directory_uri() . '/Assets/vendor/bootstrap/js/bootstrap.bundle.min.js',
get_template_directory_uri() . '/Assets/Vendor/Bootstrap/Js/bootstrap.bundle.min.js',
array(),
'5.3.2',
array(