Skip to content

Commit

Permalink
thisproject is MyPortfolio
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminAhmed1456 committed Dec 2, 2024
0 parents commit d021c33
Show file tree
Hide file tree
Showing 47 changed files with 1,366 additions and 0 deletions.
Binary file added images/Card_3D designer-1.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 images/Card_3D designer.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 images/Gradient-1.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 images/Gradient-2.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 images/Gradient.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 images/Group.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 images/Portfolio-1.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 images/Portfolio-2.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 images/Portfolio.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 images/Rectangle 27.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 images/Screenshot 2022-09-30 at 10.49 1-1.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 images/Screenshot 2022-09-30 at 10.49 1-2.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 images/Screenshot 2022-09-30 at 10.49 1.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 images/Screenshot 2022-09-30 at 10.49 3-1.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 images/Screenshot 2022-09-30 at 10.49 3-2.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 images/Screenshot 2022-09-30 at 10.49 3.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 images/akar-icons_pinterest-fill.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 images/cenetr.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 images/iMac - 5.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 images/image 2.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 images/img.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 images/img1.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 images/img_blog1.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 images/img_blog2.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 images/img_blog3.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 images/img_blog4.png
Binary file added images/img_blog5.png
Binary file added images/img_blog6.png
Binary file added images/img_center bottom rigth.png
Binary file added images/img_center bottom.png
162 changes: 162 additions & 0 deletions images/img_home.svg

Large diffs are not rendered by default.

Binary file added images/img_icon.png
Binary file added images/img_icon2.png
Binary file added images/img_icon3.png
Binary file added images/img_left bottom.png
Binary file added images/img_left rigth.png
Binary file added images/img_left top.png
Binary file added images/img_left topl.png
Binary file added images/img_review.png
Binary file added images/img_rigth top.png
Binary file added images/img_rigth top2.png
Binary file added images/port.jpg
Binary file added images/portfolio.jpg
Binary file added images/yasmin.jpg
511 changes: 511 additions & 0 deletions index.html

Large diffs are not rendered by default.

44 changes: 44 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
const body = document.body;
const toggleThemeBtn = document.getElementById('toggle-theme');
const themeIcon = toggleThemeBtn.querySelector('i');

toggleThemeBtn.addEventListener('click', () => {
const currentTheme = body.getAttribute('data-theme');
if (currentTheme === 'dark') {
body.setAttribute('data-theme', 'light');
toggleThemeBtn.classList.replace('btn-outline-light', 'btn-outline-dark');
themeIcon.classList.replace('bi-moon-fill', 'bi-sun-fill');
toggleThemeBtn.innerHTML = '<i class="bi bi-sun-fill"></i> Light Mode';
} else {
body.setAttribute('data-theme', 'dark');
toggleThemeBtn.classList.replace('btn-outline-dark', 'btn-outline-light');
themeIcon.classList.replace('bi-sun-fill', 'bi-moon-fill');
toggleThemeBtn.innerHTML = '<i class="bi bi-moon-fill"></i> Dark Mode';
}
});

// Add hover effects to service boxes
document.querySelectorAll('.service-box').forEach((box) => {
box.addEventListener('mouseover', () => {
box.style.transform = 'scale(1.05)';
});
box.addEventListener('mouseout', () => {
box.style.transform = 'scale(1)';
});
});


const toggleButton = document.getElementById("toggle-mode");
const contactSection = document.getElementById("contact");

toggleButton.addEventListener("click", () => {
// Toggle the "dark-mode" class
contactSection.classList.toggle("dark-mode");

// Update the button text
if (contactSection.classList.contains("dark-mode")) {
toggleButton.textContent = "Switch to Light Mode";
} else {
toggleButton.textContent = "Switch to Dark Mode";
}
});
Loading

0 comments on commit d021c33

Please sign in to comment.