[37288f42] docs: C-Level Präsentation Sales Intelligence Cockpit finalisiert (v1.0)
This commit is contained in:
461
docs/Praesentation/Sales_Intelligence_Cockpit_CLevel.html
Normal file
461
docs/Praesentation/Sales_Intelligence_Cockpit_CLevel.html
Normal file
@@ -0,0 +1,461 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="de">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Sales Intelligence Cockpit | RoboPlanet</title>
|
||||||
|
<!-- Fonts -->
|
||||||
|
<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=Inter:wght@300;400;500;600;700;800&family=Oxanium:wght@400;700&display=swap" rel="stylesheet">
|
||||||
|
<!-- Tailwind CSS -->
|
||||||
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
|
<script>
|
||||||
|
tailwind.config = {
|
||||||
|
theme: {
|
||||||
|
extend: {
|
||||||
|
colors: {
|
||||||
|
roboDark: '#081734',
|
||||||
|
roboLight: '#DDEEFE',
|
||||||
|
roboCyan: '#00E5FF',
|
||||||
|
roboLogo: '#30BDEA',
|
||||||
|
wacklerBlue: '#004A99'
|
||||||
|
},
|
||||||
|
fontFamily: {
|
||||||
|
'head': ['Oxanium', 'sans-serif'],
|
||||||
|
'body': ['Inter', 'sans-serif']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style>
|
||||||
|
body { background-color: #081734; color: #DDEEFE; font-family: 'Inter', sans-serif; overflow-x: hidden; }
|
||||||
|
h1, h2, h3 { font-family: 'Oxanium', sans-serif; }
|
||||||
|
|
||||||
|
.section-step {
|
||||||
|
min-height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
position: relative;
|
||||||
|
padding: 80px 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.glass-panel {
|
||||||
|
background: rgba(221, 238, 254, 0.03);
|
||||||
|
backdrop-filter: blur(15px);
|
||||||
|
border: 1px solid rgba(221, 238, 254, 0.1);
|
||||||
|
border-radius: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.highlight-text {
|
||||||
|
color: #00E5FF;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Spotlight Effect */
|
||||||
|
.spotlight-active {
|
||||||
|
z-index: 50;
|
||||||
|
position: relative;
|
||||||
|
box-shadow: 0 0 50px rgba(0, 229, 255, 0.3);
|
||||||
|
background: rgba(0, 229, 255, 0.05);
|
||||||
|
border: 1px solid #00E5FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
#dim-overlay {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: rgba(8, 23, 52, 0.85);
|
||||||
|
z-index: 40;
|
||||||
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
transition: opacity 0.5s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Scroll Progress Bar */
|
||||||
|
#progress-bar {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
height: 4px;
|
||||||
|
background: #00E5FF;
|
||||||
|
width: 0%;
|
||||||
|
z-index: 100;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-container {
|
||||||
|
position: fixed;
|
||||||
|
top: 30px;
|
||||||
|
right: 40px;
|
||||||
|
z-index: 90;
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Clean White Space Layout */
|
||||||
|
.content-max-w {
|
||||||
|
max-width: 1100px;
|
||||||
|
width: 100%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slide-up { transform: translateY(30px); opacity: 0; }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body class="antialiased selection:bg-roboCyan selection:text-roboDark">
|
||||||
|
|
||||||
|
<div id="progress-bar"></div>
|
||||||
|
<div id="dim-overlay"></div>
|
||||||
|
|
||||||
|
<div class="logo-container">
|
||||||
|
<img src="ROBOPLANET-Logo-2024_blue-white_4c.svg" alt="RoboPlanet Logo" class="h-10">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Scroll Content -->
|
||||||
|
<div id="scroll-wrapper">
|
||||||
|
|
||||||
|
<!-- Slide 1: Title -->
|
||||||
|
<section class="section-step" id="slide-title">
|
||||||
|
<div class="text-center content-max-w">
|
||||||
|
<div class="mb-6 opacity-0 animate-fade-in" style="animation: fadeIn 1s forwards 0.2s">
|
||||||
|
<span class="px-4 py-1 rounded-full border border-roboCyan/30 text-roboCyan text-xs font-bold uppercase tracking-widest bg-roboCyan/5">Executive Presentation</span>
|
||||||
|
</div>
|
||||||
|
<h1 class="text-6xl md:text-7xl font-bold mb-6 slide-up" id="main-title">Sales Intelligence <br><span class="text-roboCyan">Cockpit</span></h1>
|
||||||
|
<p class="text-xl md:text-2xl font-light text-roboLight/70 max-w-2xl mx-auto slide-up" id="sub-title">
|
||||||
|
Von verstreuten CRM-Daten zu operativer <br> Klarheit und steuerbarer Pipeline.
|
||||||
|
</p>
|
||||||
|
<div class="mt-16 slide-up flex justify-center gap-12 text-sm uppercase tracking-widest text-roboLight/40 font-bold" id="title-footer">
|
||||||
|
<span>Transparenz</span>
|
||||||
|
<span>Priorisierung</span>
|
||||||
|
<span>Handlung</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Slide 2: The Challenge -->
|
||||||
|
<section class="section-step" id="slide-challenge">
|
||||||
|
<div class="content-max-w grid grid-cols-1 md:grid-cols-2 gap-20 items-center">
|
||||||
|
<div>
|
||||||
|
<h2 class="text-4xl font-bold mb-8 slide-up">Die Ausgangslage:<br>Verteilte Sichten</h2>
|
||||||
|
<p class="text-lg text-roboLight/70 mb-6 slide-up leading-relaxed">
|
||||||
|
Alle relevanten Informationen waren in SuperOffice vorhanden. Doch ihre Fragmentierung machte eine schnelle, einheitliche Sicht schwierig.
|
||||||
|
</p>
|
||||||
|
<ul class="space-y-4 slide-up">
|
||||||
|
<li class="flex items-start gap-3">
|
||||||
|
<span class="text-roboCyan">→</span>
|
||||||
|
<span>Manuelle, zeitintensive Reports (Excel)</span>
|
||||||
|
</li>
|
||||||
|
<li class="flex items-start gap-3">
|
||||||
|
<span class="text-roboCyan">→</span>
|
||||||
|
<span>Verteiltes Wissen statt systemischer Sicht</span>
|
||||||
|
</li>
|
||||||
|
<li class="flex items-start gap-3">
|
||||||
|
<span class="text-roboCyan">→</span>
|
||||||
|
<span>Erschwerte Priorisierung im Tagesgeschäft</span>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="glass-panel p-8 aspect-square flex items-center justify-center relative slide-up">
|
||||||
|
<div class="grid grid-cols-2 gap-4 w-full h-full p-4 opacity-40">
|
||||||
|
<div class="border border-white/10 rounded-lg bg-white/5 flex flex-col p-4">
|
||||||
|
<div class="w-8 h-1 bg-white/20 mb-2"></div>
|
||||||
|
<div class="w-full h-full bg-white/5 rounded"></div>
|
||||||
|
</div>
|
||||||
|
<div class="border border-white/10 rounded-lg bg-white/5 flex flex-col p-4">
|
||||||
|
<div class="w-8 h-1 bg-white/20 mb-2"></div>
|
||||||
|
<div class="w-full h-full bg-white/5 rounded"></div>
|
||||||
|
</div>
|
||||||
|
<div class="border border-white/10 rounded-lg bg-white/5 flex flex-col p-4">
|
||||||
|
<div class="w-8 h-1 bg-white/20 mb-2"></div>
|
||||||
|
<div class="w-full h-full bg-white/5 rounded"></div>
|
||||||
|
</div>
|
||||||
|
<div class="border border-white/10 rounded-lg bg-white/5 flex flex-col p-4">
|
||||||
|
<div class="w-8 h-1 bg-white/20 mb-2"></div>
|
||||||
|
<div class="w-full h-full bg-white/5 rounded"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="absolute inset-0 flex items-center justify-center">
|
||||||
|
<div class="text-6xl">❓</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Slide 3: The Solution -->
|
||||||
|
<section class="section-step" id="slide-solution">
|
||||||
|
<div class="content-max-w">
|
||||||
|
<div class="text-center mb-16">
|
||||||
|
<h2 class="text-4xl font-bold mb-4 slide-up">Das Cockpit:<br><span class="text-roboCyan">Alles Wesentliche auf einer Seite</span></h2>
|
||||||
|
<p class="text-lg text-roboLight/60 slide-up">Das Dashboard bündelt CRM-Daten zu einer operativen Kommandozentrale.</p>
|
||||||
|
</div>
|
||||||
|
<div class="glass-panel p-2 shadow-2xl slide-up overflow-hidden border-roboCyan/20">
|
||||||
|
<div class="bg-roboDark/50 rounded-2xl overflow-hidden aspect-video flex flex-col">
|
||||||
|
<div class="h-8 bg-white/5 border-b border-white/10 flex items-center px-4 gap-2">
|
||||||
|
<div class="w-2 h-2 rounded-full bg-red-500/50"></div>
|
||||||
|
<div class="w-2 h-2 rounded-full bg-yellow-500/50"></div>
|
||||||
|
<div class="w-2 h-2 rounded-full bg-green-500/50"></div>
|
||||||
|
<div class="ml-4 h-3 w-32 bg-white/10 rounded"></div>
|
||||||
|
</div>
|
||||||
|
<div class="flex-1 p-6 grid grid-cols-12 gap-4">
|
||||||
|
<div class="col-span-3 space-y-4">
|
||||||
|
<div class="h-20 bg-white/5 rounded-xl border border-white/5 p-3">
|
||||||
|
<div class="w-12 h-2 bg-white/20 mb-3"></div>
|
||||||
|
<div class="w-20 h-4 bg-roboCyan/30 rounded"></div>
|
||||||
|
</div>
|
||||||
|
<div class="h-20 bg-white/5 rounded-xl border border-white/5 p-3">
|
||||||
|
<div class="w-12 h-2 bg-white/20 mb-3"></div>
|
||||||
|
<div class="w-24 h-4 bg-roboLogo/30 rounded"></div>
|
||||||
|
</div>
|
||||||
|
<div class="h-20 bg-white/5 rounded-xl border border-white/5 p-3">
|
||||||
|
<div class="w-12 h-2 bg-white/20 mb-3"></div>
|
||||||
|
<div class="w-16 h-4 bg-roboCyan/30 rounded"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-span-9 bg-white/5 rounded-xl border border-white/5 p-4 flex flex-col gap-3">
|
||||||
|
<div class="h-6 w-1/3 bg-white/10 rounded"></div>
|
||||||
|
<div class="flex-1 space-y-2">
|
||||||
|
<div class="h-8 bg-white/5 rounded border border-white/5"></div>
|
||||||
|
<div class="h-8 bg-white/5 rounded border border-white/5"></div>
|
||||||
|
<div class="h-8 bg-white/5 rounded border border-white/5"></div>
|
||||||
|
<div class="h-8 bg-white/5 rounded border border-white/5"></div>
|
||||||
|
<div class="h-8 bg-white/5 rounded border border-white/5"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="mt-12 text-center text-roboLight/50 font-bold slide-up">
|
||||||
|
<span class="text-roboCyan">LIVE</span> — KEIN SUCHEN, KEIN SPRINGEN, KEIN WARTEN.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Slide 4: Resilience -->
|
||||||
|
<section class="section-step" id="slide-resilience">
|
||||||
|
<div class="content-max-w">
|
||||||
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-20 items-center">
|
||||||
|
<div class="order-2 md:order-1">
|
||||||
|
<div class="glass-panel p-10 flex flex-col gap-8 slide-up">
|
||||||
|
<div class="flex items-center gap-6 opacity-40">
|
||||||
|
<div class="text-4xl">📄</div>
|
||||||
|
<div>
|
||||||
|
<div class="text-sm font-bold uppercase text-gray-500 tracking-wider">Alt</div>
|
||||||
|
<div class="text-lg">Excel-Report (Manuell)</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="h-px bg-white/10"></div>
|
||||||
|
<div class="flex items-center gap-6">
|
||||||
|
<div class="text-4xl">🚀</div>
|
||||||
|
<div>
|
||||||
|
<div class="text-sm font-bold uppercase text-roboCyan tracking-wider">Neu</div>
|
||||||
|
<div class="text-lg font-bold">Automatisches Live-Dashboard</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="order-1 md:order-2">
|
||||||
|
<h2 class="text-4xl font-bold mb-8 slide-up">Operative Resilienz:<br>Wissen im System</h2>
|
||||||
|
<p class="text-lg text-roboLight/70 mb-6 slide-up leading-relaxed">
|
||||||
|
Ein Reporting, das bisher an Personenwissen und manueller Pflege hing, ist jetzt vollständig automatisiert.
|
||||||
|
</p>
|
||||||
|
<p class="text-lg text-roboLight/70 slide-up leading-relaxed">
|
||||||
|
Wir sichern unsere Handlungsfähigkeit — unabhängig von individueller Verfügbarkeit.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Slide 5: Honesty (The +25% Success) -->
|
||||||
|
<section class="section-step" id="slide-honesty">
|
||||||
|
<div class="content-max-w text-center">
|
||||||
|
<h2 class="text-4xl font-bold mb-6 slide-up">Ehrliche Pipeline statt schöne Pipeline</h2>
|
||||||
|
<p class="text-xl text-roboLight/60 max-w-3xl mx-auto mb-16 slide-up">
|
||||||
|
Gute Steuerung beginnt nicht mit optimistischen Zahlen, sondern mit der Realität.
|
||||||
|
</p>
|
||||||
|
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 mb-16">
|
||||||
|
<div class="glass-panel p-8 slide-up">
|
||||||
|
<div class="text-roboCyan text-5xl font-black mb-2">+25%</div>
|
||||||
|
<div class="text-sm font-bold uppercase tracking-widest text-roboLight/50">Pipeline-Bereinigung</div>
|
||||||
|
</div>
|
||||||
|
<div class="md:col-span-2 glass-panel p-8 flex flex-col justify-center text-left slide-up">
|
||||||
|
<p class="text-lg leading-relaxed text-roboLight/80 italic">
|
||||||
|
"Wir haben diesen Monat bewusst mehr 'verlorene' Deals dokumentiert als je zuvor. Das ist ein Erfolg: Wir reduzieren Pipeline-Schulden und schaffen eine belastbare Forecast-Grundlage."
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="slide-up text-roboLight/40 text-sm uppercase tracking-widest font-bold">
|
||||||
|
Transparenz ohne Schuldzuweisung.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Slide 6: Proof of Value (Reaction Quote) -->
|
||||||
|
<section class="section-step" id="slide-pov">
|
||||||
|
<div class="content-max-w grid grid-cols-1 md:grid-cols-2 gap-20 items-center">
|
||||||
|
<div>
|
||||||
|
<h2 class="text-4xl font-bold mb-8 slide-up">Vom Überblick<br>zur Aktion</h2>
|
||||||
|
<p class="text-lg text-roboLight/70 mb-8 slide-up leading-relaxed">
|
||||||
|
Das Dashboard ist kein Rückspiegel. Es ist ein aktives Tool zur Steuerung.
|
||||||
|
</p>
|
||||||
|
<div class="space-y-6 slide-up">
|
||||||
|
<div class="flex items-center gap-6">
|
||||||
|
<div class="w-16 h-16 rounded-2xl bg-roboCyan/10 border border-roboCyan/20 flex items-center justify-center text-2xl">📞</div>
|
||||||
|
<div>
|
||||||
|
<div class="text-2xl font-bold">~20% Response</div>
|
||||||
|
<div class="text-sm text-roboLight/50 italic">auf einfache Rückrufbitten</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<p class="text-sm text-roboLight/40 leading-relaxed pl-22">
|
||||||
|
Erster Proof-of-Value: Ein gezielter, datenbasierter Touchpoint erzeugt dokumentierte Reaktionen bei Bestandskontakten.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="relative slide-up">
|
||||||
|
<div class="glass-panel p-6 aspect-video rotate-3 translate-x-4 opacity-30"></div>
|
||||||
|
<div class="absolute inset-0 glass-panel p-6 shadow-2xl border-roboCyan/40 flex flex-col gap-4">
|
||||||
|
<div class="h-6 w-1/2 bg-roboCyan/20 rounded"></div>
|
||||||
|
<div class="space-y-2 mt-4">
|
||||||
|
<div class="h-4 w-full bg-white/5 rounded"></div>
|
||||||
|
<div class="h-4 w-full bg-white/5 rounded"></div>
|
||||||
|
<div class="h-4 w-2/3 bg-white/5 rounded"></div>
|
||||||
|
</div>
|
||||||
|
<div class="mt-auto flex justify-end">
|
||||||
|
<div class="px-4 py-2 bg-roboCyan text-roboDark text-xs font-bold rounded-lg uppercase">Send Action</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Slide 7: White Space (Outlook) -->
|
||||||
|
<section class="section-step" id="slide-whitespace">
|
||||||
|
<div class="content-max-w text-center">
|
||||||
|
<div class="mb-12 slide-up">
|
||||||
|
<span class="px-4 py-1 rounded-full border border-orange-500/30 text-orange-500 text-xs font-bold uppercase tracking-widest bg-orange-500/5">Strategischer Hebel</span>
|
||||||
|
</div>
|
||||||
|
<h2 class="text-5xl font-bold mb-16 slide-up">Ungenutztes Potenzial</h2>
|
||||||
|
<div class="flex flex-col md:flex-row justify-center items-center gap-12 slide-up">
|
||||||
|
<div class="relative group cursor-help transition-transform hover:scale-105 duration-500">
|
||||||
|
<svg class="w-64 h-64 transform -rotate-90">
|
||||||
|
<circle cx="128" cy="128" r="110" stroke="currentColor" stroke-width="25" fill="transparent" class="text-white/5" />
|
||||||
|
<circle cx="128" cy="128" r="110" stroke="currentColor" stroke-width="25" fill="transparent" stroke-dasharray="691" stroke-dashoffset="221" class="text-orange-500 transition-all duration-1000" id="whitespace-circle" />
|
||||||
|
</svg>
|
||||||
|
<div class="absolute inset-0 flex flex-col items-center justify-center">
|
||||||
|
<span class="text-5xl font-black group-hover:text-orange-500 transition-colors">68%</span>
|
||||||
|
<span class="text-xs uppercase font-bold text-roboLight/50 tracking-widest">White Space</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="text-left max-w-md">
|
||||||
|
<h3 class="text-2xl font-bold mb-4">Accounts ohne Kontakte</h3>
|
||||||
|
<p class="text-lg text-roboLight/60 leading-relaxed mb-6">
|
||||||
|
Die Analyse offenbart eine riesige Chance: Ein Großteil unserer Accounts im CRM hat bisher keinen direkten Ansprechpartner.
|
||||||
|
</p>
|
||||||
|
<p class="text-sm font-bold text-orange-500 uppercase tracking-widest">
|
||||||
|
→ Nächster Schritt: Systematische Erschließung
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Slide 8: Conclusion -->
|
||||||
|
<section class="section-step" id="slide-closing">
|
||||||
|
<div class="text-center content-max-w">
|
||||||
|
<h2 class="text-6xl md:text-8xl font-bold mb-12 slide-up">Vertrieb. <br><span class="text-roboCyan">Steuerbar.</span></h2>
|
||||||
|
<div class="flex justify-center gap-8 md:gap-16 text-lg md:text-xl font-bold uppercase tracking-[0.2em] text-roboLight/40 mb-24 slide-up">
|
||||||
|
<span>Transparent</span>
|
||||||
|
<span>Priorisiert</span>
|
||||||
|
<span>Handlungsfähig</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="max-w-xl mx-auto glass-panel p-8 slide-up relative overflow-hidden group">
|
||||||
|
<div class="absolute top-0 left-0 w-1 h-full bg-roboCyan"></div>
|
||||||
|
<p class="text-lg text-roboLight/80 italic text-left leading-relaxed mb-4">
|
||||||
|
"Du katapultierst uns damit definitiv in eine modernere Zukunft."
|
||||||
|
</p>
|
||||||
|
<div class="text-sm font-bold text-roboCyan uppercase tracking-widest text-left">
|
||||||
|
— Feedback aus dem Team
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- GSAP -->
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/ScrollTrigger.min.js"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
gsap.registerPlugin(ScrollTrigger);
|
||||||
|
|
||||||
|
// Progress Bar
|
||||||
|
gsap.to("#progress-bar", {
|
||||||
|
width: "100%",
|
||||||
|
ease: "none",
|
||||||
|
scrollTrigger: {
|
||||||
|
trigger: "body",
|
||||||
|
start: "top top",
|
||||||
|
end: "bottom bottom",
|
||||||
|
scrub: 0.3
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Global Slide Animations
|
||||||
|
const slides = gsap.utils.toArray('.slide-up');
|
||||||
|
slides.forEach((slide) => {
|
||||||
|
gsap.to(slide, {
|
||||||
|
y: 0,
|
||||||
|
opacity: 1,
|
||||||
|
duration: 1,
|
||||||
|
ease: "power2.out",
|
||||||
|
scrollTrigger: {
|
||||||
|
trigger: slide,
|
||||||
|
start: "top 90%",
|
||||||
|
toggleActions: "play none none none"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// Special Animation for Slide 1
|
||||||
|
gsap.from("#main-title", {
|
||||||
|
y: 50,
|
||||||
|
opacity: 0,
|
||||||
|
duration: 1.2,
|
||||||
|
ease: "power3.out",
|
||||||
|
delay: 0.5
|
||||||
|
});
|
||||||
|
|
||||||
|
// Title Footer animation
|
||||||
|
gsap.from("#title-footer span", {
|
||||||
|
opacity: 0,
|
||||||
|
y: 20,
|
||||||
|
stagger: 0.2,
|
||||||
|
duration: 1,
|
||||||
|
delay: 1.2
|
||||||
|
});
|
||||||
|
|
||||||
|
// Dim Overlay Logic (if needed for spotlight)
|
||||||
|
function showSpotlight(elementSelector) {
|
||||||
|
gsap.to("#dim-overlay", { opacity: 1, duration: 0.5, pointerEvents: 'auto' });
|
||||||
|
document.querySelector(elementSelector).classList.add('spotlight-active');
|
||||||
|
}
|
||||||
|
|
||||||
|
function hideSpotlight() {
|
||||||
|
gsap.to("#dim-overlay", { opacity: 0, duration: 0.5, pointerEvents: 'none' });
|
||||||
|
document.querySelectorAll('.spotlight-active').forEach(el => el.classList.remove('spotlight-active'));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Scroll Performance Optimization
|
||||||
|
ScrollTrigger.defaults({
|
||||||
|
markers: false,
|
||||||
|
scrub: true
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user