parastoo-dashboards/ekeepa-carousel.html

209 lines
13 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="stylesheet" href="https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css">
<script src="https://cdn.tailwindcss.com"></script>
<style>
body {
font-family: 'Vazirmatn', sans-serif;
background-color: #0B0F19;
color: #F8FAFC;
}
.slide-card {
width: 480px;
height: 600px;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.ekeepa-gradient {
background: linear-gradient(135deg, #1E1235 0%, #0F172A 100%);
}
.ekeepa-purple {
color: #A855F7;
}
.bg-ekeepa-purple {
background-color: #7E22CE;
}
</style>
</head>
<body class="flex flex-col items-center justify-center min-h-screen p-4">
<!-- نوار راهنما و هدر -->
<header class="w-full max-w-4xl flex items-center justify-between mb-6 pb-4 border-b border-slate-800">
<div>
<span class="inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-xs font-medium bg-purple-900/60 text-purple-300 border border-purple-700/50">
<span class="w-2 h-2 rounded-full bg-purple-400 animate-pulse"></span>
قالب رسمی اسلایدر لینکدین اکیپا (B2B Stealth)
</span>
<h1 class="text-xl font-bold text-slate-100 mt-2">طراحی کاروسل سناریوی «سندرم کک در شیشه»</h1>
</div>
<div class="flex items-center gap-2">
<span class="text-xs text-slate-400 bg-slate-900 px-3 py-1.5 rounded-lg border border-slate-800 flex items-center gap-1">
<svg class="w-4 h-4 text-purple-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
اندازه بهینه‌شده: ۴:۵ لینکدین
</span>
</div>
</header>
<!-- نمایشگر اسلاید مرکزی -->
<div class="relative flex flex-col items-center">
<!-- اسلاید اصلی -->
<div id="carousel-viewport" class="slide-card ekeepa-gradient rounded-3xl p-10 flex flex-col justify-between shadow-2xl border border-purple-900/40 relative overflow-hidden">
<!-- پس‌زمینه المان گرافیکی نئونی -->
<div class="absolute -top-24 -right-24 w-64 h-64 bg-purple-600/10 rounded-full blur-3xl pointer-events-none"></div>
<div class="absolute -bottom-24 -left-24 w-64 h-64 bg-fuchsia-600/10 rounded-full blur-3xl pointer-events-none"></div>
<!-- هدر اسلاید -->
<div class="flex items-center justify-between relative z-10">
<div class="flex items-center gap-2">
<div class="w-8 h-8 rounded-lg bg-gradient-to-tr from-purple-600 to-fuchsia-500 flex items-center justify-center font-black text-white text-sm shadow-md">
ek
</div>
<span class="text-sm font-semibold tracking-wide text-slate-300">ekeepa | اکیپا</span>
</div>
<span id="slide-indicator" class="text-xs font-mono font-bold px-2.5 py-1 rounded-md bg-slate-800/80 text-purple-400 border border-purple-800/40">1 / 6</span>
</div>
<!-- محتوای اسلاید -->
<div id="slide-content" class="my-auto relative z-10 transition-opacity duration-300">
<!-- بارگذاری با اسکریپت -->
</div>
<!-- فوتر اسلاید -->
<div class="pt-4 border-t border-slate-800/80 flex items-center justify-between text-xs text-slate-400 relative z-10">
<span class="flex items-center gap-1.5">
<svg class="w-3.5 h-3.5 text-purple-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"></path></svg>
فرهنگ کار و ارتباط تیمی
</span>
<span class="text-slate-500 font-mono">swipe ❯</span>
</div>
</div>
<!-- کنترل‌ها و ناوبری -->
<div class="flex items-center gap-4 mt-6">
<button onclick="prevSlide()" class="p-3 rounded-full bg-slate-900 border border-slate-800 text-slate-200 hover:bg-purple-950/50 hover:border-purple-600 transition flex items-center justify-center shadow-lg">
<svg class="w-5 h-5 rotate-180" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M9 5l7 7-7 7"></path></svg>
</button>
<div id="dots-container" class="flex gap-2"></div>
<button onclick="nextSlide()" class="p-3 rounded-full bg-slate-900 border border-slate-800 text-slate-200 hover:bg-purple-950/50 hover:border-purple-600 transition flex items-center justify-center shadow-lg">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M9 5l7 7-7 7"></path></svg>
</button>
</div>
</div>
<!-- راهنمای متودولوژی و استقرار -->
<div class="w-full max-w-4xl mt-10 bg-slate-900/60 border border-slate-800 rounded-2xl p-6 text-sm">
<h3 class="font-bold text-purple-300 flex items-center gap-2 mb-3">
<svg class="w-4 h-4 text-purple-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path></svg>
دستورالعمل اجرایی انتشار این کاروسل در لینکدین:
</h3>
<ul class="space-y-2 text-slate-300 list-disc list-inside">
<li><strong>تایمینگ انتشار:</strong> سه‌شنبه یا چهارشنبه ساعت ۹:۳۰ الی ۱۰:۳۰ صبح (زمان پیک تعامل مدیران در لینکدین فارسی).</li>
<li><strong>فرمت فایل لینکدین:</strong> ذخیره به صورت PDF چندصفحه‌ای برای فعال شدن قابلیت کاروسل خودکار اسلایدی.</li>
<li><strong>کامنت اول الزامی:</strong> قرار دادن لینک لید مگنت (چک‌لیست سنجش سلامت ارتباطی تیم) ۳ دقیقه پس از انتشار پست اصلی.</li>
</ul>
</div>
<script>
const slides = [
{
type: 'cover',
badge: 'مدیریت و رفتار سازمانی',
title: 'سندرم کک در شیشه!',
highlight: 'چرا بهترین نیروهای یک تیم، کم‌کم پرواز یادشان می‌رود؟',
text: 'پشت مانیتورهای آرام شرکت‌ها، چه بحران خاموشی در حال رخ دادن است؟'
},
{
type: 'story',
badge: 'یک آزمایش تجربی',
title: 'پریدن تا سقف فرضی',
text: 'زیست‌شناس‌ها کک‌ها را در شیشه‌ای دردار گذاشتند. کک‌ها مدام پریدند و سرشان به درپوش خورد.<br><br>چند روز بعد، درِ شیشه را برداشتند...<br><span class="text-purple-400 font-bold">اما هیچ ککی دیگر بالاتر از ارتفاع آن ظرف نپرید!</span><br><br>سقف برداشته شده بود، اما حافظه حسی‌شان پذیرفته بود که پرواز یعنی شکست.'
},
{
type: 'insight',
badge: 'در سازمان چه می‌گذرد؟',
title: 'دیوارهای نامرئی دفتر کار',
text: 'نیروهای خلاقی که با دنیایی انگیزه می‌آیند، بعد از ماه‌ها جلسات مکرر، تسک‌های خشک و سکوت‌های طولانی، به همان کک‌های درون شیشه تبدیل می‌شوند.<br><br>آن‌ها استعدادشان را از دست نداده‌اند؛ فقط باور کرده‌اند فراتر از روتین، فضایی برای تنفس نیست.'
},
{
type: 'quote',
badge: 'صدای خاموش کارمند',
title: '«من فقط یک کد کاربری‌ام!»',
text: '«من کارم را خوب انجام می‌دهم، حقوقم هم بد نیست؛ اما حس می‌کنم فقط یک آی‌دی آنلاینم که ۹ صبح روشن می‌شود و ۶ عصر خاموش.»<br><br>آدم‌ها از کار کردن خسته نیستند؛ از <span class="text-purple-400 font-bold">«تنهایی در جمع همکاران»</span> فرسوده‌اند.'
},
{
type: 'solution',
badge: 'راهکار واقعی چیست؟',
title: 'شکستن سقف شیشه‌ای',
text: 'برای احیای تیم، به سخنرانی انگیزشی یا جلسات بازخورد رسمی نیاز ندارید.<br><br>باید بستر تجربه‌ای بسازید که نقاب‌های رسمی بیفتد؛ جایی که آدم‌ها به چشم هم نگاه کنند، با هم به اشتباهات بخندند و دست‌هایشان کنار هم درگیر یک چالش شود.'
},
{
type: 'conclusion',
badge: 'همدلی تیمی',
title: 'پایان روتین، آغاز ارتباط',
highlight: 'تیمی که بلد باشد کنار هم بازی کند، سخت‌ترین بحران‌ها را با هم پشت سر می‌گذارد.',
text: 'چقدر در سازمان‌تان فرصت خلق چنین لحظات زنده‌ای را فراهم کرده‌اید؟'
}
];
let currentIndex = 0;
function renderSlide() {
const slide = slides[currentIndex];
const content = document.getElementById('slide-content');
const indicator = document.getElementById('slide-indicator');
indicator.innerText = `${currentIndex + 1} / ${slides.length}`;
let html = `
<div class="mb-3">
<span class="text-xs uppercase tracking-wider font-bold text-purple-400 bg-purple-950/60 px-3 py-1 rounded-full border border-purple-800/50">${slide.badge}</span>
</div>
<h2 class="text-2xl font-black text-white leading-tight mb-4">${slide.title}</h2>
`;
if (slide.highlight) {
html += `<div class="p-4 rounded-xl bg-purple-900/20 border-r-4 border-purple-500 mb-4 text-purple-200 font-bold text-base leading-relaxed">${slide.highlight}</div>`;
}
html += `<p class="text-slate-300 text-sm leading-relaxed">${slide.text}</p>`;
content.innerHTML = html;
renderDots();
}
function renderDots() {
const container = document.getElementById('dots-container');
container.innerHTML = '';
slides.forEach((_, idx) => {
const dot = document.createElement('div');
dot.className = `h-2 rounded-full transition-all duration-300 ${idx === currentIndex ? 'w-6 bg-purple-500' : 'w-2 bg-slate-800'}`;
container.appendChild(dot);
});
}
function nextSlide() {
currentIndex = (currentIndex + 1) % slides.length;
renderSlide();
}
function prevSlide() {
currentIndex = (currentIndex - 1 + slides.length) % slides.length;
renderSlide();
}
// ناوبری با کلیدهای کیبورد
document.addEventListener('keydown', (e) => {
if (e.key === 'ArrowLeft') nextSlide();
if (e.key === 'ArrowRight') prevSlide();
});
renderSlide();
</script>
</body>
</html>