undefined - Initial Deployment
Browse files- README.md +7 -5
- index.html +459 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: https-www-facebook-com-ahmed-ail-524160
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: red
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,459 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Digital Product Publisher</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.gradient-bg {
|
| 11 |
+
background: linear-gradient(135deg, #6e8efb, #a777e3);
|
| 12 |
+
}
|
| 13 |
+
.platform-icon {
|
| 14 |
+
transition: all 0.3s ease;
|
| 15 |
+
}
|
| 16 |
+
.platform-icon:hover {
|
| 17 |
+
transform: scale(1.1);
|
| 18 |
+
}
|
| 19 |
+
.product-card {
|
| 20 |
+
transition: all 0.3s ease;
|
| 21 |
+
}
|
| 22 |
+
.product-card:hover {
|
| 23 |
+
transform: translateY(-5px);
|
| 24 |
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
| 25 |
+
}
|
| 26 |
+
.scheduled-post {
|
| 27 |
+
border-left: 4px solid #a777e3;
|
| 28 |
+
}
|
| 29 |
+
#previewModal {
|
| 30 |
+
transition: all 0.3s ease;
|
| 31 |
+
}
|
| 32 |
+
.modal-enter {
|
| 33 |
+
opacity: 0;
|
| 34 |
+
transform: scale(0.9);
|
| 35 |
+
}
|
| 36 |
+
.modal-enter-active {
|
| 37 |
+
opacity: 1;
|
| 38 |
+
transform: scale(1);
|
| 39 |
+
transition: opacity 300ms, transform 300ms;
|
| 40 |
+
}
|
| 41 |
+
.modal-exit {
|
| 42 |
+
opacity: 1;
|
| 43 |
+
}
|
| 44 |
+
.modal-exit-active {
|
| 45 |
+
opacity: 0;
|
| 46 |
+
transform: scale(0.9);
|
| 47 |
+
transition: opacity 300ms, transform 300ms;
|
| 48 |
+
}
|
| 49 |
+
</style>
|
| 50 |
+
</head>
|
| 51 |
+
<body class="bg-gray-50">
|
| 52 |
+
<!-- Header -->
|
| 53 |
+
<header class="gradient-bg text-white shadow-lg">
|
| 54 |
+
<div class="container mx-auto px-4 py-6">
|
| 55 |
+
<div class="flex justify-between items-center">
|
| 56 |
+
<div class="flex items-center space-x-2">
|
| 57 |
+
<i class="fas fa-rocket text-2xl"></i>
|
| 58 |
+
<h1 class="text-2xl font-bold">Digital Publisher Pro</h1>
|
| 59 |
+
</div>
|
| 60 |
+
<div class="flex items-center space-x-4">
|
| 61 |
+
<button class="bg-white text-purple-600 px-4 py-2 rounded-full font-semibold hover:bg-purple-50 transition">
|
| 62 |
+
<i class="fas fa-user mr-2"></i>Account
|
| 63 |
+
</button>
|
| 64 |
+
</div>
|
| 65 |
+
</div>
|
| 66 |
+
</div>
|
| 67 |
+
</header>
|
| 68 |
+
|
| 69 |
+
<!-- Main Content -->
|
| 70 |
+
<main class="container mx-auto px-4 py-8">
|
| 71 |
+
<div class="grid grid-cols-1 lg:grid-cols-4 gap-8">
|
| 72 |
+
<!-- Sidebar -->
|
| 73 |
+
<aside class="lg:col-span-1 bg-white rounded-xl shadow-md p-6 h-fit sticky top-8">
|
| 74 |
+
<div class="mb-8">
|
| 75 |
+
<h2 class="text-xl font-bold text-gray-800 mb-4">Dashboard</h2>
|
| 76 |
+
<ul class="space-y-2">
|
| 77 |
+
<li>
|
| 78 |
+
<a href="#" class="flex items-center space-x-3 text-purple-600 font-medium p-2 rounded-lg bg-purple-50">
|
| 79 |
+
<i class="fas fa-home"></i>
|
| 80 |
+
<span>Overview</span>
|
| 81 |
+
</a>
|
| 82 |
+
</li>
|
| 83 |
+
<li>
|
| 84 |
+
<a href="#" class="flex items-center space-x-3 text-gray-600 hover:text-purple-600 hover:bg-purple-50 font-medium p-2 rounded-lg transition">
|
| 85 |
+
<i class="fas fa-box-open"></i>
|
| 86 |
+
<span>Products</span>
|
| 87 |
+
</a>
|
| 88 |
+
</li>
|
| 89 |
+
<li>
|
| 90 |
+
<a href="#" class="flex items-center space-x-3 text-gray-600 hover:text-purple-600 hover:bg-purple-50 font-medium p-2 rounded-lg transition">
|
| 91 |
+
<i class="fas fa-calendar-alt"></i>
|
| 92 |
+
<span>Schedule</span>
|
| 93 |
+
</a>
|
| 94 |
+
</li>
|
| 95 |
+
<li>
|
| 96 |
+
<a href="#" class="flex items-center space-x-3 text-gray-600 hover:text-purple-600 hover:bg-purple-50 font-medium p-2 rounded-lg transition">
|
| 97 |
+
<i class="fas fa-chart-line"></i>
|
| 98 |
+
<span>Analytics</span>
|
| 99 |
+
</a>
|
| 100 |
+
</li>
|
| 101 |
+
<li>
|
| 102 |
+
<a href="#" class="flex items-center space-x-3 text-gray-600 hover:text-purple-600 hover:bg-purple-50 font-medium p-2 rounded-lg transition">
|
| 103 |
+
<i class="fas fa-envelope"></i>
|
| 104 |
+
<span>Messages</span>
|
| 105 |
+
</a>
|
| 106 |
+
</li>
|
| 107 |
+
<li>
|
| 108 |
+
<a href="#" class="flex items-center space-x-3 text-gray-600 hover:text-purple-600 hover:bg-purple-50 font-medium p-2 rounded-lg transition">
|
| 109 |
+
<i class="fas fa-cog"></i>
|
| 110 |
+
<span>Settings</span>
|
| 111 |
+
</a>
|
| 112 |
+
</li>
|
| 113 |
+
</ul>
|
| 114 |
+
</div>
|
| 115 |
+
|
| 116 |
+
<div>
|
| 117 |
+
<h2 class="text-xl font-bold text-gray-800 mb-4">Connected Accounts</h2>
|
| 118 |
+
<div class="grid grid-cols-3 gap-3">
|
| 119 |
+
<div class="platform-icon bg-blue-500 text-white p-3 rounded-full text-center cursor-pointer">
|
| 120 |
+
<i class="fab fa-facebook-f"></i>
|
| 121 |
+
</div>
|
| 122 |
+
<div class="platform-icon bg-pink-500 text-white p-3 rounded-full text-center cursor-pointer">
|
| 123 |
+
<i class="fab fa-instagram"></i>
|
| 124 |
+
</div>
|
| 125 |
+
<div class="platform-icon bg-blue-400 text-white p-3 rounded-full text-center cursor-pointer">
|
| 126 |
+
<i class="fab fa-twitter"></i>
|
| 127 |
+
</div>
|
| 128 |
+
<div class="platform-icon bg-red-500 text-white p-3 rounded-full text-center cursor-pointer">
|
| 129 |
+
<i class="fab fa-youtube"></i>
|
| 130 |
+
</div>
|
| 131 |
+
<div class="platform-icon bg-green-500 text-white p-3 rounded-full text-center cursor-pointer">
|
| 132 |
+
<i class="fab fa-whatsapp"></i>
|
| 133 |
+
</div>
|
| 134 |
+
<div class="platform-icon bg-gray-800 text-white p-3 rounded-full text-center cursor-pointer">
|
| 135 |
+
<i class="fas fa-plus"></i>
|
| 136 |
+
</div>
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
</aside>
|
| 140 |
+
|
| 141 |
+
<!-- Main Content Area -->
|
| 142 |
+
<div class="lg:col-span-3 space-y-8">
|
| 143 |
+
<!-- Quick Stats -->
|
| 144 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
| 145 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 146 |
+
<div class="flex justify-between items-start">
|
| 147 |
+
<div>
|
| 148 |
+
<p class="text-gray-500">Total Products</p>
|
| 149 |
+
<h3 class="text-3xl font-bold text-gray-800">24</h3>
|
| 150 |
+
</div>
|
| 151 |
+
<div class="bg-purple-100 p-3 rounded-full">
|
| 152 |
+
<i class="fas fa-box text-purple-600"></i>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
<p class="text-green-500 text-sm mt-2"><i class="fas fa-arrow-up mr-1"></i> 12% from last month</p>
|
| 156 |
+
</div>
|
| 157 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 158 |
+
<div class="flex justify-between items-start">
|
| 159 |
+
<div>
|
| 160 |
+
<p class="text-gray-500">Scheduled Posts</p>
|
| 161 |
+
<h3 class="text-3xl font-bold text-gray-800">8</h3>
|
| 162 |
+
</div>
|
| 163 |
+
<div class="bg-blue-100 p-3 rounded-full">
|
| 164 |
+
<i class="fas fa-calendar text-blue-600"></i>
|
| 165 |
+
</div>
|
| 166 |
+
</div>
|
| 167 |
+
<p class="text-green-500 text-sm mt-2"><i class="fas fa-arrow-up mr-1"></i> 3 new today</p>
|
| 168 |
+
</div>
|
| 169 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 170 |
+
<div class="flex justify-between items-start">
|
| 171 |
+
<div>
|
| 172 |
+
<p class="text-gray-500">Messages Sent</p>
|
| 173 |
+
<h3 class="text-3xl font-bold text-gray-800">156</h3>
|
| 174 |
+
</div>
|
| 175 |
+
<div class="bg-green-100 p-3 rounded-full">
|
| 176 |
+
<i class="fas fa-envelope text-green-600"></i>
|
| 177 |
+
</div>
|
| 178 |
+
</div>
|
| 179 |
+
<p class="text-red-500 text-sm mt-2"><i class="fas fa-arrow-down mr-1"></i> 5% from last week</p>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
|
| 183 |
+
<!-- Create New Post -->
|
| 184 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 185 |
+
<h2 class="text-xl font-bold text-gray-800 mb-4">Create New Post</h2>
|
| 186 |
+
<form id="postForm">
|
| 187 |
+
<div class="mb-4">
|
| 188 |
+
<label class="block text-gray-700 mb-2" for="product">Select Product</label>
|
| 189 |
+
<select id="product" class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-purple-300 focus:border-purple-500">
|
| 190 |
+
<option value="">-- Select a product --</option>
|
| 191 |
+
<option value="1">E-book: Digital Marketing Guide</option>
|
| 192 |
+
<option value="2">Course: Web Development 101</option>
|
| 193 |
+
<option value="3">Template: Social Media Pack</option>
|
| 194 |
+
<option value="4">Plugin: SEO Optimizer</option>
|
| 195 |
+
</select>
|
| 196 |
+
</div>
|
| 197 |
+
|
| 198 |
+
<div class="mb-4">
|
| 199 |
+
<label class="block text-gray-700 mb-2" for="platforms">Select Platforms</label>
|
| 200 |
+
<div class="flex flex-wrap gap-2">
|
| 201 |
+
<label class="inline-flex items-center">
|
| 202 |
+
<input type="checkbox" class="form-checkbox text-blue-500" checked>
|
| 203 |
+
<span class="ml-2">Facebook</span>
|
| 204 |
+
</label>
|
| 205 |
+
<label class="inline-flex items-center">
|
| 206 |
+
<input type="checkbox" class="form-checkbox text-pink-500" checked>
|
| 207 |
+
<span class="ml-2">Instagram</span>
|
| 208 |
+
</label>
|
| 209 |
+
<label class="inline-flex items-center">
|
| 210 |
+
<input type="checkbox" class="form-checkbox text-blue-400">
|
| 211 |
+
<span class="ml-2">Twitter</span>
|
| 212 |
+
</label>
|
| 213 |
+
<label class="inline-flex items-center">
|
| 214 |
+
<input type="checkbox" class="form-checkbox text-red-500">
|
| 215 |
+
<span class="ml-2">YouTube</span>
|
| 216 |
+
</label>
|
| 217 |
+
</div>
|
| 218 |
+
</div>
|
| 219 |
+
|
| 220 |
+
<div class="mb-4">
|
| 221 |
+
<label class="block text-gray-700 mb-2" for="message">Post Content</label>
|
| 222 |
+
<textarea id="message" rows="4" class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-purple-300 focus:border-purple-500" placeholder="Write your post content here..."></textarea>
|
| 223 |
+
</div>
|
| 224 |
+
|
| 225 |
+
<div class="mb-4">
|
| 226 |
+
<label class="block text-gray-700 mb-2">Add Media</label>
|
| 227 |
+
<div class="border-2 border-dashed border-gray-300 rounded-lg p-4 text-center cursor-pointer hover:bg-gray-50 transition">
|
| 228 |
+
<i class="fas fa-cloud-upload-alt text-3xl text-gray-400 mb-2"></i>
|
| 229 |
+
<p class="text-gray-500">Click to upload or drag and drop</p>
|
| 230 |
+
<p class="text-sm text-gray-400">PNG, JPG, GIF up to 10MB</p>
|
| 231 |
+
</div>
|
| 232 |
+
</div>
|
| 233 |
+
|
| 234 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
|
| 235 |
+
<div>
|
| 236 |
+
<label class="block text-gray-700 mb-2" for="schedule">Schedule Post</label>
|
| 237 |
+
<input type="datetime-local" id="schedule" class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-purple-300 focus:border-purple-500">
|
| 238 |
+
</div>
|
| 239 |
+
<div>
|
| 240 |
+
<label class="block text-gray-700 mb-2" for="timezone">Timezone</label>
|
| 241 |
+
<select id="timezone" class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-purple-300 focus:border-purple-500">
|
| 242 |
+
<option value="EST">Eastern Time (EST)</option>
|
| 243 |
+
<option value="PST">Pacific Time (PST)</option>
|
| 244 |
+
<option value="CST">Central Time (CST)</option>
|
| 245 |
+
<option value="GMT">GMT</option>
|
| 246 |
+
</select>
|
| 247 |
+
</div>
|
| 248 |
+
</div>
|
| 249 |
+
|
| 250 |
+
<div class="flex justify-between">
|
| 251 |
+
<button type="button" id="previewBtn" class="px-6 py-2 border border-purple-600 text-purple-600 rounded-lg hover:bg-purple-50 transition">
|
| 252 |
+
<i class="fas fa-eye mr-2"></i>Preview
|
| 253 |
+
</button>
|
| 254 |
+
<div class="space-x-3">
|
| 255 |
+
<button type="button" class="px-6 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition">
|
| 256 |
+
<i class="fas fa-save mr-2"></i>Save Draft
|
| 257 |
+
</button>
|
| 258 |
+
<button type="submit" class="px-6 py-2 gradient-bg text-white rounded-lg hover:opacity-90 transition">
|
| 259 |
+
<i class="fas fa-paper-plane mr-2"></i>Publish Now
|
| 260 |
+
</button>
|
| 261 |
+
</div>
|
| 262 |
+
</div>
|
| 263 |
+
</form>
|
| 264 |
+
</div>
|
| 265 |
+
|
| 266 |
+
<!-- Recent Scheduled Posts -->
|
| 267 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 268 |
+
<div class="flex justify-between items-center mb-4">
|
| 269 |
+
<h2 class="text-xl font-bold text-gray-800">Recent Scheduled Posts</h2>
|
| 270 |
+
<button class="text-purple-600 hover:text-purple-800 transition">
|
| 271 |
+
<i class="fas fa-ellipsis-h"></i>
|
| 272 |
+
</button>
|
| 273 |
+
</div>
|
| 274 |
+
|
| 275 |
+
<div class="space-y-4">
|
| 276 |
+
<div class="scheduled-post bg-gray-50 p-4 rounded-lg">
|
| 277 |
+
<div class="flex justify-between items-start">
|
| 278 |
+
<div>
|
| 279 |
+
<h3 class="font-medium text-gray-800">E-book Launch Announcement</h3>
|
| 280 |
+
<p class="text-sm text-gray-500">Scheduled for: Today, 3:00 PM EST</p>
|
| 281 |
+
</div>
|
| 282 |
+
<div class="flex space-x-2">
|
| 283 |
+
<button class="text-blue-500 hover:text-blue-700 transition">
|
| 284 |
+
<i class="fas fa-edit"></i>
|
| 285 |
+
</button>
|
| 286 |
+
<button class="text-red-500 hover:text-red-700 transition">
|
| 287 |
+
<i class="fas fa-trash"></i>
|
| 288 |
+
</button>
|
| 289 |
+
</div>
|
| 290 |
+
</div>
|
| 291 |
+
<div class="flex items-center mt-2 space-x-2">
|
| 292 |
+
<span class="text-xs px-2 py-1 bg-blue-100 text-blue-600 rounded-full">Facebook</span>
|
| 293 |
+
<span class="text-xs px-2 py-1 bg-pink-100 text-pink-600 rounded-full">Instagram</span>
|
| 294 |
+
</div>
|
| 295 |
+
</div>
|
| 296 |
+
|
| 297 |
+
<div class="scheduled-post bg-gray-50 p-4 rounded-lg">
|
| 298 |
+
<div class="flex justify-between items-start">
|
| 299 |
+
<div>
|
| 300 |
+
<h3 class="font-medium text-gray-800">Web Development Course Discount</h3>
|
| 301 |
+
<p class="text-sm text-gray-500">Scheduled for: Tomorrow, 10:00 AM EST</p>
|
| 302 |
+
</div>
|
| 303 |
+
<div class="flex space-x-2">
|
| 304 |
+
<button class="text-blue-500 hover:text-blue-700 transition">
|
| 305 |
+
<i class="fas fa-edit"></i>
|
| 306 |
+
</button>
|
| 307 |
+
<button class="text-red-500 hover:text-red-700 transition">
|
| 308 |
+
<i class="fas fa-trash"></i>
|
| 309 |
+
</button>
|
| 310 |
+
</div>
|
| 311 |
+
</div>
|
| 312 |
+
<div class="flex items-center mt-2 space-x-2">
|
| 313 |
+
<span class="text-xs px-2 py-1 bg-blue-100 text-blue-600 rounded-full">Facebook</span>
|
| 314 |
+
<span class="text-xs px-2 py-1 bg-blue-400 text-white rounded-full">Twitter</span>
|
| 315 |
+
</div>
|
| 316 |
+
</div>
|
| 317 |
+
|
| 318 |
+
<div class="scheduled-post bg-gray-50 p-4 rounded-lg">
|
| 319 |
+
<div class="flex justify-between items-start">
|
| 320 |
+
<div>
|
| 321 |
+
<h3 class="font-medium text-gray-800">New Template Pack Release</h3>
|
| 322 |
+
<p class="text-sm text-gray-500">Scheduled for: Friday, 2:00 PM EST</p>
|
| 323 |
+
</div>
|
| 324 |
+
<div class="flex space-x-2">
|
| 325 |
+
<button class="text-blue-500 hover:text-blue-700 transition">
|
| 326 |
+
<i class="fas fa-edit"></i>
|
| 327 |
+
</button>
|
| 328 |
+
<button class="text-red-500 hover:text-red-700 transition">
|
| 329 |
+
<i class="fas fa-trash"></i>
|
| 330 |
+
</button>
|
| 331 |
+
</div>
|
| 332 |
+
</div>
|
| 333 |
+
<div class="flex items-center mt-2 space-x-2">
|
| 334 |
+
<span class="text-xs px-2 py-1 bg-pink-100 text-pink-600 rounded-full">Instagram</span>
|
| 335 |
+
<span class="text-xs px-2 py-1 bg-red-100 text-red-600 rounded-full">YouTube</span>
|
| 336 |
+
</div>
|
| 337 |
+
</div>
|
| 338 |
+
</div>
|
| 339 |
+
</div>
|
| 340 |
+
</div>
|
| 341 |
+
</div>
|
| 342 |
+
</main>
|
| 343 |
+
|
| 344 |
+
<!-- Preview Modal -->
|
| 345 |
+
<div id="previewModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
|
| 346 |
+
<div class="bg-white rounded-xl w-full max-w-2xl mx-4 overflow-hidden">
|
| 347 |
+
<div class="flex justify-between items-center border-b p-4">
|
| 348 |
+
<h3 class="text-lg font-bold text-gray-800">Post Preview</h3>
|
| 349 |
+
<button id="closePreview" class="text-gray-500 hover:text-gray-700">
|
| 350 |
+
<i class="fas fa-times"></i>
|
| 351 |
+
</button>
|
| 352 |
+
</div>
|
| 353 |
+
<div class="p-6">
|
| 354 |
+
<div class="mb-4">
|
| 355 |
+
<label class="block text-gray-700 mb-2">Platform Preview</label>
|
| 356 |
+
<div class="flex space-x-2 overflow-x-auto pb-2">
|
| 357 |
+
<button class="platform-preview-btn active bg-blue-500 text-white px-4 py-1 rounded-full text-sm">Facebook</button>
|
| 358 |
+
<button class="platform-preview-btn bg-pink-500 text-white px-4 py-1 rounded-full text-sm">Instagram</button>
|
| 359 |
+
<button class="platform-preview-btn bg-blue-400 text-white px-4 py-1 rounded-full text-sm">Twitter</button>
|
| 360 |
+
<button class="platform-preview-btn bg-red-500 text-white px-4 py-1 rounded-full text-sm">YouTube</button>
|
| 361 |
+
</div>
|
| 362 |
+
</div>
|
| 363 |
+
|
| 364 |
+
<div class="preview-content bg-gray-50 p-4 rounded-lg">
|
| 365 |
+
<div class="flex items-center mb-4">
|
| 366 |
+
<div class="w-10 h-10 rounded-full bg-purple-200 flex items-center justify-center">
|
| 367 |
+
<i class="fas fa-user text-purple-600"></i>
|
| 368 |
+
</div>
|
| 369 |
+
<div class="ml-3">
|
| 370 |
+
<h4 class="font-medium">Your Page</h4>
|
| 371 |
+
<p class="text-xs text-gray-500">Just now · <i class="fas fa-globe-americas"></i></p>
|
| 372 |
+
</div>
|
| 373 |
+
</div>
|
| 374 |
+
|
| 375 |
+
<p id="previewText" class="text-gray-800 mb-4">This is where your post content will appear. Write something engaging about your digital product!</p>
|
| 376 |
+
|
| 377 |
+
<div class="bg-white border rounded-lg overflow-hidden mb-4">
|
| 378 |
+
<img src="https://via.placeholder.com/600x400?text=Product+Image" alt="Product" class="w-full">
|
| 379 |
+
<div class="p-3">
|
| 380 |
+
<h4 class="font-bold text-lg" id="previewProductTitle">Product Title</h4>
|
| 381 |
+
<p class="text-gray-600 text-sm" id="previewProductDesc">Product description will appear here. Make it compelling!</p>
|
| 382 |
+
<p class="text-purple-600 font-medium mt-2">Learn More →</p>
|
| 383 |
+
</div>
|
| 384 |
+
</div>
|
| 385 |
+
|
| 386 |
+
<div class="flex justify-between text-gray-500 border-t pt-3">
|
| 387 |
+
<button class="flex items-center space-x-1 hover:text-blue-500">
|
| 388 |
+
<i class="far fa-thumbs-up"></i>
|
| 389 |
+
<span>Like</span>
|
| 390 |
+
</button>
|
| 391 |
+
<button class="flex items-center space-x-1 hover:text-green-500">
|
| 392 |
+
<i class="far fa-comment"></i>
|
| 393 |
+
<span>Comment</span>
|
| 394 |
+
</button>
|
| 395 |
+
<button class="flex items-center space-x-1 hover:text-red-500">
|
| 396 |
+
<i class="far fa-share-square"></i>
|
| 397 |
+
<span>Share</span>
|
| 398 |
+
</button>
|
| 399 |
+
</div>
|
| 400 |
+
</div>
|
| 401 |
+
</div>
|
| 402 |
+
<div class="border-t p-4 flex justify-end">
|
| 403 |
+
<button class="px-6 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition mr-3">
|
| 404 |
+
Back to Edit
|
| 405 |
+
</button>
|
| 406 |
+
<button class="px-6 py-2 gradient-bg text-white rounded-lg hover:opacity-90 transition">
|
| 407 |
+
Confirm & Schedule
|
| 408 |
+
</button>
|
| 409 |
+
</div>
|
| 410 |
+
</div>
|
| 411 |
+
</div>
|
| 412 |
+
|
| 413 |
+
<script>
|
| 414 |
+
// Preview Button Functionality
|
| 415 |
+
document.getElementById('previewBtn').addEventListener('click', function() {
|
| 416 |
+
const postText = document.getElementById('message').value;
|
| 417 |
+
const productSelect = document.getElementById('product');
|
| 418 |
+
const productText = productSelect.options[productSelect.selectedIndex].text;
|
| 419 |
+
|
| 420 |
+
document.getElementById('previewText').textContent = postText || "This is where your post content will appear. Write something engaging about your digital product!";
|
| 421 |
+
|
| 422 |
+
if (productText !== "-- Select a product --") {
|
| 423 |
+
const parts = productText.split(':');
|
| 424 |
+
document.getElementById('previewProductTitle').textContent = parts[1] ? parts[1].trim() : parts[0].trim();
|
| 425 |
+
document.getElementById('previewProductDesc').textContent = parts[1] ? `New ${parts[0].trim()} available now!` : "Check out this amazing product!";
|
| 426 |
+
} else {
|
| 427 |
+
document.getElementById('previewProductTitle').textContent = "Product Title";
|
| 428 |
+
document.getElementById('previewProductDesc').textContent = "Product description will appear here. Make it compelling!";
|
| 429 |
+
}
|
| 430 |
+
|
| 431 |
+
document.getElementById('previewModal').classList.remove('hidden');
|
| 432 |
+
});
|
| 433 |
+
|
| 434 |
+
// Close Preview Modal
|
| 435 |
+
document.getElementById('closePreview').addEventListener('click', function() {
|
| 436 |
+
document.getElementById('previewModal').classList.add('hidden');
|
| 437 |
+
});
|
| 438 |
+
|
| 439 |
+
// Platform Preview Tabs
|
| 440 |
+
const platformPreviewBtns = document.querySelectorAll('.platform-preview-btn');
|
| 441 |
+
platformPreviewBtns.forEach(btn => {
|
| 442 |
+
btn.addEventListener('click', function() {
|
| 443 |
+
platformPreviewBtns.forEach(b => b.classList.remove('active'));
|
| 444 |
+
this.classList.add('active');
|
| 445 |
+
// Here you would update the preview to show the selected platform style
|
| 446 |
+
});
|
| 447 |
+
});
|
| 448 |
+
|
| 449 |
+
// Form Submission
|
| 450 |
+
document.getElementById('postForm').addEventListener('submit', function(e) {
|
| 451 |
+
e.preventDefault();
|
| 452 |
+
alert('Your post has been published successfully!');
|
| 453 |
+
this.reset();
|
| 454 |
+
});
|
| 455 |
+
|
| 456 |
+
// Mobile menu toggle would go here
|
| 457 |
+
</script>
|
| 458 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Ahmedaill/https-www-facebook-com-ahmed-ail-524160" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 459 |
+
</html>
|