parastoo-dashboards/dashboards/header-banner.html

531 lines
16 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>استودیو بنر و ویدیوی هدر بلک‌فرایدی اکیپا (دسکتاپ و موبایل)</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700;800;900&display=swap" rel="stylesheet">
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #141315;
color: #f1f5f9;
font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
padding: 32px 20px 80px;
display: flex;
flex-direction: column;
align-items: center;
gap: 36px;
}
.container {
width: 100%;
max-width: 1400px;
display: flex;
flex-direction: column;
gap: 32px;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
padding-bottom: 20px;
flex-wrap: wrap;
gap: 16px;
}
.brand-title {
display: flex;
align-items: center;
gap: 12px;
}
.badge-live {
background: rgba(53, 186, 177, 0.15);
border: 1px solid #35bab1;
color: #35bab1;
font-size: 12px;
font-weight: 700;
padding: 3px 10px;
border-radius: 20px;
}
.badge-mobile {
background: rgba(246, 149, 67, 0.15);
border: 1px solid #f69543;
color: #f69543;
font-size: 12px;
font-weight: 700;
padding: 3px 10px;
border-radius: 20px;
}
.card {
background: #1e1d21;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 14px;
padding: 24px;
display: flex;
flex-direction: column;
gap: 20px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 10px;
}
.card-title {
font-size: 16px;
font-weight: 700;
color: #ffffff;
display: flex;
align-items: center;
gap: 8px;
}
.info-tooltip {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
color: #94a3b8;
font-size: 11px;
font-weight: 700;
cursor: help;
}
.info-tooltip:hover .tooltip-box {
visibility: visible;
opacity: 1;
transform: translateY(0);
}
.tooltip-box {
visibility: hidden;
opacity: 0;
position: absolute;
bottom: 28px;
right: -80px;
width: 300px;
background: #2c2a2d;
border: 1px solid #6c5dad;
box-shadow: 0 10px 25px rgba(0,0,0,0.5);
border-radius: 8px;
padding: 12px 14px;
font-size: 12px;
line-height: 1.6;
color: #f1f5f9;
font-weight: 400;
z-index: 100;
transition: all 0.2s ease-in-out;
transform: translateY(6px);
pointer-events: none;
}
.tooltip-box::after {
content: '';
position: absolute;
bottom: -6px;
right: 84px;
border-width: 6px 6px 0;
border-style: solid;
border-color: #2c2a2d transparent transparent;
}
.preview-box {
width: 100%;
background: #0d0c0e;
border-radius: 8px;
padding: 16px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
overflow-x: auto;
gap: 12px;
}
.video-player {
width: 100%;
max-width: 1170px;
border-radius: 6px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
display: block;
background: #000;
}
.gif-player {
width: 100%;
max-width: 1170px;
border-radius: 6px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
display: block;
}
/* Mobile Viewport Simulation Mockup */
.mobile-mockup-wrapper {
display: flex;
justify-content: center;
padding: 20px 0;
}
.mobile-phone-frame {
width: 390px;
background: #18171a;
border: 3px solid #333138;
border-radius: 36px;
overflow: hidden;
box-shadow: 0 20px 50px rgba(0,0,0,0.7);
display: flex;
flex-direction: column;
}
.mobile-notch-bar {
height: 36px;
background: #18171a;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
font-size: 11px;
color: #94a3b8;
}
.mobile-topbanner-slot {
height: 56px;
width: 100%;
background-size: cover;
background-position: center;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.mobile-appbar-slot {
height: 54px;
background: #201e22;
border-bottom: 1px solid rgba(255,255,255,0.06);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16px;
color: #cbd5e1;
font-size: 13px;
}
.mobile-content-slot {
height: 180px;
background: #141315;
padding: 16px;
display: flex;
flex-direction: column;
gap: 10px;
}
.dummy-card {
height: 60px;
background: #201e22;
border-radius: 8px;
}
.download-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 16px;
}
.dl-btn {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
background: #27252a;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 10px;
color: #ffffff;
text-decoration: none;
font-size: 14px;
font-weight: 500;
transition: all 0.2s ease;
}
.dl-btn:hover {
background: #323037;
border-color: #35bab1;
transform: translateY(-2px);
}
.badge-ext {
font-size: 11px;
font-weight: 700;
padding: 4px 10px;
border-radius: 6px;
}
.badge-mp4 {
background: rgba(53, 186, 177, 0.2);
color: #35bab1;
border: 1px solid rgba(53, 186, 177, 0.4);
}
.badge-gif {
background: rgba(108, 93, 173, 0.25);
color: #a796e6;
border: 1px solid rgba(108, 93, 173, 0.4);
}
.badge-opt {
background: rgba(246, 149, 67, 0.2);
color: #f69543;
border: 1px solid rgba(246, 149, 67, 0.4);
}
.table-specs {
width: 100%;
border-collapse: collapse;
font-size: 13px;
margin-top: 10px;
}
.table-specs th, .table-specs td {
padding: 12px 14px;
text-align: right;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.table-specs th {
background: #252328;
color: #94a3b8;
font-weight: 700;
}
.table-specs tr:hover td {
background: rgba(255, 255, 255, 0.02);
}
</style>
</head>
<body>
<div class="container">
<header>
<div class="brand-title">
<h1>استودیو ویدیویی و متحرک هدر بلک‌فرایدی اکیپا</h1>
<span class="badge-mobile">نسخه ریسپانسیو موبایل ۱۱۷۰×۱۶۸</span>
<span class="badge-live">دسکتاپ ۱۴۰۰×۵۰</span>
<span class="badge-live" style="background: rgba(167, 150, 230, 0.2); border-color: #a796e6; color: #a796e6;">نشان سه‌بعدی درصد (%) در پلان ۲</span>
</div>
<div>
<span style="font-size: 13px; color: #94a3b8;">طراحی اختصاصی کانتینر TopBanner (۵۶px)</span>
</div>
</header>
<!-- CARD 1: MOBILE VIDEO PREVIEW (1170x168) -->
<div class="card">
<div class="card-header">
<span class="card-title">
📱 ۱. ویدیوی مستر نسخه موبایل (MP4 Video 1170x168 @ 30fps)
<span class="info-tooltip">i
<span class="tooltip-box">
<strong>نحوه محاسبه ابعاد:</strong> با توجه به ارتفاع ۵۶ پیکسلی کامپوننت TopBanner در فرانت‌اند سایت و عرض ۳۹۰ پیکسلی استاندارد نمایشگرهای رتینا (3x)، رزولوشن خروجی ۱۱۷۰ در ۱۶۸ پیکسل (نسبت ۲۱:۳) تنظیم شده تا بدون کمترین افت کیفیت و با بالاترین شفافیت متنی نمایش داده شود.
</span>
</span>
</span>
<span style="font-size: 12px; color: #35bab1; font-weight: 700;">H.264 | ۳۶۶ کیلوبایت | ۱۰ ثانیه لوپ</span>
</div>
<div class="preview-box">
<video class="video-player" autoplay loop muted playsinline controls>
<source src="header-banner-mobile.mp4" type="video/mp4">
مرورگر شما از پخش ویدیو پشتیبانی نمی‌کند.
</video>
</div>
</div>
<!-- CARD 2: MOBILE GIF PREVIEW (1170x168) -->
<div class="card">
<div class="card-header">
<span class="card-title">
✨ ۲. نسخه گیف متحرک موبایل (GIF 1170x168 @ 20fps)
<span class="info-tooltip">i
<span class="tooltip-box">
<strong>نحوه محاسبه پالت رنگ:</strong> استخراج پالت ۲۵۶ رنگ تطبیقی دو مرحله‌ای با الگوریتم Bayer Dithering در ffmpeg جهت بازتولید گرادینت شناور فیروزه‌ای (#35bab1) و بنفش (#6c5dad) بدون ایجاد نوارافتادگی (Color Banding).
</span>
</span>
</span>
<span style="font-size: 12px; color: #a796e6; font-weight: 700;">پالت ۲۵۶ رنگ | ۶.۲ مگابایت</span>
</div>
<div class="preview-box">
<img class="gif-player" src="header-banner-mobile.gif" alt="گیف هدر بلک فرایدی موبایل اکیپا">
</div>
</div>
<!-- CARD 3: MOBILE LIVE SIMULATOR -->
<div class="card">
<div class="card-header">
<span class="card-title">
📲 ۳. شبیه‌ساز زنده موبایل (Mobile Viewport Simulator - 390x844)
<span class="info-tooltip">i
<span class="tooltip-box">
<strong>نحوه رفتار در مرورگر موبایل:</strong> کامپوننت TopBanner.tsx دارای height: 56px و background-size: cover است. این شبیه‌ساز دقیقاً نحوه قرارگیری فایل گیف را داخل کادر ۵۶ پیکسلی یک گوشی آیفون با ناچ و نوار ابزار بالا نمایش می‌دهد.
</span>
</span>
</span>
</div>
<div class="mobile-mockup-wrapper">
<div class="mobile-phone-frame">
<div class="mobile-notch-bar">
<span>9:41</span>
<span>5G 🔋</span>
</div>
<!-- TOP BANNER 56PX IN MOBILE -->
<div class="mobile-topbanner-slot" style="background-image: url('header-banner-mobile.gif');">
</div>
<div class="mobile-appbar-slot">
<span style="font-weight: 800; color: #35bab1;">ekeepa</span>
<span style="font-size: 12px; color: #94a3b8;">🔍 جستجوی تفریحات...</span>
<span>☰</span>
</div>
<div class="mobile-content-slot">
<div class="dummy-card" style="height: 100px; background: #232126; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #64748b;">
اسلایدر صفحه اصلی (Home Slider)
</div>
<div class="dummy-card" style="height: 40px; background: #1c1b1f;"></div>
</div>
</div>
</div>
</div>
<!-- CARD 4: DESKTOP MASTER PREVIEWS -->
<div class="card">
<div class="card-header">
<span class="card-title">
🖥️ ۴. نسخه دسکتاپ (Master Desktop 1400x50)
<span class="info-tooltip">i
<span class="tooltip-box">
ویدیوی مستر مخصوص نمایشگرهای افقی لپ‌تاپ و دسکتاپ با نسبت عریض ۲۸:۱ و ارتفاع ۵۰ پیکسل.
</span>
</span>
</span>
<span style="font-size: 12px; color: #94a3b8;">1400x50px @ 30fps | ۱۵۰ کیلوبایت</span>
</div>
<div class="preview-box">
<video class="video-player" style="max-width: 1400px; height: 50px;" autoplay loop muted playsinline controls>
<source src="header-banner.mp4" type="video/mp4">
</video>
</div>
</div>
<!-- CARD 5: ASSET DOWNLOADS & SPECS -->
<div class="card">
<div class="card-header">
<span class="card-title">
📦 ۵. دانلود مستقیم فایل‌ها و شناسنامه بسته‌ها
<span class="info-tooltip">i
<span class="tooltip-box">
تمامی خروجی‌ها با متادیتای بهینه‌سازی شده در دسترس هستند. برای آپلود در پنل ادمین اکیپا در فیلد mobile_url از فایل‌های ۱۱۷۰x۱۶۸ و در desktop_url از ۱۴۰۰x۵۰ استفاده کنید.
</span>
</span>
</span>
</div>
<div class="download-grid">
<a href="header-banner-mobile.mp4" download class="dl-btn">
<span>دانلود ویدیوی موبایل (MP4)</span>
<span class="badge-ext badge-mp4">1170x168 | 483 KB</span>
</a>
<a href="header-banner-mobile.gif" download class="dl-btn">
<span>دانلود گیف موبایل رتینا (GIF 20fps)</span>
<span class="badge-ext badge-gif">1170x168 | 6.9 MB</span>
</a>
<a href="header-banner-mobile-2x.gif" download class="dl-btn">
<span>دانلود گیف بهینه موبایل (GIF 15fps)</span>
<span class="badge-ext badge-opt">780x112 | 3.1 MB</span>
</a>
<a href="header-banner.mp4" download class="dl-btn">
<span>دانلود ویدیوی دسکتاپ (MP4)</span>
<span class="badge-ext badge-mp4">1400x50 | 255 KB</span>
</a>
<a href="header-banner.gif" download class="dl-btn">
<span>دانلود گیف دسکتاپ (GIF)</span>
<span class="badge-ext badge-gif">1400x50 | 2.6 MB</span>
</a>
</div>
<table class="table-specs">
<thead>
<tr>
<th>عنوان خروجی</th>
<th>نوع فایل</th>
<th>ابعاد پیکسل</th>
<th>فریم‌ریت</th>
<th>حجم</th>
<th>جایگاه در بک‌اند اکیپا</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>ویدیوی موبایل (پیشنهادی وب)</strong></td>
<td>MP4 (H.264)</td>
<td>1170 × 168</td>
<td>30 fps</td>
<td>483 KB</td>
<td>mobile_video / mobile_url</td>
</tr>
<tr>
<td><strong>گیف موبایل (کیفیت رتینا 3x)</strong></td>
<td>GIF (256-color)</td>
<td>1170 × 168</td>
<td>20 fps</td>
<td>6.9 MB</td>
<td>mobile_url (High DPI)</td>
</tr>
<tr>
<td><strong>گیف موبایل سبک (بهینه 2x)</strong></td>
<td>GIF (256-color)</td>
<td>780 × 112</td>
<td>15 fps</td>
<td>3.1 MB</td>
<td>mobile_url (Fast Load)</td>
</tr>
<tr>
<td><strong>ویدیوی دسکتاپ</strong></td>
<td>MP4 (H.264)</td>
<td>1400 × 50</td>
<td>30 fps</td>
<td>255 KB</td>
<td>desktop_url</td>
</tr>
<tr>
<td><strong>گیف دسکتاپ</strong></td>
<td>GIF</td>
<td>1400 × 50</td>
<td>20 fps</td>
<td>2.6 MB</td>
<td>desktop_url</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>