Skip to content
Merged
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
2 changes: 1 addition & 1 deletion bio.html
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ <h1 class="main-title">David KRK</h1>
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-soundcloud"></i></a>
<a href="https://www.tiktok.com/@davidkrk" target="_blank" rel="noopener noreferrer" aria-label="TikTok"
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-tiktok"></i></a>
<a href="https://www.buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
<a href="https://www.buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
</div>

<div class="flex flex-wrap justify-center items-center gap-3 sm:gap-4 mb-4 text-sm">
Expand Down
6 changes: 5 additions & 1 deletion contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ <h1 class="main-title">David KRK</h1>
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-soundcloud"></i></a>
<a href="https://www.tiktok.com/@davidkrk" target="_blank" rel="noopener noreferrer" aria-label="TikTok"
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-tiktok"></i></a>
<a href="https://www.buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
<a href="https://www.buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
</div>

<div class="flex flex-wrap justify-center items-center gap-3 sm:gap-4 mb-4 text-sm">
Expand Down Expand Up @@ -197,6 +197,10 @@ <h1 class="main-title">David KRK</h1>
if (activeBtn) {
activeBtn.classList.add('active');
}

// Update document language and text direction for accessibility and RTL support
document.documentElement.lang = lang;
document.documentElement.dir = (lang === 'ar') ? 'rtl' : 'ltr';
}
Comment on lines +201 to 204

langBtns.forEach(btn => {
Expand Down
14 changes: 10 additions & 4 deletions event.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ <h1 class="main-title">David KRK</h1>

<footer class="w-full max-w-7xl mx-auto">
<div class="mt-8 mb-8 player-container">
<iframe width="100%" height="120"
<iframe title="Mixcloud player" width="100%" height="120"
style="border:0;"
src="https://player-widget.mixcloud.com/widget/iframe/?hide_cover=1&hide_artwork=1&autoplay=1&feed=%2FDavidKRK%2Fdavid-krk-life-good-techno-ep3%2F"
frameborder="0"
allow="autoplay; encrypted-media; fullscreen; idle-detection; speaker-selection; web-share"></iframe>
Comment on lines +83 to 86
</div>

Expand All @@ -99,7 +99,7 @@ <h1 class="main-title">David KRK</h1>
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-soundcloud"></i></a>
<a href="https://www.tiktok.com/@davidkrk" target="_blank" rel="noopener noreferrer" aria-label="TikTok"
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-tiktok"></i></a>
<a href="https://www.buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
<a href="https://www.buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
</div>

<div class="flex flex-wrap justify-center items-center gap-3 sm:gap-4 mb-4 text-sm">
Expand All @@ -125,18 +125,24 @@ <h1 class="main-title">David KRK</h1>

const contentsToShow = document.querySelectorAll(`.lang-content[data-lang="${lang}"]`);
contentsToShow.forEach(content => content.classList.add('active'));

const activeBtn = document.querySelector(`.language-btn[data-lang="${lang}"]`);
if (activeBtn) {
activeBtn.classList.add('active');
}

// Update document language and text direction for accessibility and RTL support
document.documentElement.lang = lang;
document.documentElement.dir = (lang === 'ar') ? 'rtl' : 'ltr';
}
Comment on lines +134 to 137

langBtns.forEach(btn => {
btn.addEventListener('click', () => {
switchLanguage(btn.dataset.lang);
});
});

switchLanguage('fr');
});
</script>
</body>
Expand Down
9 changes: 7 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h1 class="main-title">David KRK</h1>
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-soundcloud"></i></a>
<a href="https://www.tiktok.com/@davidkrk" target="_blank" rel="noopener noreferrer" aria-label="TikTok"
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-tiktok"></i></a>
<a href="https://www.buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
<a href="https://www.buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
</div>

<div class="flex flex-wrap justify-center items-center gap-3 sm:gap-4 mb-4 text-sm">
Expand All @@ -165,11 +165,15 @@ <h1 class="main-title">David KRK</h1>

const contentsToShow = document.querySelectorAll(`.lang-content[data-lang="${lang}"]`);
contentsToShow.forEach(content => content.classList.add('active'));

const activeBtn = document.querySelector(`.language-btn[data-lang="${lang}"]`);
if (activeBtn) {
activeBtn.classList.add('active');
}

// Update document language and text direction for accessibility and RTL support
document.documentElement.lang = lang;
document.documentElement.dir = (lang === 'ar') ? 'rtl' : 'ltr';
}
Comment on lines +174 to 177

langBtns.forEach(btn => {
Expand All @@ -178,6 +182,7 @@ <h1 class="main-title">David KRK</h1>
});
});

switchLanguage('fr');
});
</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion music.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ <h3><i class="fab fa-youtube" style="color:#ff0000;"></i> <span id="youtube-titl
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-soundcloud"></i></a>
<a href="https://www.tiktok.com/@davidkrk" target="_blank" rel="noopener noreferrer" aria-label="TikTok"
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-tiktok"></i></a>
<a href="https://www.buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
<a href="https://www.buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
</div>

<div class="flex flex-wrap justify-center items-center gap-3 sm:gap-4 mb-4 text-sm">
Expand Down
8 changes: 7 additions & 1 deletion shop.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h2 class="mt-4">Офіційний магазин</h2>
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-soundcloud"></i></a>
<a href="https://www.tiktok.com/@davidkrk" target="_blank" rel="noopener noreferrer" aria-label="TikTok"
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-tiktok"></i></a>
<a href="https://www.buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
<a href="https://www.buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
</div>

<div class="flex flex-wrap justify-center items-center gap-3 sm:gap-4 mb-4 text-sm">
Expand Down Expand Up @@ -223,13 +223,19 @@ <h2 class="mt-4">Офіційний магазин</h2>

const activeBtn = document.querySelector(`.language-btn[data-lang="${lang}"]`);
if (activeBtn) activeBtn.classList.add('active');

// Update document language and text direction for accessibility and RTL support
document.documentElement.lang = lang;
document.documentElement.dir = (lang === 'ar') ? 'rtl' : 'ltr';
}
Comment on lines +227 to 230

langBtns.forEach(btn => {
btn.addEventListener('click', () => {
switchLanguage(btn.dataset.lang);
});
});

switchLanguage('fr');
});
</script>
</body>
Expand Down
Loading