mirror of
https://github.com/myronblair/tomsjavajive
synced 2026-06-30 17:50:32 -05:00
Modularize CSS into page-specific files
Split style.css into home.css (hero, features, newsletter, splash) and products.css (product grid/cards). Each page loads only what it needs via $extraHead. style.css now contains only truly shared styles. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
*/
|
||||
|
||||
$pageTitle = "Tom's Java Jive | Premium Coffee Beans & Fresh Roasts";
|
||||
$extraHead = '<link rel="stylesheet" href="/assets/css/home.css?v=' . filemtime(__DIR__ . '/assets/css/home.css') . '">
|
||||
<link rel="stylesheet" href="/assets/css/products.css?v=' . filemtime(__DIR__ . '/assets/css/products.css') . '">';
|
||||
require_once __DIR__ . '/includes/functions.php';
|
||||
|
||||
// Get about us sections
|
||||
|
||||
Reference in New Issue
Block a user