Spaces:
Running
Running
File size: 10,659 Bytes
043bad3 ddb0105 043bad3 818eed4 b1779c1 043bad3 0b1330e b1779c1 0b1330e b1779c1 fc0b1a2 0b1330e 818eed4 0b1330e fc0b1a2 818eed4 b1779c1 fc0b1a2 b1779c1 818eed4 0b1330e 818eed4 0b1330e 818eed4 b1779c1 0b1330e 043bad3 fc0b1a2 b1779c1 fc0b1a2 818eed4 b1779c1 fc0b1a2 818eed4 b1779c1 818eed4 fc0b1a2 0b1330e b1779c1 fc0b1a2 818eed4 fc0b1a2 818eed4 ddb0105 818eed4 b1779c1 818eed4 b1779c1 818eed4 b1779c1 818eed4 b1779c1 818eed4 b1779c1 818eed4 b1779c1 818eed4 b1779c1 043bad3 b1779c1 0b1330e ddb0105 0b1330e 818eed4 b1779c1 818eed4 b1779c1 fc0b1a2 818eed4 0b1330e 818eed4 b1779c1 fc0b1a2 818eed4 b1779c1 043bad3 fc0b1a2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 | <!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>
|