<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Product Landing Page</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body { margin:0; font-family: Arial, sans-serif; background:#f4f4f4; color:#333; }
.container { max-width: 1000px; margin:auto; padding:20px; }
.header {
text-align:center;
padding:50px 10px;
background: linear-gradient(90deg,#1a73e8,#34a853);
color:#fff;
border-radius:12px;
}
.header h1 { font-size:38px; margin-bottom:10px; }
.header p { font-size:18px; }
.hero { display:flex; flex-wrap:wrap; gap:20px; background:#fff; padding:30px; border-radius:12px; align-items:center; margin-top:20px; box-shadow:0 5px 15px rgba(0,0,0,0.1);}
.hero img { width:100%; max-width:450px; border-radius:10px; }
.details { flex:1; min-width:280px; }
.details h2 { font-size:28px; margin-bottom:15px; color:#222; }
.details .price { font-size:26px; color:#e63946; margin:10px 0; }
.details ul { list-style:none; padding:0; }
.details ul li { margin-bottom:10px; font-size:16px; }
.details .btn { display:inline-block; background:#ff6b6b; color:#fff; padding:15px 30px; border-radius:8px; text-decoration:none; font-size:18px; margin-top:15px; transition:0.3s; }
.details .btn:hover { background:#e63946; transform:scale(1.05); }
.section { background:#fff; margin-top:30px; padding:25px; border-radius:12px; box-shadow:0 3px 10px rgba(0,0,0,0.05); }
.section h3 { margin-bottom:12px; color:#1a1a1a; }
.footer { text-align:center; margin-top:35px; padding:15px; color:#777; font-size:14px; }
.countdown { font-size:20px; color:#e63946; margin:10px 0; font-weight:bold; }
.admin-panel { background:#222; color:#fff; padding:15px; margin:20px 0; border-radius:10px; }
.admin-panel input, .admin-panel textarea { width:100%; margin-bottom:10px; padding:10px; border-radius:6px; border:none; }
.admin-panel label { font-weight:bold; }
.admin-panel button { background:#e63946; color:#fff; padding:10px 20px; border:none; border-radius:6px; cursor:pointer; }
.admin-panel button:hover { background:#d62828; }
.review { margin-bottom:15px; padding:10px; background:#f1f1f1; border-radius:6px; }
.review strong { color:#1a73e8; }
@media(max-width:768px){ .hero { flex-direction:column; align-items:center; } }
</style>
</head>
<body>
<div class="container">
<!-- HEADER -->
<div class="header">
<h1 id="product-title">Ultimate Smartwatch 2026</h1>
<p id="product-shortdesc">Stay connected and track your health effortlessly.</p>
</div>
<!-- HERO -->
<div class="hero">
<img id="product-image" src="PUT-YOUR-PRODUCT-IMAGE-HERE" alt="Product Image">
<div class="details">
<h2 id="product-features">All-in-One Smartwatch</h2>
<div class="price" id="product-price">$129.99</div>
<div class="countdown" id="countdown">Offer ends in: 00:30:00</div>
<ul>
<li id="feature1">✔ Heart Rate & Blood Oxygen Monitoring</li>
<li id="feature2">✔ Multi-Sport Tracking & GPS</li>
<li id="feature3">✔ Waterproof & Long Battery Life</li>
<li id="feature4">✔ Compatible with Android & iOS</li>
</ul>
<a href="PUT-YOUR-PURCHASE-LINK-HERE" id="product-link" class="btn">Buy Now</a>
</div>
</div>
<!-- DESCRIPTION -->
<div class="section">
<h3>Description</h3>
<p id="product-desc">
This smartwatch combines style and functionality, keeping you connected, fit, and organized.
Perfect for everyday use, sports, and as a gift.
</p>
</div>
<!-- BENEFITS -->
<div class="section">
<h3>Why Choose This Product?</h3>
<ul>
<li id="benefit1">➡ 24/7 Health & Fitness Tracking</li>
<li id="benefit2">➡ Instant Notifications</li>
<li id="benefit3">➡ Stylish Design</li>
<li id="benefit4">➡ Long-lasting Durability</li>
</ul>
</div>
<!-- CUSTOMER REVIEWS -->
<div class="section">
<h3>Customer Reviews</h3>
<div class="review"><strong>John D.</strong>: "Amazing smartwatch! Great battery and design."</div>
<div class="review"><strong>Sarah K.</strong>: "Best gadget I bought this year. Highly recommend!"</div>
<div class="review"><strong>Mike P.</strong>: "Tracks everything accurately and looks awesome."</div>
</div>
<!-- ADMIN PANEL -->
<div class="admin-panel">
<h3>Admin Panel - Edit Product Info</h3>
<label>Product Title</label>
<input type="text" id="input-title" placeholder="Product Title">
<label>Short Description</label>
<textarea id="input-shortdesc" placeholder="Short description"></textarea>
<label>Features</label>
<input type="text" id="input-feature1" placeholder="Feature 1">
<input type="text" id="input-feature2" placeholder="Feature 2">
<input type="text" id="input-feature3" placeholder="Feature 3">
<input type="text" id="input-feature4" placeholder="Feature 4">
<label>Description</label>
<textarea id="input-desc" placeholder="Full description"></textarea>
<label>Benefits</label>
<input type="text" id="input-benefit1" placeholder="Benefit 1">
<input type="text" id="input-benefit2" placeholder="Benefit 2">
<input type="text" id="input-benefit3" placeholder="Benefit 3">
<input type="text" id="input-benefit4" placeholder="Benefit 4">
<label>Price</label>
<input type="text" id="input-price" placeholder="$129.99">
<label>Image URL</label>
<input type="text" id="input-image" placeholder="Product image URL">
<label>Purchase Link</label>
<input type="text" id="input-link" placeholder="Buy link URL">
<button onclick="updateProduct()">Update Product</button>
</div>
</div>
<div class="footer">
© 2026 YourBrand – All Rights Reserved
</div>
<script>
// Admin panel functionality
function updateProduct() {
document.getElementById('product-title').innerText = document.getElementById('input-title').value || 'Ultimate Smartwatch 2026';
document.getElementById('product-shortdesc').innerText = document.getElementById('input-shortdesc').value || 'Stay connected and track your health effortlessly.';
document.getElementById('product-price').innerText = document.getElementById('input-price').value || '$129.99';
document.getElementById('product-image').src = document.getElementById('input-image').value || 'PUT-YOUR-PRODUCT-IMAGE-HERE';
document.getElementById('product-link').href = document.getElementById('input-link').value || 'PUT-YOUR-PURCHASE-LINK-HERE';
document.getElementById('feature1').innerText = document.getElementById('input-feature1').value || '✔ Heart Rate & Blood Oxygen Monitoring';
document.getElementById('feature2').innerText = document.getElementById('input-feature2').value || '✔ Multi-Sport Tracking & GPS';
document.getElementById('feature3').innerText = document.getElementById('input-feature3').value || '✔ Waterproof & Long Battery Life';
document.getElementById('feature4').innerText = document.getElementById('input-feature4').value || '✔ Compatible with Android & iOS';
document.getElementById('product-desc').innerText = document.getElementById('input-desc').value || 'This smartwatch combines style and functionality, keeping you connected, fit, and organized.';
document.getElementById('benefit1').innerText = document.getElementById('input-benefit1').value || '➡ 24/7 Health & Fitness Tracking';
document.getElementById('benefit2').innerText = document.getElementById('input-benefit2').value || '➡ Instant Notifications';
document.getElementById('benefit3').innerText = document.getElementById('input-benefit3').value || '➡ Stylish Design';
document.getElementById('benefit4').innerText = document.getElementById('input-benefit4').value || '➡ Long-lasting Durability';
alert('Product updated successfully!');
}
// Countdown timer
var countdownDate = new Date().getTime() + 30*60*1000; // 30 minutes from now
var countdownFunction = setInterval(function() {
var now = new Date().getTime();
var distance = countdownDate - now;
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
document.getElementById("countdown").innerText = "Offer ends in: " + minutes + "m " + seconds + "s ";
if (distance < 0) {
clearInterval(countdownFunction);
document.getElementById("countdown").innerText = "Offer expired!";
}
}, 1000);
</script>
</body>
</html>
ليست هناك تعليقات:
إرسال تعليق