diff --git a/dashboards/escape-cities.html b/dashboards/escape-cities.html index d7234c8..50c968c 100644 --- a/dashboards/escape-cities.html +++ b/dashboards/escape-cities.html @@ -49,22 +49,31 @@ box-shadow: 0 10px 30px rgba(0,0,0,0.5); position: relative; } + .header-top { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 12px; + flex-wrap: wrap; + gap: 12px; + } .header-info-btn { - position: absolute; - top: 20px; - left: 20px; display: inline-flex; align-items: center; - justify-content: center; - width: 28px; - height: 28px; - border-radius: 50%; + gap: 6px; + padding: 6px 14px; + border-radius: 999px; background: rgba(139, 92, 246, 0.25); border: 1px solid var(--primary); color: #E9D5FF; font-weight: 700; cursor: pointer; font-size: 13px; + transition: all 0.2s; + } + .header-info-btn:hover { + background: var(--primary); + color: #FFF; } .badge { display: inline-flex; @@ -77,7 +86,24 @@ border-radius: 999px; font-size: 13px; font-weight: 600; - margin-bottom: 12px; + } + .btn-zip { + display: inline-flex; + align-items: center; + gap: 6px; + background: linear-gradient(135deg, #10B981 0%, #059669 100%); + color: #FFF; + padding: 6px 16px; + border-radius: 999px; + font-size: 13px; + font-weight: 700; + text-decoration: none; + box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); + transition: all 0.2s; + } + .btn-zip:hover { + filter: brightness(1.1); + transform: translateY(-1px); } h1 { font-size: 28px; @@ -109,13 +135,34 @@ align-items: center; gap: 6px; } + .progress-container { + margin-top: 18px; + display: flex; + flex-direction: column; + align-items: center; + gap: 8px; + } + .progress-bar-track { + width: 100%; + max-width: 480px; + height: 8px; + background: rgba(255, 255, 255, 0.1); + border-radius: 999px; + overflow: hidden; + position: relative; + } + .progress-bar-fill { + height: 100%; + width: 0%; + background: linear-gradient(90deg, #8B5CF6, #10B981); + border-radius: 999px; + transition: width 0.4s ease; + } .progress-pill { - margin-top: 14px; - display: inline-block; background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); color: #6EE7B7; - padding: 6px 16px; + padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; @@ -167,26 +214,27 @@ } .tag-city { position: absolute; - top: 14px; - right: 14px; - background: rgba(11, 7, 22, 0.85); + top: 12px; + right: 12px; + background: rgba(11, 7, 22, 0.88); backdrop-filter: blur(8px); color: #FFF; - padding: 6px 14px; - border-radius: 12px; + padding: 5px 12px; + border-radius: 10px; font-weight: 700; - font-size: 14px; - border: 1px solid rgba(255,255,255,0.2); - z-index: 2; + font-size: 13px; + border: 1px solid rgba(255,255,255,0.25); + z-index: 5; + white-space: nowrap; } .card-info-i { position: absolute; - top: 14px; - left: 14px; - width: 28px; - height: 28px; + top: 12px; + left: 12px; + width: 26px; + height: 26px; border-radius: 50%; - background: rgba(11, 7, 22, 0.85); + background: rgba(11, 7, 22, 0.88); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); color: #C4B5FD; @@ -194,20 +242,20 @@ align-items: center; justify-content: center; font-weight: 700; - font-size: 13px; + font-size: 12px; cursor: pointer; - z-index: 3; + z-index: 5; } .card-info-i:hover { background: var(--primary); color: #FFF; } .card-body { - padding: 18px; + padding: 16px; display: flex; flex-direction: column; flex-grow: 1; - gap: 12px; + gap: 10px; } .card-header-row { display: flex; @@ -216,16 +264,16 @@ gap: 8px; } .landmark-title { - font-size: 14px; + font-size: 13px; font-weight: 700; color: #E2E8F0; display: flex; align-items: center; - gap: 6px; + gap: 4px; } .status-toggle { - font-size: 12px; - padding: 4px 10px; + font-size: 11px; + padding: 4px 8px; border-radius: 8px; cursor: pointer; border: 1px solid rgba(255,255,255,0.2); @@ -282,9 +330,9 @@ align-items: center; justify-content: center; gap: 6px; - padding: 10px 12px; - border-radius: 12px; - font-size: 13px; + padding: 9px 10px; + border-radius: 10px; + font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; @@ -390,8 +438,11 @@
- -
🚀 استودیو محتوای اکیپا | غزل
+
+ +
🚀 استودیو محتوای اکیپا | غزل
+ 📦 دانلود پکیج زیپ ۱۱ شهر +

گالری استوری‌های شهری اتاق فرار (بنفش آبرنگی)

مجموعه ۱۱ تصویر استوری اختصاصی در سایز استاندارد 9:16 (1080×1920) با المان‌های معماری هر شهر، پالت آبرنگی بنفش و کادر درخشانِ شیشه‌ای خالی در پایین هر طرح برای قرار دادن استیکر لینک اینستاگرام. @@ -402,16 +453,21 @@

🏙️ ۱۱ کلان‌شهر فعال اکیپا
📊 لینک‌های استاندارد با UTM ترکینگ
-
وضعیت انتشار: ۰ از ۱۱ شهر منتشر شده
+
+
+
+
+
وضعیت انتشار: ۰ از ۱۱ شهر منتشر شده (۰٪)
+
-
+
تهران
- استوری تهران + استوری تهران
@@ -425,16 +481,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
کرج
- استوری کرج + استوری کرج
@@ -448,16 +504,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
مشهد
- استوری مشهد + استوری مشهد
@@ -471,16 +527,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
اصفهان
- استوری اصفهان + استوری اصفهان
@@ -494,16 +550,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
شیراز
- استوری شیراز + استوری شیراز
@@ -517,16 +573,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
رشت
- استوری رشت + استوری رشت
@@ -540,16 +596,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
تبریز
- استوری تبریز + استوری تبریز
@@ -563,16 +619,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
قم
- استوری قم + استوری قم
@@ -586,16 +642,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
کرمانشاه
- استوری کرمانشاه + استوری کرمانشاه
@@ -609,16 +665,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
یزد
- استوری یزد + استوری یزد
@@ -632,16 +688,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
اهواز
- استوری اهواز + استوری اهواز
@@ -655,7 +711,7 @@
- ⬇️ دانلود + ⬇️ دانلود
@@ -684,10 +740,10 @@ ۲. منطق تفکیک مسیرها: ۱۰ شهر دارای لندینگ اختصاصی /land/[slug] و اهواز دارای مسیر کاتالوگ شهری /s/ahvaz/escape-room هستند.

- ۳. ترکینگ UTM: تمامی لینک‌ها مجهز به utm_source=instagram&utm_medium=story&utm_campaign=city_escapes هستند. + ۳. ترکینگ UTM: تمامی لینک‌ها مجهز به utm_source=instagram&utm_medium=story&utm_campaign=city_escapes هستند تا ورودی‌ها به صورت ایزوله در متریک‌های کمپین رصد شوند.

- ۴. ذخیره‌سازی وضعیت: وضعیت انتشار هر شهر مستقیماً در دیتابیس PostgreSQL بک‌اند ذخیره می‌شود. + ۴. ذخیره‌سازی وضعیت: وضعیت انتشار هر شهر بدون اتکا به LocalStorage، مستقیماً در دیتابیس PostgreSQL بک‌اند (جدول dashboard_app_storage) ذخیره می‌شود.

@@ -740,7 +796,9 @@ btn.innerText = '⏳ در انتظار'; } }); - document.getElementById('progressPill').innerText = `وضعیت انتشار: ${count} از ۱۱ شهر منتشر شده`; + const pct = Math.round((count / ids.length) * 100); + document.getElementById('progressPill').innerText = `وضعیت انتشار: ${count} از ۱۱ شهر منتشر شده (${pct}٪)`; + document.getElementById('progressBarFill').style.width = pct + '%'; } function togglePosted(id) { @@ -757,24 +815,19 @@ function copyLink(link) { navigator.clipboard.writeText(link).then(() => { - showToast('لینک لندینگ شهر با موفقیت کپی شد! 🔗'); + showToast('لینک لندینگ شهر کپی شد! 🔗'); }); } - function downloadFull(e, id) { - // Trigger direct download of the high-res PNG if served alongside, else fallback to thumbnail - const link = e.currentTarget; - const fullUrl = 'stories/story_9_16/story_9_16_' + id + '.png'; - fetch(fullUrl, { method: 'HEAD' }).then(res => { - if (res.ok) { - const a = document.createElement('a'); - a.href = fullUrl; - a.download = 'story_ekeepa_' + id + '.png'; - document.body.appendChild(a); - a.click(); - a.remove(); - } - }).catch(() => {}); + function downloadZipFile(e) { + e.preventDefault(); + showToast('پکیج زیپ ۱۱ شهر در حال فراخوانی است... 📦'); + const a = document.createElement('a'); + a.href = 'stories/ekeepa_city_stories_9_16.zip'; + a.download = 'ekeepa_city_stories_9_16.zip'; + document.body.appendChild(a); + a.click(); + a.remove(); } function showToast(msg) { diff --git a/escape-cities.html b/escape-cities.html index d7234c8..50c968c 100644 --- a/escape-cities.html +++ b/escape-cities.html @@ -49,22 +49,31 @@ box-shadow: 0 10px 30px rgba(0,0,0,0.5); position: relative; } + .header-top { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 12px; + flex-wrap: wrap; + gap: 12px; + } .header-info-btn { - position: absolute; - top: 20px; - left: 20px; display: inline-flex; align-items: center; - justify-content: center; - width: 28px; - height: 28px; - border-radius: 50%; + gap: 6px; + padding: 6px 14px; + border-radius: 999px; background: rgba(139, 92, 246, 0.25); border: 1px solid var(--primary); color: #E9D5FF; font-weight: 700; cursor: pointer; font-size: 13px; + transition: all 0.2s; + } + .header-info-btn:hover { + background: var(--primary); + color: #FFF; } .badge { display: inline-flex; @@ -77,7 +86,24 @@ border-radius: 999px; font-size: 13px; font-weight: 600; - margin-bottom: 12px; + } + .btn-zip { + display: inline-flex; + align-items: center; + gap: 6px; + background: linear-gradient(135deg, #10B981 0%, #059669 100%); + color: #FFF; + padding: 6px 16px; + border-radius: 999px; + font-size: 13px; + font-weight: 700; + text-decoration: none; + box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); + transition: all 0.2s; + } + .btn-zip:hover { + filter: brightness(1.1); + transform: translateY(-1px); } h1 { font-size: 28px; @@ -109,13 +135,34 @@ align-items: center; gap: 6px; } + .progress-container { + margin-top: 18px; + display: flex; + flex-direction: column; + align-items: center; + gap: 8px; + } + .progress-bar-track { + width: 100%; + max-width: 480px; + height: 8px; + background: rgba(255, 255, 255, 0.1); + border-radius: 999px; + overflow: hidden; + position: relative; + } + .progress-bar-fill { + height: 100%; + width: 0%; + background: linear-gradient(90deg, #8B5CF6, #10B981); + border-radius: 999px; + transition: width 0.4s ease; + } .progress-pill { - margin-top: 14px; - display: inline-block; background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); color: #6EE7B7; - padding: 6px 16px; + padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; @@ -167,26 +214,27 @@ } .tag-city { position: absolute; - top: 14px; - right: 14px; - background: rgba(11, 7, 22, 0.85); + top: 12px; + right: 12px; + background: rgba(11, 7, 22, 0.88); backdrop-filter: blur(8px); color: #FFF; - padding: 6px 14px; - border-radius: 12px; + padding: 5px 12px; + border-radius: 10px; font-weight: 700; - font-size: 14px; - border: 1px solid rgba(255,255,255,0.2); - z-index: 2; + font-size: 13px; + border: 1px solid rgba(255,255,255,0.25); + z-index: 5; + white-space: nowrap; } .card-info-i { position: absolute; - top: 14px; - left: 14px; - width: 28px; - height: 28px; + top: 12px; + left: 12px; + width: 26px; + height: 26px; border-radius: 50%; - background: rgba(11, 7, 22, 0.85); + background: rgba(11, 7, 22, 0.88); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); color: #C4B5FD; @@ -194,20 +242,20 @@ align-items: center; justify-content: center; font-weight: 700; - font-size: 13px; + font-size: 12px; cursor: pointer; - z-index: 3; + z-index: 5; } .card-info-i:hover { background: var(--primary); color: #FFF; } .card-body { - padding: 18px; + padding: 16px; display: flex; flex-direction: column; flex-grow: 1; - gap: 12px; + gap: 10px; } .card-header-row { display: flex; @@ -216,16 +264,16 @@ gap: 8px; } .landmark-title { - font-size: 14px; + font-size: 13px; font-weight: 700; color: #E2E8F0; display: flex; align-items: center; - gap: 6px; + gap: 4px; } .status-toggle { - font-size: 12px; - padding: 4px 10px; + font-size: 11px; + padding: 4px 8px; border-radius: 8px; cursor: pointer; border: 1px solid rgba(255,255,255,0.2); @@ -282,9 +330,9 @@ align-items: center; justify-content: center; gap: 6px; - padding: 10px 12px; - border-radius: 12px; - font-size: 13px; + padding: 9px 10px; + border-radius: 10px; + font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; @@ -390,8 +438,11 @@
- -
🚀 استودیو محتوای اکیپا | غزل
+
+ +
🚀 استودیو محتوای اکیپا | غزل
+ 📦 دانلود پکیج زیپ ۱۱ شهر +

گالری استوری‌های شهری اتاق فرار (بنفش آبرنگی)

مجموعه ۱۱ تصویر استوری اختصاصی در سایز استاندارد 9:16 (1080×1920) با المان‌های معماری هر شهر، پالت آبرنگی بنفش و کادر درخشانِ شیشه‌ای خالی در پایین هر طرح برای قرار دادن استیکر لینک اینستاگرام. @@ -402,16 +453,21 @@

🏙️ ۱۱ کلان‌شهر فعال اکیپا
📊 لینک‌های استاندارد با UTM ترکینگ
-
وضعیت انتشار: ۰ از ۱۱ شهر منتشر شده
+
+
+
+
+
وضعیت انتشار: ۰ از ۱۱ شهر منتشر شده (۰٪)
+
-
+
تهران
- استوری تهران + استوری تهران
@@ -425,16 +481,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
کرج
- استوری کرج + استوری کرج
@@ -448,16 +504,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
مشهد
- استوری مشهد + استوری مشهد
@@ -471,16 +527,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
اصفهان
- استوری اصفهان + استوری اصفهان
@@ -494,16 +550,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
شیراز
- استوری شیراز + استوری شیراز
@@ -517,16 +573,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
رشت
- استوری رشت + استوری رشت
@@ -540,16 +596,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
تبریز
- استوری تبریز + استوری تبریز
@@ -563,16 +619,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
قم
- استوری قم + استوری قم
@@ -586,16 +642,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
کرمانشاه
- استوری کرمانشاه + استوری کرمانشاه
@@ -609,16 +665,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
یزد
- استوری یزد + استوری یزد
@@ -632,16 +688,16 @@
- ⬇️ دانلود + ⬇️ دانلود
-
+
اهواز
- استوری اهواز + استوری اهواز
@@ -655,7 +711,7 @@
- ⬇️ دانلود + ⬇️ دانلود
@@ -684,10 +740,10 @@ ۲. منطق تفکیک مسیرها: ۱۰ شهر دارای لندینگ اختصاصی /land/[slug] و اهواز دارای مسیر کاتالوگ شهری /s/ahvaz/escape-room هستند.

- ۳. ترکینگ UTM: تمامی لینک‌ها مجهز به utm_source=instagram&utm_medium=story&utm_campaign=city_escapes هستند. + ۳. ترکینگ UTM: تمامی لینک‌ها مجهز به utm_source=instagram&utm_medium=story&utm_campaign=city_escapes هستند تا ورودی‌ها به صورت ایزوله در متریک‌های کمپین رصد شوند.

- ۴. ذخیره‌سازی وضعیت: وضعیت انتشار هر شهر مستقیماً در دیتابیس PostgreSQL بک‌اند ذخیره می‌شود. + ۴. ذخیره‌سازی وضعیت: وضعیت انتشار هر شهر بدون اتکا به LocalStorage، مستقیماً در دیتابیس PostgreSQL بک‌اند (جدول dashboard_app_storage) ذخیره می‌شود.

@@ -740,7 +796,9 @@ btn.innerText = '⏳ در انتظار'; } }); - document.getElementById('progressPill').innerText = `وضعیت انتشار: ${count} از ۱۱ شهر منتشر شده`; + const pct = Math.round((count / ids.length) * 100); + document.getElementById('progressPill').innerText = `وضعیت انتشار: ${count} از ۱۱ شهر منتشر شده (${pct}٪)`; + document.getElementById('progressBarFill').style.width = pct + '%'; } function togglePosted(id) { @@ -757,24 +815,19 @@ function copyLink(link) { navigator.clipboard.writeText(link).then(() => { - showToast('لینک لندینگ شهر با موفقیت کپی شد! 🔗'); + showToast('لینک لندینگ شهر کپی شد! 🔗'); }); } - function downloadFull(e, id) { - // Trigger direct download of the high-res PNG if served alongside, else fallback to thumbnail - const link = e.currentTarget; - const fullUrl = 'stories/story_9_16/story_9_16_' + id + '.png'; - fetch(fullUrl, { method: 'HEAD' }).then(res => { - if (res.ok) { - const a = document.createElement('a'); - a.href = fullUrl; - a.download = 'story_ekeepa_' + id + '.png'; - document.body.appendChild(a); - a.click(); - a.remove(); - } - }).catch(() => {}); + function downloadZipFile(e) { + e.preventDefault(); + showToast('پکیج زیپ ۱۱ شهر در حال فراخوانی است... 📦'); + const a = document.createElement('a'); + a.href = 'stories/ekeepa_city_stories_9_16.zip'; + a.download = 'ekeepa_city_stories_9_16.zip'; + document.body.appendChild(a); + a.click(); + a.remove(); } function showToast(msg) {