Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
581 changes: 581 additions & 0 deletions Assets/css/style.css

Large diffs are not rendered by default.

Binary file added Assets/images/DL-Communication.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Assets/images/DL-Learning-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Assets/images/DL-Technology.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions Assets/images/DL-learning.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions Assets/images/DL-technology.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions Assets/images/arrow-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Assets/images/cat_20251218202136_7112.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions Assets/images/cat_20251218202503_9878.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions Assets/images/minus-01.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions Assets/images/plus-01.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Assets/images/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
128 changes: 128 additions & 0 deletions Assets/js/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@


const deviceToggle = document.getElementById('deviceToggle');
const mobileView = document.getElementById('mobileView');
const desktopView = document.getElementById('desktopView');
let isDesktopMode = window.innerWidth >= 992;

// Initialize based on screen size
function initializeView() {
if (window.innerWidth >= 992) {
isDesktopMode = true;
deviceToggle.classList.add('active');
mobileView.classList.add('hidden');
desktopView.classList.add('active');
} else {
isDesktopMode = false;
deviceToggle.classList.remove('active');
mobileView.classList.remove('hidden');
desktopView.classList.remove('active');
}
}

// Toggle device view
deviceToggle.addEventListener('click', () => {
isDesktopMode = !isDesktopMode;
deviceToggle.classList.toggle('active');

if (isDesktopMode) {
mobileView.classList.add('hidden');
desktopView.classList.add('active');
} else {
mobileView.classList.remove('hidden');
desktopView.classList.remove('active');
}
});

// Mobile accordion functionality
const accordionItems = document.querySelectorAll('.accordion-item-custom');

function updateIconForItem(item) {
const toggleIcon = item.querySelector('.toggle-icon img');
const isExpanded = item.classList.contains('expanded');

if (isExpanded) {
toggleIcon.src = 'Assets/images/minus-01.svg';
toggleIcon.alt = 'Minus Icon';
} else {
toggleIcon.src = 'Assets/images/plus-01.svg';
toggleIcon.alt = 'Plus Icon';
}
}

accordionItems.forEach(item => {
const header = item.querySelector('.accordion-header-custom');
header.addEventListener('click', () => {
accordionItems.forEach(otherItem => {
if (otherItem !== item && otherItem.classList.contains('expanded')) {
otherItem.classList.remove('expanded');
updateIconForItem(otherItem);
}
});
item.classList.toggle('expanded');
updateIconForItem(item);
});
});

// Desktop tab and slider functionality
const tabs = document.querySelectorAll('.feature-tab');
const dots = document.querySelectorAll('.slider-dots span');
const sliderContent = document.querySelector('.slider-content');

const contentData = [
{
tag: 'DIGITAL LEARNING INFRASTRUCTURE',
title: 'Usability enhancement and Training for Transaction Portal for Customers',
desc: 'Our comprehensive training program ensures seamless adoption of the transaction portal with enhanced usability features.'
},
{
tag: 'TECHNOLOGY INFRASTRUCTURE',
title: 'Advanced Technology Solutions for Modern Business',
desc: 'Leverage cutting-edge technology infrastructure to streamline operations, enhance security, and drive innovation.'
},
{
tag: 'COMMUNICATION FRAMEWORK',
title: 'Seamless Communication Channels for Better Engagement',
desc: 'Connect with customers through multiple channels with our integrated communication framework for engagement.'
}
];

function updateSlider(index) {
tabs.forEach((tab, i) => {
tab.classList.toggle('active', i === index);
});

dots.forEach((dot, i) => {
dot.classList.toggle('active', i === index);
});

const data = contentData[index];
sliderContent.innerHTML = `
<small>${data.tag}</small>
<h2>${data.title}</h2>
<p>${data.desc}</p>
<a href="#" class="learn-more">Learn More →</a>
`;
}

tabs.forEach((tab, index) => {
tab.addEventListener('click', () => updateSlider(index));
});

dots.forEach((dot, index) => {
dot.addEventListener('click', () => updateSlider(index));
});

// Insurance toggle functionality
const insuranceToggle = document.getElementById('insuranceToggle');
if (insuranceToggle) {
insuranceToggle.addEventListener('click', () => {
insuranceToggle.classList.toggle('active');
});
}

// Handle window resize
window.addEventListener('resize', initializeView);

// Initialize
initializeView();
Loading