Spaces:
Configuration error
Configuration error
File size: 16,602 Bytes
6140987 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 |
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Favicon -->
<link rel="icon" type="image/png" href="images/logo%2030-01-25.png">
<title>David KRK · Music - DJ Sets & Productions</title>
<!-- Meta tags for SEO -->
<meta name="description" content="Écoutez les derniers sets et productions de David KRK. Techno, Trance et Tech Trance. Disponible sur Mixcloud et Soundcloud.">
<meta name="keywords" content="David KRK, DJ sets, techno music, trance, tech trance, mixcloud, soundcloud, electronic music">
<meta name="author" content="David KRK">
<!-- Open Graph / Social Media -->
<meta property="og:title" content="David KRK · Music - DJ Sets & Productions">
<meta property="og:description" content="Écoutez les derniers sets et productions de David KRK. Techno, Trance et Tech Trance.">
<meta property="og:image" content="https://raw.githubusercontent.com/DavidKRK/DavidKRK.github.io/main/logo%2030-01-25.png">
<meta property="og:url" content="https://davidkrk.com/music.html">
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="David KRK · Music">
<meta name="twitter:description" content="DJ Sets & Productions - Techno, Trance, Tech Trance">
<meta name="twitter:image" content="https://raw.githubusercontent.com/DavidKRK/DavidKRK.github.io/main/logo%2030-01-25.png">
<!-- Preload critical resources -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Russo+One&display=swap" as="style">
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css" as="style">
<!-- Stylesheets -->
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Russo+One&display=swap" as="style">
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css" as="style">
<link rel="preload" href="dist/output.css" as="style">
<link href="https://fonts.googleapis.com/css2?family=Russo+One&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
<link rel="stylesheet" href="dist/output.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
<link rel="stylesheet" href="dist/output.css">
<!-- Schema.org markup for Google -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "MusicGroup",
"name": "David KRK",
"url": "https://davidkrk.com/music.html",
"image": "https://raw.githubusercontent.com/DavidKRK/DavidKRK.github.io/main/logo%2030-01-25.png",
"description": "DJ Techno et Producteur de musique électronique",
"genre": ["Techno", "Trance", "Tech Trance"],
"sameAs": [
"https://www.mixcloud.com/DavidKRK/",
"https://soundcloud.com/davidkrk/"
]
}
</script>
<style>
:root {
--primary-color: #FF0000;
--secondary-color: #141414;
--accent-color-1: #FF69B4;
--accent-color-2: #FFC67D;
--text-color: #FFFFFF;
--mixcloud-color: #45a0e6;
--soundcloud-color: #ff8800;
--animation-duration: 1s;
--transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
}
body {
background: linear-gradient(135deg, var(--secondary-color), #000000);
color: var(--text-color);
font-family: 'Russo One', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
overflow-x: hidden;
}
.title-animation {
opacity: 0;
animation: fadeInDown var(--animation-duration) var(--transition-timing) forwards;
}
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.hover-underline-animation {
display: inline-block;
position: relative;
background: linear-gradient(to right, var(--accent-color-1), var(--accent-color-2));
background-clip: text;
-webkit-background-clip: text;
color: transparent;
animation: gradient 10s ease infinite;
transition: transform 0.3s var(--transition-timing);
}
.hover-underline-animation:after {
content: '';
position: absolute;
width: 100%;
height: 2px;
bottom: -2px;
left: 0;
background: linear-gradient(to right, var(--accent-color-1), var(--accent-color-2));
transform: scaleX(0);
transform-origin: right;
transition: transform 0.3s var(--transition-timing);
}
.hover-underline-animation:hover {
transform: translateY(-2px);
}
.hover-underline-animation:hover:after {
transform: scaleX(1);
transform-origin: left;
}
@keyframes gradient {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.rotate {
animation: rotate 10s linear infinite;
filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.neon {
animation: neon 2s ease-in-out infinite;
text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}
@keyframes neon {
0%, 100% { color: #FFFF00; text-shadow: 0 0 10px rgba(255, 255, 0, 0.5); }
50% { color: #00FFFF; text-shadow: 0 0 20px rgba(0, 255, 255, 0.7); }
}
nav {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
padding: 2rem;
margin-bottom: 2rem;
}
nav a {
position: relative;
transition: all 0.3s var(--transition-timing);
}
nav a:hover {
transform: translateY(-2px);
}
.fab {
font-size: 1.5rem;
margin-right: 0.5rem;
vertical-align: middle;
}
.fa-mixcloud {
color: var(--mixcloud-color);
filter: drop-shadow(0 0 5px rgba(69, 160, 230, 0.5));
}
.fa-soundcloud {
color: var(--soundcloud-color);
filter: drop-shadow(0 0 5px rgba(255, 136, 0, 0.5));
}
.player-container {
width: 100%;
max-width: 800px;
margin: 0 auto;
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 1s var(--transition-timing) forwards;
animation-delay: 0.5s;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fixed-footer {
position: fixed;
bottom: 0;
right: 0;
padding: 1rem;
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(10px);
border-radius: 10px 0 0 0;
box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
z-index: 1000;
}
@media (max-width: 768px) {
nav {
flex-direction: column;
gap: 1rem;
}
.fab {
font-size: 1.2rem;
}
h1 {
font-size: 3rem !important;
}
h2 {
font-size: 2rem !important;
}
.fixed-footer {
padding: 0.5rem;
}
.fixed-footer img {
width: 3rem;
height: 3rem;
}
}
@media (max-width: 480px) {
nav a {
font-size: 1.2rem !important;
}
h1 {
font-size: 2rem !important;
}
h2 {
font-size: 1.5rem !important;
}
}
.load-player-btn {
width: 100%;
padding: 2rem;
margin: 1rem 0;
font-size: 1.2rem;
transition: all 0.3s ease;
border: 2px solid transparent;
}
.mixcloud-container .load-player-btn {
background: linear-gradient(135deg, #45a0e6, #3178b3);
border-color: #45a0e6;
}
.soundcloud-container .load-player-btn {
background: linear-gradient(135deg, #ff8800, #ff5500);
border-color: #ff8800;
}
.load-player-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
</style>
<script>
function showContent(lang) {
const contents = document.querySelectorAll('.lang-content');
contents.forEach(content => content.style.display = 'none');
document.getElementById(lang).style.display = 'block';
}
</script>
</head>
<body>
<div id="music" class="py-20">
<div class="container mx-auto px-6">
<h1 class="text-8xl font-bold text-center mb-4 title-animation">David KRK</h1>
<h2 class="text-6xl font-bold text-center mb-12 text-red-500 title-animation">Sets & Productions</h2>
<nav class="text-center mb-12">
<a href="index.html" class="text-3xl hover-underline-animation flex items-center justify-center">
<i class="fas fa-arrow-left mr-2"></i> Back
</a>
<a href="https://www.mixcloud.com/DavidKRK/" target="_blank" rel="noopener noreferrer" class="hover:scale-110 transition-transform" aria-label="Mixcloud">
<i class="fab fa-mixcloud text-4xl"></i>
</a>
<a href="https://soundcloud.com/davidkrk/" target="_blank" rel="noopener noreferrer" class="hover:scale-110 transition-transform" aria-label="SoundCloud">
<i class="fab fa-soundcloud text-4xl"></i>
</a>
</nav>
<div class="mixcloud-container" data-url="https://www.mixcloud.com/widget/iframe/?hide_cover=1&light=0&mini=1&hide_artwork=1&autoplay=0&hide_followers=1&hide_followbutton=1&feed=%2FDavidKRK%2Fplaylists%2Fdavid-krk-life-good-techno%2F">
<button type="button" class="load-player-btn bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded" onclick="loadPlayer(this, 'mixcloud')">
<i class="fab fa-mixcloud mr-2"></i>Charger le lecteur Mixcloud
</button>
<button type="button" class="load-player-btn bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded" onclick="loadPlayer(this, 'mixcloud')">
<i class="fab fa-mixcloud mr-2"></i>Charger le lecteur Mixcloud
</button>
<button type="button" class="load-player-btn bg-orange-600 hover:bg-orange-700 text-white font-bold py-2 px-4 rounded" onclick="loadPlayer(this, 'soundcloud')">
<i class="fab fa-soundcloud mr-2"></i>Charger le lecteur SoundCloud
</button>
</div>
</div>
<div class="text-center mb-12">
<p class="text-xl mb-4">Follow David KRK on social media for the latest updates:</p>
<div class="flex justify-center gap-6">
<a href="https://www.facebook.com/DavidKRKofficial" target="_blank" rel="noopener noreferrer" class="hover:scale-110 transition-transform" aria-label="Facebook">
<i class="fab fa-facebook text-4xl"></i>
</a>
<a href="https://www.instagram.com/davidkrk/" target="_blank" rel="noopener noreferrer" class="hover:scale-110 transition-transform" aria-label="Instagram">
<i class="fab fa-instagram text-4xl"></i>
</a>
<a href="https://www.youtube.com/user/DavidKRKofficial" target="_blank" rel="noopener noreferrer" class="hover:scale-110 transition-transform" aria-label="YouTube">
<i class="fab fa-youtube text-4xl"></i>
</a>
</div>
</div>
</div>
<div class="fixed-footer">
<footer class="flex items-center gap-4">
<div>
<p class="text-gray-400 mb-2">© 2025 All rights reserved <span class="rotate inline-block">David KRK</span></p>
<p class="neon font-bold text-lg">"May The Techno Be With You"</p>
</div>
<img src="images/logo 30-01-25.png" alt="Logo David KRK" class="w-16 h-16 border-2 border-white rounded-full">
</footer>
</div>
<!-- SoundCloud Widget API -->
<script src="https://w.soundcloud.com/player/api.js"></script>
<script src="https://widget.mixcloud.com/media/js/widgetApi.js"></script>
<script>
// Fonction pour charger les scripts des widgets de manière asynchrone
function loadScript(src) {
return new Promise((resolve, reject) => {
if (document.querySelector(`script[src="${src}"]`)) {
resolve();
return;
}
const script = document.createElement('script');
script.src = src;
script.async = true;
script.onload = resolve;
script.onerror = reject;
document.body.appendChild(script);
});
}
// Fonction pour charger un lecteur
async function loadPlayer(button, type) {
const container = button.parentElement;
const url = container.dataset.url;
// Créer l'iframe
const iframe = document.createElement('iframe');
iframe.width = '100%';
iframe.height = type === 'mixcloud' ? '180' : '450';
iframe.frameBorder = '0';
iframe.allow = 'autoplay';
iframe.loading = 'lazy';
iframe.src = url;
// Remplacer le bouton par l'iframe
container.innerHTML = '';
container.appendChild(iframe);
try {
// Charger le script approprié
if (type === 'mixcloud') {
await loadScript('https://widget.mixcloud.com/media/js/widgetApi.js');
const widget = Mixcloud.PlayerWidget(iframe);
await widget.ready;
widget.events.play.on(() => console.log('Mixcloud playing'));
} else if (type === 'soundcloud') {
await loadScript('https://w.soundcloud.com/player/api.js');
const widget = SC.Widget(iframe);
widget.bind(SC.Widget.Events.READY, () => console.log('SoundCloud ready'));
}
} catch (error) {
console.log(`Error loading ${type} widget:`, error);
container.innerHTML = `<div class="text-red-500 p-4">Erreur de chargement du lecteur. Veuillez réessayer.</div>`;
}
}
// Animation des éléments au scroll
document.addEventListener('DOMContentLoaded', function() {
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.opacity = '1';
entry.target.style.transform = 'translateY(0)';
}
});
}, {
threshold: 0.1
});
document.querySelectorAll('.player-container').forEach(container => {
observer.observe(container);
});
});
</script>
</body>
</html>
|