649 lines
25 KiB
HTML
649 lines
25 KiB
HTML
<!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>
|
||
<style>
|
||
@font-face {
|
||
font-family: 'Peyda';
|
||
src: url('./assets/fonts/PeydaWeb-Regular.woff2') format('woff2');
|
||
font-weight: 400;
|
||
font-style: normal;
|
||
}
|
||
@font-face {
|
||
font-family: 'Peyda';
|
||
src: url('./assets/fonts/PeydaWeb-Medium.woff2') format('woff2');
|
||
font-weight: 500;
|
||
font-style: normal;
|
||
}
|
||
@font-face {
|
||
font-family: 'Peyda';
|
||
src: url('./assets/fonts/PeydaWeb-SemiBold.woff2') format('woff2');
|
||
font-weight: 600;
|
||
font-style: normal;
|
||
}
|
||
@font-face {
|
||
font-family: 'Peyda';
|
||
src: url('./assets/fonts/PeydaWeb-Bold.woff2') format('woff2');
|
||
font-weight: 700;
|
||
font-style: normal;
|
||
}
|
||
@font-face {
|
||
font-family: 'Peyda';
|
||
src: url('./assets/fonts/PeydaWeb-Black.woff2') format('woff2');
|
||
font-weight: 900;
|
||
font-style: normal;
|
||
}
|
||
|
||
:root {
|
||
--bg-lavender: #c2b5d8;
|
||
--bg-light: #cdc0e2;
|
||
--purple-dark: #31184d;
|
||
--purple-deep: #220f38;
|
||
--purple-ribbon: #5c3582;
|
||
--text-dark: #20172e;
|
||
--accent-yellow: #f8c94e;
|
||
--white: #ffffff;
|
||
}
|
||
|
||
* {
|
||
box-sizing: border-box;
|
||
margin: 0;
|
||
padding: 0;
|
||
font-family: 'Peyda', sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
}
|
||
|
||
body {
|
||
background-color: #1a1523;
|
||
color: #fff;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-height: 100vh;
|
||
padding: 24px;
|
||
}
|
||
|
||
.header-panel {
|
||
text-align: center;
|
||
margin-bottom: 20px;
|
||
max-width: 600px;
|
||
}
|
||
|
||
.header-panel h1 {
|
||
font-size: 24px;
|
||
font-weight: 700;
|
||
color: #d8cbeb;
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.header-panel p {
|
||
font-size: 14px;
|
||
color: #a496bd;
|
||
}
|
||
|
||
.carousel-wrapper {
|
||
position: relative;
|
||
width: 100%;
|
||
max-width: 440px;
|
||
height: 550px;
|
||
perspective: 1000px;
|
||
}
|
||
|
||
.slide-card {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
background: linear-gradient(175deg, #c7bae0 0%, #baaccd 100%);
|
||
border-radius: 20px;
|
||
box-shadow: 0 20px 40px rgba(0,0,0,0.4);
|
||
padding: 32px 28px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: space-between;
|
||
overflow: hidden;
|
||
opacity: 0;
|
||
transform: translateX(40px) scale(0.96);
|
||
pointer-events: none;
|
||
transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
|
||
}
|
||
|
||
.slide-card.active {
|
||
opacity: 1;
|
||
transform: translateX(0) scale(1);
|
||
pointer-events: auto;
|
||
z-index: 10;
|
||
}
|
||
|
||
/* واترمارک بزرگ انگلیسی پسزمینه */
|
||
.watermark {
|
||
position: absolute;
|
||
top: 60px;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
font-size: 50px;
|
||
font-weight: 900;
|
||
color: rgba(255, 255, 255, 0.28);
|
||
letter-spacing: 4px;
|
||
text-transform: uppercase;
|
||
white-space: nowrap;
|
||
z-index: 1;
|
||
user-select: none;
|
||
font-family: Arial, Helvetica, sans-serif;
|
||
}
|
||
|
||
/* نوار تزئینی روبان بنفش اکیپا */
|
||
.ribbon-svg {
|
||
position: absolute;
|
||
bottom: -15px;
|
||
left: -15px;
|
||
width: 180px;
|
||
height: 180px;
|
||
z-index: 2;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.ribbon-right {
|
||
left: auto;
|
||
right: -20px;
|
||
bottom: -20px;
|
||
transform: rotate(90deg);
|
||
}
|
||
|
||
/* هدر اسلاید: لوگوی اکیپا و شماره اسلاید */
|
||
.slide-top {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: flex-start;
|
||
position: relative;
|
||
z-index: 5;
|
||
}
|
||
|
||
.logo-box {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.logo-text {
|
||
color: #ffffff;
|
||
font-size: 26px;
|
||
font-weight: 900;
|
||
letter-spacing: -0.5px;
|
||
text-shadow: 0 1px 3px rgba(0,0,0,0.15);
|
||
}
|
||
|
||
.slide-num {
|
||
font-size: 44px;
|
||
font-weight: 900;
|
||
color: #ffffff;
|
||
line-height: 1;
|
||
text-shadow: 0 1px 3px rgba(0,0,0,0.12);
|
||
}
|
||
|
||
/* محتوای میانی متنی */
|
||
.slide-body {
|
||
position: relative;
|
||
z-index: 5;
|
||
margin-top: 10px;
|
||
}
|
||
|
||
.headline {
|
||
color: var(--purple-dark);
|
||
font-size: 24px;
|
||
font-weight: 900;
|
||
line-height: 1.45;
|
||
margin-bottom: 14px;
|
||
}
|
||
|
||
.headline .kashida {
|
||
letter-spacing: 2px;
|
||
}
|
||
|
||
.body-text {
|
||
color: var(--text-dark);
|
||
font-size: 15px;
|
||
line-height: 1.8;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.bullet-list {
|
||
list-style: none;
|
||
margin: 10px 0;
|
||
}
|
||
|
||
.bullet-list li {
|
||
position: relative;
|
||
padding-right: 18px;
|
||
margin-bottom: 8px;
|
||
font-size: 14.5px;
|
||
font-weight: 600;
|
||
color: var(--purple-deep);
|
||
}
|
||
|
||
.bullet-list li::before {
|
||
content: "•";
|
||
position: absolute;
|
||
right: 0;
|
||
top: 0;
|
||
color: var(--purple-dark);
|
||
font-size: 20px;
|
||
line-height: 1;
|
||
}
|
||
|
||
.highlight-box {
|
||
background: rgba(255, 255, 255, 0.45);
|
||
border-right: 4px solid var(--purple-dark);
|
||
padding: 10px 14px;
|
||
border-radius: 8px;
|
||
margin-top: 12px;
|
||
font-weight: 600;
|
||
font-size: 14px;
|
||
color: var(--purple-dark);
|
||
}
|
||
|
||
/* بخش پایینی: تصویرسازی و دکمه ناوبری */
|
||
.slide-footer {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: flex-end;
|
||
position: relative;
|
||
z-index: 5;
|
||
min-height: 120px;
|
||
}
|
||
|
||
.illustration-area {
|
||
flex: 1;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.illus-svg {
|
||
max-width: 220px;
|
||
height: auto;
|
||
}
|
||
|
||
/* دکمه ناوبری گرد سفید با فلش ارغوانی */
|
||
.next-circle-btn {
|
||
width: 44px;
|
||
height: 44px;
|
||
background: #ffffff;
|
||
border-radius: 50%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
cursor: pointer;
|
||
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
|
||
transition: transform 0.2s, background 0.2s;
|
||
border: none;
|
||
outline: none;
|
||
flex-shrink: 0;
|
||
margin-right: auto;
|
||
}
|
||
|
||
.next-circle-btn:hover {
|
||
transform: scale(1.08);
|
||
background: #fdfdfd;
|
||
}
|
||
|
||
.next-circle-btn svg {
|
||
width: 20px;
|
||
height: 20px;
|
||
fill: var(--purple-dark);
|
||
transform: rotate(180deg); /* جهت فلش راست برای RTL */
|
||
}
|
||
|
||
/* کنترلهای زیر اسلایدر */
|
||
.controls-bar {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
width: 100%;
|
||
max-width: 440px;
|
||
margin-top: 20px;
|
||
}
|
||
|
||
.dots-container {
|
||
display: flex;
|
||
gap: 8px;
|
||
}
|
||
|
||
.dot {
|
||
width: 10px;
|
||
height: 10px;
|
||
border-radius: 50%;
|
||
background: rgba(255, 255, 255, 0.3);
|
||
cursor: pointer;
|
||
transition: all 0.3s;
|
||
}
|
||
|
||
.dot.active {
|
||
width: 28px;
|
||
border-radius: 6px;
|
||
background: #c7bae0;
|
||
}
|
||
|
||
.nav-btn {
|
||
background: #2a2238;
|
||
color: #dcd0ef;
|
||
border: 1px solid #4a3d60;
|
||
padding: 8px 16px;
|
||
border-radius: 8px;
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
transition: all 0.2s;
|
||
}
|
||
|
||
.nav-btn:hover {
|
||
background: #3e3254;
|
||
color: #fff;
|
||
}
|
||
|
||
/* راهنما و توضیحات محاسبه C-Level بر اساس قواعد UI */
|
||
.info-card {
|
||
background: #231c30;
|
||
border: 1px solid #3c2f52;
|
||
border-radius: 12px;
|
||
padding: 16px 20px;
|
||
max-width: 440px;
|
||
margin-top: 24px;
|
||
font-size: 13px;
|
||
color: #b8abd0;
|
||
line-height: 1.7;
|
||
}
|
||
|
||
.info-card strong {
|
||
color: #f8c94e;
|
||
display: block;
|
||
margin-bottom: 4px;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
|
||
<div class="header-panel">
|
||
<h1>کاروسل لینکدین اکیپا — سبک رسمی (فونت Peyda)</h1>
|
||
<p>سناریوی اصلاحشده «سندرم کک در شیشه» با حفظ کانسپت و تایپوگرافی اکیپا</p>
|
||
</div>
|
||
|
||
<div class="carousel-wrapper" id="carousel">
|
||
|
||
<!-- اسلاید ۱: کاور / قلاب -->
|
||
<div class="slide-card active" data-index="1">
|
||
<div class="watermark">FREEDOM</div>
|
||
<!-- روبان بنفش -->
|
||
<svg class="ribbon-svg" viewBox="0 0 100 100">
|
||
<path d="M 0 80 Q 40 40 80 90 Q 95 110 110 80" fill="none" stroke="#5c3582" stroke-width="14" stroke-linecap="round"/>
|
||
</svg>
|
||
<div class="slide-top">
|
||
<div class="logo-box">
|
||
<span class="logo-text">اکیپا</span>
|
||
</div>
|
||
<div class="slide-num">۱</div>
|
||
</div>
|
||
<div class="slide-body">
|
||
<h2 class="headline">سندرم کک در شیشـــــه...</h2>
|
||
<p class="body-text">
|
||
چرا بهترین و بااستعدادترین نیروهای سازمان،<br>
|
||
بعد از مدتی دیگر دست به هیچ جسارت یا خلاقیتی نمیزنند؟
|
||
</p>
|
||
<div class="highlight-box">
|
||
آیا تواناییشان تحلیل رفته، یا «سقف فرضی» پذیرفتهاند؟
|
||
</div>
|
||
</div>
|
||
<div class="slide-footer">
|
||
<div class="illustration-area">
|
||
<!-- کاراکترهای سبک اکیپا -->
|
||
<svg class="illus-svg" viewBox="0 0 200 120">
|
||
<ellipse cx="60" cy="110" rx="40" ry="8" fill="rgba(0,0,0,0.1)"/>
|
||
<circle cx="60" cy="40" r="16" fill="#31184d"/>
|
||
<rect x="48" y="58" width="24" height="42" rx="6" fill="#ffffff"/>
|
||
<path d="M48 65 L30 85" stroke="#31184d" stroke-width="6" stroke-linecap="round"/>
|
||
<path d="M72 65 L85 80" stroke="#31184d" stroke-width="6" stroke-linecap="round"/>
|
||
<!-- جام شیشهای با کک نمادین -->
|
||
<path d="M 120 20 L 170 20 L 165 95 L 125 95 Z" fill="none" stroke="#31184d" stroke-width="4" stroke-linejoin="round"/>
|
||
<ellipse cx="145" cy="20" rx="25" ry="6" fill="rgba(255,255,255,0.6)" stroke="#31184d" stroke-width="3"/>
|
||
<circle cx="145" cy="55" r="5" fill="#f8c94e"/>
|
||
<path d="M 145 60 L 145 75" stroke="#31184d" stroke-width="2" stroke-dasharray="3,3"/>
|
||
</svg>
|
||
</div>
|
||
<button class="next-circle-btn" onclick="nextSlide()" title="اسلاید بعد">
|
||
<svg viewBox="0 0 24 24"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- اسلاید ۲: آزمایش علمی -->
|
||
<div class="slide-card" data-index="2">
|
||
<div class="watermark">EXPERIMENT</div>
|
||
<svg class="ribbon-svg ribbon-right" viewBox="0 0 100 100">
|
||
<path d="M 0 80 Q 50 30 90 90" fill="none" stroke="#5c3582" stroke-width="12" stroke-linecap="round"/>
|
||
</svg>
|
||
<div class="slide-top">
|
||
<div class="logo-box">
|
||
<span class="logo-text">اکیپا</span>
|
||
</div>
|
||
<div class="slide-num">۲</div>
|
||
</div>
|
||
<div class="slide-body">
|
||
<h2 class="headline">وقتی درپوش برداشته شـــــد:</h2>
|
||
<p class="body-text">
|
||
ککها را داخل شیشهای دردار گذاشتند.<br>
|
||
آنها مدام میپریدند و سرشان به درپوش میخورد.
|
||
</p>
|
||
<ul class="bullet-list">
|
||
<li>چند روز بعد، درپوش شیشه را برداشتند...</li>
|
||
<li>اما هیچ ککی دیگر بالاتر از آن ارتفاع نپرید!</li>
|
||
</ul>
|
||
<div class="highlight-box">
|
||
سقف فیزیکی حذف شده بود، اما سقف ذهنی باقی ماند.
|
||
</div>
|
||
</div>
|
||
<div class="slide-footer">
|
||
<div class="illustration-area">
|
||
<svg class="illus-svg" viewBox="0 0 200 120">
|
||
<!-- سه فیگور متعجب -->
|
||
<circle cx="50" cy="45" r="14" fill="#31184d"/>
|
||
<rect x="40" y="60" width="20" height="35" rx="5" fill="#5c3582"/>
|
||
<circle cx="100" cy="38" r="15" fill="#31184d"/>
|
||
<rect x="88" y="55" width="24" height="40" rx="5" fill="#ffffff"/>
|
||
<!-- علامت تعجب طلایی -->
|
||
<text x="145" y="70" font-size="44" font-weight="900" fill="#f8c94e" font-family="'Peyda', sans-serif">؟</text>
|
||
</svg>
|
||
</div>
|
||
<button class="next-circle-btn" onclick="nextSlide()" title="اسلاید بعد">
|
||
<svg viewBox="0 0 24 24"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- اسلاید ۳: درد پنهان در سازمان -->
|
||
<div class="slide-card" data-index="3">
|
||
<div class="watermark">ROUTINE</div>
|
||
<svg class="ribbon-svg" viewBox="0 0 100 100">
|
||
<path d="M 10 90 Q 60 40 100 80" fill="none" stroke="#5c3582" stroke-width="12" stroke-linecap="round"/>
|
||
</svg>
|
||
<div class="slide-top">
|
||
<div class="logo-box">
|
||
<span class="logo-text">اکیپا</span>
|
||
</div>
|
||
<div class="slide-num">۳</div>
|
||
</div>
|
||
<div class="slide-body">
|
||
<h2 class="headline">در سازمان ما چه میگـــــذرد؟</h2>
|
||
<p class="body-text">
|
||
جلسات آنلاین مکرر، تسکهای خشک روزمره و محصور شدن پشت قاب مانیتور...
|
||
</p>
|
||
<div class="highlight-box">
|
||
«من کارم را دوست دارم، اما حس میکنم فقط یک کد کاربریام که ۹ صبح آنلاین و ۶ عصر آفلاین میشود.»
|
||
</div>
|
||
<p class="body-text" style="margin-top:10px; font-weight:700; color:var(--purple-dark);">
|
||
آدمها از کار خسته نیستند؛ از بیگانگی با هم خستهاند.
|
||
</p>
|
||
</div>
|
||
<div class="slide-footer">
|
||
<div class="illustration-area">
|
||
<svg class="illus-svg" viewBox="0 0 200 120">
|
||
<!-- میز و مانیتور و کارمند خسته -->
|
||
<rect x="30" y="80" width="140" height="8" rx="3" fill="#31184d"/>
|
||
<rect x="70" y="45" width="45" height="30" rx="4" fill="#ffffff" stroke="#31184d" stroke-width="3"/>
|
||
<rect x="88" y="75" width="10" height="6" fill="#31184d"/>
|
||
<circle cx="135" cy="55" r="14" fill="#31184d"/>
|
||
<path d="M 125 72 L 145 72" stroke="#5c3582" stroke-width="14" stroke-linecap="round"/>
|
||
</svg>
|
||
</div>
|
||
<button class="next-circle-btn" onclick="nextSlide()" title="اسلاید بعد">
|
||
<svg viewBox="0 0 24 24"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- اسلاید ۴: بینش رفتاری (نه راهحل یا پکیج) -->
|
||
<div class="slide-card" data-index="4">
|
||
<div class="watermark">TOGETHER</div>
|
||
<svg class="ribbon-svg ribbon-right" viewBox="0 0 100 100">
|
||
<path d="M 20 90 Q 70 20 110 80" fill="none" stroke="#5c3582" stroke-width="12" stroke-linecap="round"/>
|
||
</svg>
|
||
<div class="slide-top">
|
||
<div class="logo-box">
|
||
<span class="logo-text">اکیپا</span>
|
||
</div>
|
||
<div class="slide-num">۴</div>
|
||
</div>
|
||
<div class="slide-body">
|
||
<h2 class="headline">سقف چطور شکسته میشـــــود؟</h2>
|
||
<p class="body-text">
|
||
جلسات سخنرانی انگیزشی این سقف را برنمیدارد.
|
||
</p>
|
||
<ul class="bullet-list">
|
||
<li>وقتی عنوانهای شغلی برای چند ساعت کمرنگ شوند.</li>
|
||
<li>وقتی در یک چالش تیمی، فرصت اشتباه بدون قضاوت باشد.</li>
|
||
<li>وقتی آدمها فراتر از تسکها و KPI، هم را زندگی کنند.</li>
|
||
</ul>
|
||
<div class="highlight-box">
|
||
اعتماد تیمی، خروجی گزارشها نیست؛ ثمره تجربههای مشترک است.
|
||
</div>
|
||
</div>
|
||
<div class="slide-footer">
|
||
<div class="illustration-area">
|
||
<svg class="illus-svg" viewBox="0 0 200 120">
|
||
<!-- سه فیگور در حال ساخت پازل مشترک -->
|
||
<circle cx="45" cy="40" r="14" fill="#31184d"/>
|
||
<rect x="35" y="55" width="20" height="35" rx="5" fill="#f8c94e"/>
|
||
<circle cx="100" cy="35" r="15" fill="#31184d"/>
|
||
<rect x="88" y="52" width="24" height="38" rx="5" fill="#ffffff"/>
|
||
<circle cx="155" cy="40" r="14" fill="#31184d"/>
|
||
<rect x="145" y="55" width="20" height="35" rx="5" fill="#5c3582"/>
|
||
<!-- پازل دستهجمعی -->
|
||
<rect x="75" y="85" width="50" height="15" rx="4" fill="#31184d"/>
|
||
</svg>
|
||
</div>
|
||
<button class="next-circle-btn" onclick="nextSlide()" title="اسلاید بعد">
|
||
<svg viewBox="0 0 24 24"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- اسلاید ۵: نتیجهگیری فکری و دوراهی مدیریتی (بدون تبلیغ) -->
|
||
<div class="slide-card" data-index="5">
|
||
<div class="watermark">QUESTION</div>
|
||
<svg class="ribbon-svg" viewBox="0 0 100 100">
|
||
<path d="M 0 70 Q 50 30 100 90" fill="none" stroke="#5c3582" stroke-width="14" stroke-linecap="round"/>
|
||
</svg>
|
||
<div class="slide-top">
|
||
<div class="logo-box">
|
||
<span class="logo-text">اکیپا</span>
|
||
</div>
|
||
<div class="slide-num">۵</div>
|
||
</div>
|
||
<div class="slide-body">
|
||
<h2 class="headline">یک دوراهی واقعـــــی:</h2>
|
||
<p class="body-text">
|
||
وقتی کارمند بااستعدادی بعد از چند ماه به یک مجری بیتفاوت تبدیل میشود:
|
||
</p>
|
||
<div class="highlight-box">
|
||
آیا او انگیزه اولیهاش را از دست داده،<br>
|
||
یا ناخودآگاه ارتفاع شیشه سازمان ما را پذیرفته است؟
|
||
</div>
|
||
<p class="body-text" style="margin-top:14px; font-weight:700; color:var(--purple-dark);">
|
||
شما در تیمتان برای این سقفهای نامرئی چه فکری کردهاید؟
|
||
</p>
|
||
</div>
|
||
<div class="slide-footer">
|
||
<div class="illustration-area">
|
||
<p style="font-size:13px; color:var(--purple-dark); font-weight:600; text-align:center;">
|
||
💬 تجربه مشابهی در تیمتان داشتهاید؟
|
||
</p>
|
||
</div>
|
||
<button class="next-circle-btn" onclick="goToSlide(0)" title="شروع مجدد">
|
||
<svg viewBox="0 0 24 24"><path d="M17.65 6.35A7.958 7.958 0 0012 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0112 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/></svg>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<!-- کنترلهای ناوبری پایین صفحه -->
|
||
<div class="controls-bar">
|
||
<button class="nav-btn" onclick="prevSlide()">اسلاید قبلی</button>
|
||
<div class="dots-container" id="dots">
|
||
<div class="dot active" onclick="goToSlide(0)"></div>
|
||
<div class="dot" onclick="goToSlide(1)"></div>
|
||
<div class="dot" onclick="goToSlide(2)"></div>
|
||
<div class="dot" onclick="goToSlide(3)"></div>
|
||
<div class="dot" onclick="goToSlide(4)"></div>
|
||
</div>
|
||
<button class="nav-btn" onclick="nextSlide()">اسلاید بعدی</button>
|
||
</div>
|
||
|
||
<!-- کارت اطلاعات فنی و راهنما بر اساس استانداردهای الزام UI -->
|
||
<div class="info-card">
|
||
<strong>ℹ️ راهنمای طراحی و ساختار بصری اکیپا:</strong>
|
||
• فونت مورد استفاده: <code>Peyda</code> با وزنهای Regular, Medium, Bold و Black همراه با کشیدگیهای تایپوگرافی سازمانی.<br>
|
||
• پالت رنگی: یاسی پسزمینه (<code>#C2B5D8</code>)، بنفش تیره متون (<code>#31184D</code>)، روبان ارغوانی (<code>#5C3582</code>) و اکسنت زرد.<br>
|
||
• الگو: واترمارک لاتین پسزمینه، شماره اسلاید بولد سفید در بالا-چپ، لوگوی سفید بالا-راست و دکمه گرد ناوبری در پایین-راست.
|
||
</div>
|
||
|
||
<script>
|
||
let currentSlide = 0;
|
||
const slides = document.querySelectorAll('.slide-card');
|
||
const dots = document.querySelectorAll('.dot');
|
||
const totalSlides = slides.length;
|
||
|
||
function updateSlideUI() {
|
||
slides.forEach((slide, idx) => {
|
||
slide.classList.toggle('active', idx === currentSlide);
|
||
});
|
||
dots.forEach((dot, idx) => {
|
||
dot.classList.toggle('active', idx === currentSlide);
|
||
});
|
||
}
|
||
|
||
function nextSlide() {
|
||
currentSlide = (currentSlide + 1) % totalSlides;
|
||
updateSlideUI();
|
||
}
|
||
|
||
function prevSlide() {
|
||
currentSlide = (currentSlide - 1 + totalSlides) % totalSlides;
|
||
updateSlideUI();
|
||
}
|
||
|
||
function goToSlide(idx) {
|
||
currentSlide = idx;
|
||
updateSlideUI();
|
||
}
|
||
|
||
// پشتیبانی از کلیدهای کیبورد (راست و چپ)
|
||
document.addEventListener('keydown', (e) => {
|
||
if (e.key === 'ArrowLeft') nextSlide();
|
||
if (e.key === 'ArrowRight') prevSlide();
|
||
});
|
||
</script>
|
||
</body>
|
||
</html>
|