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
106 changes: 103 additions & 3 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,24 @@ article.active {
z-index: -1;
}

/* /* /Logo caption/
<style>
.clients-item {
text-align: center;
margin: 10px;
}

.clients-item img {
width: 100px;
height: auto;
}

.logo-caption {
font-size: 0.9rem;
color: #555;
margin-top: 50px;
}
</style> */


/*-----------------------------------*\
Expand All @@ -315,7 +331,7 @@ main {
\*-----------------------------------*/

.sidebar {
margin-bottom: 15px;
margin-bottom: 100px;
max-height: 112px;
overflow: hidden;
transition: var(--transition-2);
Expand All @@ -328,12 +344,12 @@ main {
display: flex;
justify-content: flex-start;
align-items: center;
gap: 15px;
gap: 50px;
}

.avatar-box {
background: var(--bg-gradient-onyx);
border-radius: 20px;
border-radius: 5px;
}

.info-content .name {
Expand Down Expand Up @@ -488,6 +504,90 @@ main {
.navbar-link.active { color: var(--orange-yellow-crayola); }


<style>
.key-roles-carousel {
position: relative;
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
overflow: hidden;
}

.carousel-container {
position: relative;
width: 100%;
overflow: hidden;
}

.carousel-track {
display: flex;
transition: transform 0.5s ease;
}

.carousel-slide {
min-width: 100%;
padding: 0 1rem;
text-align: center;
}

.carousel-slide img {
max-width: 150px;
height: auto;
margin: 0 auto;
}

.carousel-prev, .carousel-next {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(0,0,0,0.5);
color: white;
border: none;
padding: 1rem;
cursor: pointer;
z-index: 10;
border-radius: 50%;
}

.carousel-prev {
left: 1rem;
}

.carousel-next {
right: 1rem;
}

.carousel-indicators {
display: flex;
justify-content: center;
margin-top: 1rem;
}

.carousel-indicators span {
width: 12px;
height: 12px;
border-radius: 50%;
background: #ccc;
margin: 0 5px;
cursor: pointer;
}

.carousel-indicators span.active {
background: #333;
}

@media (min-width: 768px) {
.carousel-slide {
min-width: 50%;
}
}

@media (min-width: 1024px) {
.carousel-slide {
min-width: 33.33%;
}
}
</style> */



Expand Down
Binary file added assets/images/Developer-Logo.png
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/ML-Logo.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 modified assets/images/logo-1-color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/images/logo-2-color.png
Binary file not shown.
Binary file removed assets/images/logo-3-color.png
Binary file not shown.
78 changes: 78 additions & 0 deletions assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,84 @@ const sidebarBtn = document.querySelector("[data-sidebar-btn]");
// sidebar toggle functionality for mobile
sidebarBtn.addEventListener("click", function () { elementToggleFunc(sidebar); });

<script>
document.addEventListener('DOMContentLoaded', function() {
const track = document.querySelector('.carousel-track');
const slides = document.querySelectorAll('.carousel-slide');
const prevBtn = document.querySelector('.carousel-prev');
const nextBtn = document.querySelector('.carousel-next');
const indicatorsContainer = document.querySelector('.carousel-indicators');

let currentIndex = 0;
let slideInterval;
const slideCount = slides.length;

// Create indicators
slides.forEach((_, index) => {
const indicator = document.createElement('span');
indicator.addEventListener('click', () => goToSlide(index));
indicatorsContainer.appendChild(indicator);
});

const indicators = document.querySelectorAll('.carousel-indicators span');

// Set up auto-slide
function startAutoSlide() {
slideInterval = setInterval(() => {
nextSlide();
}, 3000);
}

function stopAutoSlide() {
clearInterval(slideInterval);
}

function updateCarousel() {
track.style.transform = `translateX(-${currentIndex * 100}%)`;

// Update indicators
indicators.forEach((indicator, index) => {
indicator.classList.toggle('active', index === currentIndex);
});
}

function nextSlide() {
currentIndex = (currentIndex + 1) % slideCount;
updateCarousel();
}

function prevSlide() {
currentIndex = (currentIndex - 1 + slideCount) % slideCount;
updateCarousel();
}

function goToSlide(index) {
currentIndex = index;
updateCarousel();
}

// Event listeners
nextBtn.addEventListener('click', () => {
nextSlide();
stopAutoSlide();
startAutoSlide();
});

prevBtn.addEventListener('click', () => {
prevSlide();
stopAutoSlide();
startAutoSlide();
});

// Pause on hover
document.querySelector('.carousel-container').addEventListener('mouseenter', stopAutoSlide);
document.querySelector('.carousel-container').addEventListener('mouseleave', startAutoSlide);

// Initialize
updateCarousel();
startAutoSlide();
});
</script>


// testimonials variables
Expand Down
Empty file added finance.html
Empty file.
Loading