diff --git a/assets/antalya-logo.png b/assets/antalya-logo.png index 8762e8f..5502eb1 100644 Binary files a/assets/antalya-logo.png and b/assets/antalya-logo.png differ diff --git a/assets/antalya-logoc.png b/assets/antalya-logoc.png new file mode 100644 index 0000000..8762e8f Binary files /dev/null and b/assets/antalya-logoc.png differ diff --git a/js/about.js b/js/about.js deleted file mode 100644 index 8a850f8..0000000 --- a/js/about.js +++ /dev/null @@ -1,14 +0,0 @@ -document.addEventListener("DOMContentLoaded", function() { - const aboutMeImage = document.querySelector('.about-mee img'); - - if (aboutMeImage) { - aboutMeImage.addEventListener('click', function() { - document.querySelector('.sport').classList.add('move-to-position'); - document.querySelector('.education').classList.add('move-to-position'); - document.querySelector('.sosial').classList.add('move-to-position'); - document.querySelector('.experince').classList.add('move-to-position'); - }); - } else { - console.error("'.about-mee img' öğesi bulunamadı!"); - } -}); \ No newline at end of file diff --git a/js/app.js b/js/app.js index 2a82e8d..bcba899 100644 --- a/js/app.js +++ b/js/app.js @@ -16,7 +16,7 @@ loadHeader(); loadFooter(); // Ana sayfa (index.html) için bileşenleri yükle -if (currentPage.includes('index.html') || currentPage === '/') { +if (currentPage.endsWith('/') || currentPage.endsWith('/index.html') || currentPage === '/personal/') { loadHeroSection(); loadAboutMeSection(); loadProjectsSection(); @@ -38,4 +38,3 @@ if (currentPage.includes('about-me.html')) { if (currentPage.includes('portfolio.html')) { loadPortfolioPage(); } - diff --git a/js/components/portfolioPage.js b/js/components/portfolioPage.js index 5314b2b..f4ba174 100644 --- a/js/components/portfolioPage.js +++ b/js/components/portfolioPage.js @@ -7,7 +7,7 @@ export function loadPortfolioPage() {

My Portfolio

- portfolio + portfolio
diff --git a/js/hamburger.js b/js/hamburger.js deleted file mode 100644 index 5811099..0000000 --- a/js/hamburger.js +++ /dev/null @@ -1,16 +0,0 @@ -document.addEventListener('DOMContentLoaded', function () { - const hamburgerMenu = document.querySelector('.hamburger-menu'); - const navMenu = document.querySelector('.nav-menu'); - - hamburgerMenu.addEventListener('click', function () { - - navMenu.classList.toggle('show'); - - - hamburgerMenu.classList.toggle('open'); - }); -}); - - - - \ No newline at end of file