nd <?php
/**
 * Create Dummy Data for Homepage Enhancement
 * Run this file once to populate the database with sample content
 */

require_once '../config/config.php';

// Check if user is admin
requireLogin();
if (!isAdmin()) {
    die('Access denied. Admin only.');
}

$db = getDB();
$success = [];
$errors = [];

try {
    // 1. Create Hero Slider Content
    echo "<h2>Creating Hero Slider Content...</h2>";
    
    $sliderContent = [
        [
            'title' => 'Advancing Women\'s Health Research',
            'subtitle' => 'Join the global community of OB/GYN researchers',
            'description' => 'ConnectNow let me start implementing the homepage enhancements. I'll begin with creating the dummy data and then updating the index.php file with the hero slider and other sections.

First, let me create the dummy images directory structure and then update the index.php file:

<execute_command>
<command>mkdir -p assets/images/slider assets/images/blog assets/images/news</command>
</execute_command>
