Major mobile navigation system implementation
- Added comprehensive mobile navigation system with hamburger menu - Created new mobile nav files: gn-mobile-nav.css and gn-mobile-nav.js - Integrated mobile navigation across all 25+ HTML pages - Updated all Services and Industries pages with mobile nav - Enhanced responsive design and mobile-first approach - Added FOUC prevention and improved loading experience - Updated theme colors and styling consistency - Added comprehensive documentation (MOBILE_NAV_README.md) - Fixed relative paths for subdirectory pages - Improved accessibility features for mobile navigation
This commit is contained in:
@@ -1,32 +1,158 @@
|
||||
<!DOCTYPE html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,viewport-fit=cover" />
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<title>Individual Training - Gyannetra</title> <!-- Consolidated CSS files for optimal performance -->
|
||||
<title>Individual Training - Gyannetra</title>
|
||||
<!-- CRITICAL CSS - Prevent FOUC -->
|
||||
<style>
|
||||
/* Immediate FOUC prevention */
|
||||
html {
|
||||
visibility: hidden;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Inter', 'Space Grotesk', sans-serif;
|
||||
background: #0a0a1a;
|
||||
color: #ffffff;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
overflow-x: hidden;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* Critical layout styles to prevent shifts */
|
||||
.site-header {
|
||||
background: rgba(15, 15, 30, 0.95);
|
||||
backdrop-filter: blur(20px);
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 1000;
|
||||
padding: 0;
|
||||
border-bottom: 1px solid rgba(82, 238, 245, 0.3);
|
||||
}
|
||||
|
||||
.navbar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 1rem 2rem;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
main {
|
||||
margin-top: 80px;
|
||||
min-height: calc(100vh - 80px);
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
/* Preloader styles */
|
||||
#page-preloader {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #0a0a1a;
|
||||
z-index: 99999;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.loader-text {
|
||||
color: #52eef5;
|
||||
font-size: 1.5rem;
|
||||
font-family: 'Inter', sans-serif;
|
||||
animation: pulse 1.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0%, 100% { opacity: 0.7; }
|
||||
50% { opacity: 1; }
|
||||
}
|
||||
|
||||
body.loaded {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
body.loaded #page-preloader {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
html.loaded {
|
||||
visibility: visible;
|
||||
}
|
||||
</style> <!-- Consolidated CSS files for optimal performance -->
|
||||
<link rel="stylesheet" href="../css/core.css">
|
||||
<link rel="stylesheet" href="../css/components.css">
|
||||
<link rel="stylesheet" href="../css/pages.css">
|
||||
<link rel="stylesheet" href="../css/responsive.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="../css/gn-mobile-nav.css">
|
||||
<!-- Optimized Page Loading Script -->
|
||||
<script>
|
||||
// Immediate page stabilization
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
// Fast loading detection
|
||||
function showPage() {
|
||||
document.documentElement.classList.add('loaded');
|
||||
document.body.classList.add('loaded');
|
||||
|
||||
// Hide preloader immediately
|
||||
const preloader = document.getElementById('page-preloader');
|
||||
if (preloader) {
|
||||
preloader.style.display = 'none';
|
||||
}
|
||||
}
|
||||
|
||||
// Show page as soon as possible
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', showPage);
|
||||
} else {
|
||||
showPage();
|
||||
}
|
||||
|
||||
// Fallback timeout
|
||||
setTimeout(showPage, 100);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
<body class="gn-mobile-no-overflow">
|
||||
<!-- Preloader -->
|
||||
<div id="page-preloader">
|
||||
<div class="loader-text">Loading Education...</div>
|
||||
</div>
|
||||
<div class="atmospheric-bg"></div>
|
||||
<!-- NAVBAR -->
|
||||
<header class="site-header">
|
||||
<nav class="navbar">
|
||||
<a href="../index.html" class="logo">
|
||||
<img src="../assets/Company Icons/GN logo with banner.svg" alt="Gyannetra Logo" class="logo-img" class="gn-responsive-image">
|
||||
</a>
|
||||
<!-- Hamburger menu button for mobile -->
|
||||
<button class="hamburger-menu" aria-label="Toggle menu" onclick="toggleMobileMenu(event)">
|
||||
<span class="hamburger-line"></span>
|
||||
<span class="hamburger-line"></span>
|
||||
<span class="hamburger-line"></span>
|
||||
</button>
|
||||
</a><!-- GN Mobile Hamburger Menu Button -->
|
||||
<button class="gn-mobile-hamburger__button" aria-label="Toggle mobile menu" type="button">
|
||||
<span class="gn-mobile-hamburger__line"></span>
|
||||
<span class="gn-mobile-hamburger__line"></span>
|
||||
<span class="gn-mobile-hamburger__line"></span>
|
||||
</button>
|
||||
|
||||
<ul class="nav-links">
|
||||
<li class="dropdown"><a href="#" class="nav-link">Services ▾</a>
|
||||
@@ -52,9 +178,9 @@
|
||||
</li>
|
||||
<li class="dropdown"><a href="#" class="nav-link active-nav-link">Education ▾</a>
|
||||
<ul class="dropdown-menu education-dropdown">
|
||||
<li><a href="workshops.html"><div class="dropdown-item-content"><img src="../assets/workshops.png" alt="Webinars Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Webinars</span><span class="item-description">Engaging and interactive sessions designed to introduce key AI concepts and practical skills.</span></div></div></a></li>
|
||||
<li><a href="individual-trainings.html"><div class="dropdown-item-content"><img src="../assets/indi training.png" alt="Individual Training Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Individual Trainings</span><span class="item-description">Personalized learning programs tailored to your specific needs and learning pace.</span></div></div></a></li>
|
||||
<li><a href="corporate-trainings.html"><div class="dropdown-item-content"><img src="../assets/corpo training.png" alt="Corporate Training Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Corporate Trainings</span><span class="item-description">Customized training solutions to upskill your teams and drive AI adoption within your organization.</span></div></div></a></li>
|
||||
<li><a href="./workshops.html"><div class="dropdown-item-content"><img src="../assets/workshops.png" alt="Webinars Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Workshops</span><span class="item-description">Engaging and interactive sessions designed to introduce key AI concepts and practical skills.</span></div></div></a></li>
|
||||
<li><a href="./individual-trainings.html"><div class="dropdown-item-content"><img src="../assets/indi training.png" alt="Individual Training Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Individual Trainings</span><span class="item-description">Personalized learning programs tailored to your specific needs and learning pace.</span></div></div></a></li>
|
||||
<li><a href="./corporate-trainings.html"><div class="dropdown-item-content"><img src="../assets/corpo training.png" alt="Corporate Training Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Corporate Trainings</span><span class="item-description">Customized training solutions to upskill your teams and drive AI adoption within your organization.</span></div></div></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="../about.html" class="nav-link">About Us</a></li>
|
||||
@@ -600,16 +726,98 @@
|
||||
<p>© 2025 Gyannetra. All rights reserved. | <a href="../privacy-policy.html">Privacy Policy</a> | <a href="../terms-of-service.html">Terms and Conditions</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</footer> <script src="../js/main.js" defer></script>
|
||||
|
||||
|
||||
</footer>
|
||||
|
||||
<!-- GN Mobile Navigation Overlay -->
|
||||
<div class="gn-mobile-nav__overlay">
|
||||
<div class="gn-mobile-nav__container">
|
||||
<div class="gn-mobile-nav__header">
|
||||
<img src="../assets/Company Icons/GN logo with banner.svg" alt="Gyannetra Logo" class="gn-mobile-nav__logo">
|
||||
<button class="gn-mobile-nav__close" aria-label="Close mobile menu" type="button">
|
||||
<span class="gn-mobile-nav__close-line"></span>
|
||||
<span class="gn-mobile-nav__close-line"></span>
|
||||
</button>
|
||||
</div>
|
||||
<nav class="gn-mobile-nav__menu">
|
||||
<ul class="gn-mobile-nav__list">
|
||||
<li class="gn-mobile-nav__item gn-mobile-nav__item--dropdown"> <button class="gn-mobile-nav__link gn-mobile-nav__dropdown-toggle" type="button">
|
||||
Services
|
||||
<span class="gn-mobile-nav__arrow">▾</span>
|
||||
</button>
|
||||
<ul class="gn-mobile-nav__submenu">
|
||||
<li><a href="../Services/machine-learning.html" class="gn-mobile-nav__sublink">Machine Learning</a></li>
|
||||
<li><a href="../Services/data-analysis.html" class="gn-mobile-nav__sublink">Data Analytics</a></li>
|
||||
<li><a href="../Services/generative-ai.html" class="gn-mobile-nav__sublink">Generative AI</a></li>
|
||||
<li><a href="../Services/agentic-ai.html" class="gn-mobile-nav__sublink">Agentic AI</a></li>
|
||||
<li><a href="../Services/automation-flows.html" class="gn-mobile-nav__sublink">Automation Flows</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="gn-mobile-nav__item gn-mobile-nav__item--dropdown"> <button class="gn-mobile-nav__link gn-mobile-nav__dropdown-toggle" type="button">
|
||||
Industries
|
||||
<span class="gn-mobile-nav__arrow">▾</span>
|
||||
</button>
|
||||
<ul class="gn-mobile-nav__submenu">
|
||||
<li><a href="../Industries/finance.html" class="gn-mobile-nav__sublink">Finance</a></li>
|
||||
<li><a href="../Industries/healthcare.html" class="gn-mobile-nav__sublink">Healthcare</a></li>
|
||||
<li><a href="../Industries/manufacturing.html" class="gn-mobile-nav__sublink">Manufacturing</a></li>
|
||||
<li><a href="../Industries/marketing.html" class="gn-mobile-nav__sublink">Marketing</a></li>
|
||||
<li><a href="../Industries/media-entertainment.html" class="gn-mobile-nav__sublink">Media & Entertainment</a></li>
|
||||
<li><a href="../Industries/travel.html" class="gn-mobile-nav__sublink">Travel</a></li>
|
||||
<li><a href="../Industries/retail.html" class="gn-mobile-nav__sublink">Retail</a></li>
|
||||
<li><a href="../Industries/case-studies.html" class="gn-mobile-nav__sublink">Case Studies</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="gn-mobile-nav__item gn-mobile-nav__item--dropdown"> <button class="gn-mobile-nav__link gn-mobile-nav__dropdown-toggle" type="button">
|
||||
Education
|
||||
<span class="gn-mobile-nav__arrow">▾</span>
|
||||
</button>
|
||||
<ul class="gn-mobile-nav__submenu">
|
||||
<li><a href="./workshops.html" class="gn-mobile-nav__sublink">Webinars</a></li>
|
||||
<li><a href="./individual-trainings.html" class="gn-mobile-nav__sublink">Individual Trainings</a></li>
|
||||
<li><a href="./corporate-trainings.html" class="gn-mobile-nav__sublink">Corporate Trainings</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="gn-mobile-nav__item">
|
||||
<a href="../about.html" class="gn-mobile-nav__link">About Us</a>
|
||||
</li>
|
||||
<li class="gn-mobile-nav__item">
|
||||
<a href="../contact.html" class="gn-mobile-nav__link">Contact Us</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div> <script src="../js/main.js" defer></script>
|
||||
<script src="../js/menu-dropdown.js" defer></script>
|
||||
<script src="../js/tech-marquee.js" defer></script>
|
||||
<script src="../js/testimonials-marquee.js" defer></script>
|
||||
<!-- GN Mobile Navigation Script -->
|
||||
<script src="../js/gn-mobile-nav.js" defer></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user