';
require_once __DIR__ . '/includes/functions.php';
// Get about us sections
$aboutSections = db()->fetchAll(
"SELECT * FROM about_us_sections WHERE is_active = 1 ORDER BY sort_order ASC"
);
// Get homepage splashes
$splashBlocks = db()->fetchAll(
"SELECT * FROM homepage_splashes WHERE is_active = 1 ORDER BY sort_order ASC, id ASC"
);
// Get featured products
$featuredProducts = db()->fetchAll(
"SELECT * FROM products WHERE is_active = 1 AND is_featured = 1 ORDER BY created_at DESC LIMIT 4"
);
// If no featured products, get latest products
if (empty($featuredProducts)) {
$featuredProducts = db()->fetchAll(
"SELECT * FROM products WHERE is_active = 1 ORDER BY created_at DESC LIMIT 4"
);
}
$metaTitle = "Fresh Roasted Artisan Coffee | Tom's Java Jive";
$metaDescription = "Premium artisan coffee beans freshly roasted and delivered to your door. Shop single origin, blends, and specialty coffee from Tom's Java Jive in Weatherford, Texas.";
$metaKeywords = 'artisan coffee beans, fresh roasted coffee, single origin coffee, specialty coffee, Weatherford Texas';
$canonicalUrl = 'https://tomsjavajive.com/';
require_once __DIR__ . '/includes/header.php';
?>
Artisan roasted coffee beans sourced from the world's finest growing regions. Experience the perfect cup, every time. = htmlspecialchars($sp['description'] ?? '') ?> Our most popular coffee selections Products coming soon! Check back later.
= nl2br(htmlspecialchars($para)) ?>
Premium Coffee, Delivered Fresh
= htmlspecialchars($sp['title']) ?>
Featured Products
Sale
= htmlspecialchars($product['name']) ?>
Our Story
= htmlspecialchars($sec['heading']) ?>