72 lines
3.5 KiB
PHP
72 lines
3.5 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>PAGEHACK — AI Page Conversion</title>
|
|
<!-- Bootstrap 5 CDN -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<!-- Custom CSS -->
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
|
|
<!-- Meta Tags -->
|
|
<meta name="description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'AI-powered page conversion tool'); ?>">
|
|
<!-- Note: og:image is handled by the platform -->
|
|
</head>
|
|
<body>
|
|
|
|
<div class="container my-5">
|
|
<header class="text-center mb-5">
|
|
<h1 class="logo display-4">PAGEHACK</h1>
|
|
<p class="lead text-muted">Clone, rewrite, and translate any sales page for maximum conversion.</p>
|
|
</header>
|
|
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-8 col-lg-7">
|
|
<div class="card p-4 p-md-5">
|
|
<form id="pagehack-form" action="generate.php" method="POST">
|
|
<div class="mb-4">
|
|
<label for="url" class="form-label fs-5 fw-medium">Page URL</label>
|
|
<input type="url" class="form-control form-control-lg" id="url" name="url" placeholder="https://example.com/your-sales-page" required>
|
|
</div>
|
|
<div class="mb-4">
|
|
<label for="language" class="form-label fs-5 fw-medium">Target Language</label>
|
|
<select class="form-select form-select-lg" id="language" name="language">
|
|
<option value="pt">Português</option>
|
|
<option value="es">Español</option>
|
|
<option value="en" selected>English</option>
|
|
<option value="fr">Français</option>
|
|
<option value="de">Deutsch</option>
|
|
<option value="it">Italiano</option>
|
|
</select>
|
|
</div>
|
|
<div class="d-grid">
|
|
<button type="submit" class="btn btn-primary btn-lg">Generate New Page</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Toast Notification -->
|
|
<div class="position-fixed bottom-0 end-0 p-3 toast-container">
|
|
<div id="liveToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
|
|
<div class="toast-header">
|
|
<svg class="bd-placeholder-img rounded me-2" width="20" height="20" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" preserveAspectRatio="xMidYMid slice" focusable="false"><rect width="100%" height="100%" fill="#10B981"></rect></svg>
|
|
<strong class="me-auto">PAGEHACK</strong>
|
|
<small>Just now</small>
|
|
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
|
|
</div>
|
|
<div class="toast-body">
|
|
Request received! We've started processing your page.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Bootstrap 5 JS Bundle -->
|
|
<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> |