36643-vm/index.php
2025-12-04 07:22:31 +00:00

143 lines
7.1 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SEO & Meta -->
<title><?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'AI Script Generator'); ?></title>
<meta name="description" content="<?php echo htmlspecialchars(getenv('PROJECT_DESCRIPTION') ?: 'Generate viral scripts for your social media in seconds.'); ?>">
<!-- OG Meta -->
<meta property="og:title" content="<?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'AI Script Generator'); ?>">
<meta property="og:description" content="<?php echo htmlspecialchars(getenv('PROJECT_DESCRIPTION') ?: 'Generate viral scripts for your social media in seconds.'); ?>">
<meta property="og:image" content="<?php echo htmlspecialchars(getenv('PROJECT_IMAGE_URL') ?: ''); ?>">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body>
<!-- Header -->
<header class="navbar navbar-expand-lg navbar-light bg-white">
<div class="container">
<a class="navbar-brand" href="#"><?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'CreatorAI'); ?></a>
<a href="dashboard.php" class="btn btn-outline-primary">Dashboard</a>
</div>
</header>
<main>
<!-- Hero Section -->
<section class="hero text-center">
<div class="container">
<h1 class="display-4 fw-bold">Generate Viral Scripts in Seconds</h1>
<p class="lead col-md-8 mx-auto mt-3">Leverage AI to create engaging scripts for any genre, analyze your social media growth, and discover the perfect time to post.</p>
<a href="#generator-section" class="btn btn-primary mt-4">Get Started for Free</a>
</div>
</section>
<!-- Generator Section -->
<section id="generator-section" class="py-5">
<div class="container">
<div class="row">
<div class="col-lg-8 mx-auto">
<div class="generator-card">
<h2 class="text-center mb-4">AI Script Generator</h2>
<form id="generator-form">
<div class="mb-3">
<label for="genre" class="form-label">Select a Genre</label>
<select class="form-select" id="genre">
<option>Comedy Sketch</option>
<option>Tech Review</option>
<option>Educational Tutorial</option>
<option>Daily Vlog</option>
<option>Storytime</option>
<option>Product Unboxing</option>
<option>DIY/Craft</option>
<option>Gaming</option>
<option>Fitness/Workout</option>
<option>Cooking/Recipe</option>
<option>Travel</option>
<option>Fashion/Beauty</option>
<option>Music/Dance</option>
<option>Animation</option>
</select>
</div>
<div class="mb-3">
<label for="topic" class="form-label">What is your video about?</label>
<textarea class="form-control" id="topic" rows="3" placeholder="e.g., 'My cat learning a new trick' or 'The best features of the new iPhone'"></textarea>
</div>
<div class="d-grid">
<button type="submit" class="btn btn-primary">
<i class="bi bi-stars me-2"></i>Generate Script
</button>
</div>
</form>
<!-- Result Container -->
<div id="result-container" class="mt-4" style="display: none;">
<!-- AI response will be injected here -->
</div>
<button id="copy-button" class="btn btn-secondary btn-sm">
<i class="bi bi-clipboard me-1"></i> Copy
</button>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="features-section text-center">
<div class="container">
<div class="row">
<div class="col-lg-8 mx-auto">
<h2>Your All-in-One Creator Toolkit</h2>
<p class="lead">Everything you need to scale your content production.</p>
</div>
</div>
<div class="row mt-5 g-4">
<div class="col-md-4">
<div class="feature-icon">
<i class="bi bi-robot"></i>
</div>
<h3>AI Scripting</h3>
<p>Beat writer's block with endless ideas and ready-to-shoot scripts for any platform.</p>
</div>
<div class="col-md-4">
<div class="feature-icon">
<i class="bi bi-graph-up-arrow"></i>
</div>
<h3>Growth Analytics</h3>
<p>Connect your social accounts to get actionable insights and track your performance.</p>
</div>
<div class="col-md-4">
<div class="feature-icon">
<i class="bi bi-clock-history"></i>
</div>
<h3>Peak Post Times</h3>
<p>Maximize your reach by publishing your content when your audience is most active.</p>
</div>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="footer text-center">
<div class="container">
<p>&copy; <?php echo date("Y"); ?> <?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'CreatorAI'); ?>. All Rights Reserved.</p>
</div>
</footer>
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<!-- Custom JS -->
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>