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,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
@@ -6,15 +6,142 @@
|
||||
<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>AI in Healthcare - Gyannetra</title> <!-- Consolidated CSS files for optimal performance -->
|
||||
<title>AI in Healthcare - 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="theme-healthcare" class="gn-mobile-no-overflow">
|
||||
<!-- Preloader -->
|
||||
<div id="page-preloader">
|
||||
<div class="loader-text">Loading Industry...</div>
|
||||
</div>
|
||||
<div class="atmospheric-bg">
|
||||
<div class="light-effect-top"></div>
|
||||
<div class="light-effect-bottom"></div>
|
||||
@@ -29,16 +156,12 @@
|
||||
<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>
|
||||
|
||||
<ul class="nav-links">
|
||||
</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>
|
||||
<ul class="dropdown-menu services-dropdown">
|
||||
<li><a href="../Services/machine-learning.html"><div class="dropdown-item-content"><img src="../assets/mlng.png" alt="Machine Learning Icon" class="dropdown-icon" class="gn-responsive-image"><div class="text-content"><span class="item-title">Machine Learning</span><span class="item-description">We build intelligent systems that learn from data to predict outcomes and automate decisions.</span></div></div></a></li>
|
||||
@@ -50,19 +173,19 @@
|
||||
</li>
|
||||
<li class="dropdown"><a href="#" class="nav-link">Industries ▾</a>
|
||||
<ul class="dropdown-menu industries-dropdown">
|
||||
<li><a href="finance.html"><div class="dropdown-item-content"><img src="../assets/Finance Ind.png" alt="Finance Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Finance</span><span class="item-description">Applying AI to enhance fraud detection, risk management, and customer experience.</span></div></div></a></li>
|
||||
<li><a href="healthcare.html"><div class="dropdown-item-content"><img src="../assets/healthcare ind.png" alt="Healthcare Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Healthcare</span><span class="item-description">Leveraging AI for faster diagnoses, personalized treatments, and improved patient care.</span></div></div></a></li>
|
||||
<li><a href="manufacturing.html"><div class="dropdown-item-content"><img src="../assets/manufacturing ind.png" alt="Manufacturing Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Manufacturing</span><span class="item-description">Optimizing production processes, predicting maintenance needs, and enhancing quality control with AI.</span></div></div></a></li>
|
||||
<li><a href="marketing.html"><div class="dropdown-item-content"><img src="../assets/marketing ind.png" alt="Marketing Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Marketing</span><span class="item-description">Personalizing campaigns, predicting consumer behavior, and optimizing marketing spend using AI.</span></div></div></a></li>
|
||||
<li><a href="media-entertainment.html"><div class="dropdown-item-content"><img src="../assets/media and entertainment ind.png" alt="Media & Entertainment Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Media & Entertainment</span><span class="item-description">Creating engaging content, personalizing recommendations, and optimizing content delivery with AI.</span></div></div></a></li>
|
||||
<li><a href="travel.html"><div class="dropdown-item-content"><img src="../assets/travel ind.png" alt="Travel Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Travel</span><span class="item-description">Enhancing customer journeys, optimizing pricing, and improving operational efficiency through AI.</span></div></div></a></li>
|
||||
<li><a href="retail.html"><div class="dropdown-item-content"><img src="../assets/retail ind.png" alt="Retail Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Retail</span><span class="item-description">Personalizing shopping experiences, optimizing inventory, and predicting demand with AI.</span></div></div></a></li>
|
||||
<li><a href="case-studies.html"><div class="dropdown-item-content"><img src="../assets/case study ind.png" alt="Case Studies Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Case Studies</span><span class="item-description">Real-world examples showcasing how our AI solutions have delivered tangible results for our clients.</span></div></div></a></li>
|
||||
<li><a href="./finance.html"><div class="dropdown-item-content"><img src="../assets/Finance Ind.png" alt="Finance Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Finance</span><span class="item-description">Applying AI to enhance fraud detection, risk management, and customer experience.</span></div></div></a></li>
|
||||
<li><a href="./healthcare.html"><div class="dropdown-item-content"><img src="../assets/healthcare ind.png" alt="Healthcare Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Healthcare</span><span class="item-description">Leveraging AI for faster diagnoses, personalized treatments, and improved patient care.</span></div></div></a></li>
|
||||
<li><a href="./manufacturing.html"><div class="dropdown-item-content"><img src="../assets/manufacturing ind.png" alt="Manufacturing Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Manufacturing</span><span class="item-description">Optimizing production processes, predicting maintenance needs, and enhancing quality control with AI.</span></div></div></a></li>
|
||||
<li><a href="./marketing.html"><div class="dropdown-item-content"><img src="../assets/marketing ind.png" alt="Marketing Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Marketing</span><span class="item-description">Personalizing campaigns, predicting consumer behavior, and optimizing marketing spend using AI.</span></div></div></a></li>
|
||||
<li><a href="./media-entertainment.html"><div class="dropdown-item-content"><img src="../assets/media and entertainment ind.png" alt="Media & Entertainment Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Media & Entertainment</span><span class="item-description">Creating engaging content, personalizing recommendations, and optimizing content delivery with AI.</span></div></div></a></li>
|
||||
<li><a href="./travel.html"><div class="dropdown-item-content"><img src="../assets/travel ind.png" alt="Travel Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Travel</span><span class="item-description">Enhancing customer journeys, optimizing pricing, and improving operational efficiency through AI.</span></div></div></a></li>
|
||||
<li><a href="./retail.html"><div class="dropdown-item-content"><img src="../assets/retail ind.png" alt="Retail Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Retail</span><span class="item-description">Personalizing shopping experiences, optimizing inventory, and predicting demand with AI.</span></div></div></a></li>
|
||||
<li><a href="./case-studies.html"><div class="dropdown-item-content"><img src="../assets/case study ind.png" alt="Case Studies Icon" class="dropdown-icon" / class="gn-responsive-image"><div class="text-content"><span class="item-title">Case Studies</span><span class="item-description">Real-world examples showcasing how our AI solutions have delivered tangible results for our clients.</span></div></div></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown"><a href="#" class="nav-link">Education ▾</a>
|
||||
<ul class="dropdown-menu education-dropdown">
|
||||
<li><a href="../Education/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="../Education/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="../Education/individual-trainings.html"><div class="dropdown-item-content"><img src="../assets/indi training.png" alt="Individual Trainings 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="../Education/corporate-trainings.html"><div class="dropdown-item-content"><img src="../assets/corpo training.png" alt="Corporate Trainings 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>
|
||||
@@ -150,19 +273,19 @@
|
||||
<img src="../assets/diagnostics_icon.svg" alt="AI Diagnostics" / class="gn-responsive-image">
|
||||
<h3>AI-Driven Innovations in Diagnostics</h3>
|
||||
<p>How AI is transforming the way we diagnose and treat diseases through advanced image recognition and pattern analysis</p>
|
||||
<a href="case-studies.html" class="read-more-link">Read More</a>
|
||||
<a href="./case-studies.html" class="read-more-link">Read More</a>
|
||||
</div>
|
||||
<div class="article-card">
|
||||
<img src="../assets/healthcare ind.png" alt="Patient Care" / class="gn-responsive-image">
|
||||
<h3>Case Study: Enhancing Patient Care</h3>
|
||||
<p>Our work with leading hospitals to improve patient outcomes through AI-powered monitoring systems and predictive analytics</p>
|
||||
<a href="case-studies.html" class="read-more-link">Read More</a>
|
||||
<a href="./case-studies.html" class="read-more-link">Read More</a>
|
||||
</div>
|
||||
<div class="article-card">
|
||||
<img src="../assets/personalized_medicine_icon.svg" alt="Ethical Considerations" / class="gn-responsive-image">
|
||||
<h3>AI in Healthcare: Ethical Considerations</h3>
|
||||
<p>Navigating the complex ethical challenges of AI applications in healthcare while ensuring patient privacy and safety</p>
|
||||
<a href="case-studies.html" class="read-more-link">Read More</a>
|
||||
<a href="./case-studies.html" class="read-more-link">Read More</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -217,11 +340,103 @@
|
||||
<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>
|
||||
|
||||
|
||||
</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="./finance.html" class="gn-mobile-nav__sublink">Finance</a></li>
|
||||
<li><a href="./healthcare.html" class="gn-mobile-nav__sublink">Healthcare</a></li>
|
||||
<li><a href="./manufacturing.html" class="gn-mobile-nav__sublink">Manufacturing</a></li>
|
||||
<li><a href="./marketing.html" class="gn-mobile-nav__sublink">Marketing</a></li>
|
||||
<li><a href="./media-entertainment.html" class="gn-mobile-nav__sublink">Media & Entertainment</a></li>
|
||||
<li><a href="./travel.html" class="gn-mobile-nav__sublink">Travel</a></li>
|
||||
<li><a href="./retail.html" class="gn-mobile-nav__sublink">Retail</a></li>
|
||||
<li><a href="./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="../Education/workshops.html" class="gn-mobile-nav__sublink">Webinars</a></li>
|
||||
<li><a href="../Education/individual-trainings.html" class="gn-mobile-nav__sublink">Individual Trainings</a></li>
|
||||
<li><a href="../Education/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/mobile-enhancements.js"></script>
|
||||
<!-- GN Mobile Navigation Script -->
|
||||
<script src="../js/gn-mobile-nav.js" defer></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user