EnablingSales / academy.html
DjayChucko's picture
Update academy.html
818eed4 verified
raw
history blame
10.7 kB
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Partners | McGPT Corporate</title>
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
<link rel="icon" type="image/png" href="Images/scaleway-logomark-white.png">
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: { sans: ['Space Grotesk', 'sans-serif'] },
colors: { primary: '#a855f7', skyAccent: '#06b6d4', blueAccent: '#3b82f6', violetAccent: '#8b5cf6' }
}
}
}
</script>
<style>
body { font-family: 'Space Grotesk', sans-serif; }
.nav-link { @apply text-white/80 hover:text-white transition-all duration-200 relative text-sm uppercase font-bold px-1; }
.nav-link.active { @apply text-white border-b-2 border-primary; transform: translateY(4px); }
/* AUTH GUARD */
body:not(.logged-in) main, body:not(.logged-in) header nav, body:not(.logged-in) #mobileMenuBtn { display: none !important; }
/* LMS BUTTON STYLING */
.track-btn {
@apply w-full flex items-center justify-between p-5 rounded-2xl border border-white/5 bg-white/5
transition-all duration-300 text-left group hover:bg-white/10 hover:border-white/20 mb-3;
}
.track-btn.active-track {
@apply border-primary bg-primary/20 ring-1 ring-primary shadow-[0_0_30px_rgba(168,85,247,0.2)];
}
.track-num { @apply font-black text-[10px] text-white/20 group-hover:text-primary transition-colors mr-4; }
.track-title { @apply font-bold text-xs md:text-sm uppercase tracking-wider text-white/70 group-hover:text-white transition-colors; }
.active-track .track-num { @apply text-primary opacity-100; }
.active-track .track-title { @apply text-white; }
/* IFRAME CONTAINER */
.glass-panel {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
</style>
</head>
<body class="bg-[#3D1862] text-white min-h-screen flex flex-col">
<header class="sticky top-0 z-[60] bg-[#0f051a]/90 backdrop-blur-lg border-b border-white/10 shadow-2xl">
<div class="container mx-auto px-4 py-4 flex justify-between items-center">
<a href="index.html" class="flex items-center space-x-2 group">
<img src="Images/scaleway-logomark-white.png" alt="Logo" class="h-8 transition-transform group-hover:rotate-12">
<span class="text-2xl font-bold tracking-tight text-white">McGPT</span>
</a>
<nav class="hidden lg:flex space-x-8 items-center">
<a href="value-mapper.html" class="nav-link">Map Industry</a>
<a href="intel.html" class="nav-link">Map Products</a>
<a href="proof.html" class="nav-link">Proof</a>
<a href="scorecard.html" class="nav-link">Scorecard</a>
<a href="academy.html" class="nav-link active">Sales Academy</a>
<a href="partners.html" class="nav-link">Partners</a>
</nav>
<div class="flex items-center space-x-4">
<div data-netlify-identity-button class="text-[10px] font-bold uppercase cursor-pointer hover:text-primary"></div>
<button id="mobileMenuBtn" class="lg:hidden text-white p-2"><i data-feather="menu"></i></button>
</div>
</div>
</header>
<main class="flex-grow bg-gradient-to-br from-[#3D1862] to-[#0f051a]">
<div class="container mx-auto px-4 py-12">
<div class="text-center max-w-4xl mx-auto mb-16">
<h1 class="text-5xl md:text-7xl font-extrabold mb-6 tracking-tighter uppercase">Partner Portal</h1>
<p class="text-xl text-white/60 italic font-medium leading-relaxed">
Welcome to the temporary Scaleway Partner Enablement hub. <br class="hidden md:block">
Select a module from the sidebar to launch the training presentation.
</p>
</div>
<div class="flex flex-col lg:flex-row gap-8 max-w-7xl mx-auto">
<aside class="lg:w-1/3 order-2 lg:order-1">
<div class="glass-panel rounded-[2.5rem] p-8 sticky top-28">
<div class="flex items-center justify-between mb-8">
<h3 class="text-xs font-black uppercase tracking-[0.2em] text-primary">Training Curriculum</h3>
<i data-feather="book-open" class="text-primary w-4"></i>
</div>
<div id="lms-menu" class="space-y-1">
<button onclick="loadModule(this, 'https://view.genially.com/LINK_1', 'Scaleway Foundations')" class="track-btn active-track">
<span class="flex items-center">
<span class="track-num">01</span>
<span class="track-title">Scaleway Foundations</span>
</span>
<i data-feather="play" class="w-3 text-primary opacity-0 group-hover:opacity-100"></i>
</button>
<button onclick="loadModule(this, 'https://view.genially.com/LINK_2', 'Scaleway Sales Partner')" class="track-btn">
<span class="flex items-center">
<span class="track-num">02</span>
<span class="track-title">Scaleway Sales Partner</span>
</span>
</button>
<button onclick="loadModule(this, 'https://view.genially.com/LINK_3', 'Scaleway Presales Partner')" class="track-btn">
<span class="flex items-center">
<span class="track-num">03</span>
<span class="track-title">Scaleway Presales Partner</span>
</span>
</button>
<button onclick="loadModule(this, 'https://view.genially.com/LINK_4', 'Scaleway Associate: Network')" class="track-btn">
<span class="flex items-center">
<span class="track-num">04</span>
<span class="track-title">Scaleway Associate: Network</span>
</span>
</button>
<button onclick="loadModule(this, 'https://view.genially.com/LINK_5', 'Scaleway Associate: Security & Identity')" class="track-btn">
<span class="flex items-center">
<span class="track-num">05</span>
<span class="track-title">Security & Identity</span>
</span>
</button>
<button onclick="loadModule(this, 'https://view.genially.com/LINK_6', 'Scaleway Associate: Kubernetes')" class="track-btn">
<span class="flex items-center">
<span class="track-num">06</span>
<span class="track-title">Scaleway Associate: Kubernetes</span>
</span>
</button>
</div>
</div>
</aside>
<div class="lg:w-2/3 order-1 lg:order-2">
<div class="mb-6">
<div class="flex items-center space-x-3 mb-2">
<span class="h-2 w-2 rounded-full bg-skyAccent animate-pulse"></span>
<span class="text-[10px] font-black uppercase tracking-[0.3em] text-skyAccent">Now Playing</span>
</div>
<h2 id="display-title" class="text-3xl md:text-4xl font-black uppercase tracking-tight">Scaleway Foundations</h2>
</div>
<div class="rounded-[2.5rem] overflow-hidden border border-white/20 shadow-[0_0_60px_rgba(0,0,0,0.5)] bg-black aspect-video relative">
<iframe id="video-player"
src="https://view.genially.com/LINK_1"
class="absolute inset-0 w-full h-full"
allowfullscreen="true">
</iframe>
</div>
<div class="mt-8 p-6 glass-panel rounded-2xl flex items-start space-x-4">
<i data-feather="info" class="text-violetAccent w-5 mt-1"></i>
<p class="text-sm text-white/50 italic leading-relaxed">
Instructions: Interact with the presentation above to complete the module. If the content does not load, please refresh your browser or check your VPN settings.
</p>
</div>
</div>
</div>
</div>
</main>
<script>
// --- NETLIFY AUTH ---
const checkAuth = (user) => {
if (user) { document.body.classList.add('logged-in'); feather.replace(); }
else { window.location.href = "index.html"; }
};
netlifyIdentity.on('init', user => checkAuth(user));
netlifyIdentity.on('login', user => { checkAuth(user); netlifyIdentity.close(); });
netlifyIdentity.on('logout', () => window.location.href = "index.html");
// --- LMS LOGIC ---
function loadModule(element, url, title) {
// Change Iframe Source
document.getElementById('video-player').src = url;
// Change Title Heading
document.getElementById('display-title').innerText = title;
// Reset and Set Active State on Buttons
document.querySelectorAll('.track-btn').forEach(btn => btn.classList.remove('active-track'));
element.classList.add('active-track');
// Smooth scroll to top of player for mobile users
if(window.innerWidth < 1024) {
window.scrollTo({
top: document.getElementById('display-title').offsetTop - 100,
behavior: 'smooth'
});
}
}
window.onload = () => { feather.replace(); };
</script>
</body>
</html>