mach aus SCHLIESSEN "ZURÜCK" bei allen NFT Karten und achte dabei dass wenn man anklick auch wirklich schließt
Browse files- index.html +7 -5
index.html
CHANGED
|
@@ -426,9 +426,9 @@
|
|
| 426 |
</ul>
|
| 427 |
</div>
|
| 428 |
<button class="mt-4 w-full py-3 bg-neon text-black font-bold rounded-xl btn-futuristic hover:shadow-neon">
|
| 429 |
-
<ph-
|
| 430 |
</button>
|
| 431 |
-
|
| 432 |
</div>
|
| 433 |
<!-- Bottom Navigation Bar -->
|
| 434 |
<nav class="h-16 flex justify-around items-center bg-black/80 border-t border-neon/50 backdrop-blur-sm">
|
|
@@ -911,14 +911,16 @@
|
|
| 911 |
closeMenuBtn.addEventListener('click', () => {
|
| 912 |
pitchDeckMenu.classList.remove('open');
|
| 913 |
});
|
| 914 |
-
|
| 915 |
// NFT Modal Close
|
| 916 |
document.getElementById('close-nft-modal-btn').addEventListener('click', () => {
|
| 917 |
document.getElementById('nft-detail-modal').style.display = 'none';
|
| 918 |
});
|
| 919 |
|
| 920 |
-
|
| 921 |
-
|
|
|
|
|
|
|
|
|
|
| 922 |
const smartphoneContainer = document.getElementById('smartphone-container');
|
| 923 |
const utilityChartPreview = document.getElementById('utility-chart-preview');
|
| 924 |
const fullscreenImageModal = document.getElementById('fullscreen-image-modal');
|
|
|
|
| 426 |
</ul>
|
| 427 |
</div>
|
| 428 |
<button class="mt-4 w-full py-3 bg-neon text-black font-bold rounded-xl btn-futuristic hover:shadow-neon">
|
| 429 |
+
<ph-arrow-left-bold size="20" class="inline-block mr-1"></ph-arrow-left-bold> ZURÜCK
|
| 430 |
</button>
|
| 431 |
+
</div>
|
| 432 |
</div>
|
| 433 |
<!-- Bottom Navigation Bar -->
|
| 434 |
<nav class="h-16 flex justify-around items-center bg-black/80 border-t border-neon/50 backdrop-blur-sm">
|
|
|
|
| 911 |
closeMenuBtn.addEventListener('click', () => {
|
| 912 |
pitchDeckMenu.classList.remove('open');
|
| 913 |
});
|
|
|
|
| 914 |
// NFT Modal Close
|
| 915 |
document.getElementById('close-nft-modal-btn').addEventListener('click', () => {
|
| 916 |
document.getElementById('nft-detail-modal').style.display = 'none';
|
| 917 |
});
|
| 918 |
|
| 919 |
+
// ZURÜCK Button im NFT Modal
|
| 920 |
+
document.querySelector('#nft-detail-modal .modal button').addEventListener('click', () => {
|
| 921 |
+
document.getElementById('nft-detail-modal').style.display = 'none';
|
| 922 |
+
});
|
| 923 |
+
// --- Fullscreen Image / Rotation Logic ---
|
| 924 |
const smartphoneContainer = document.getElementById('smartphone-container');
|
| 925 |
const utilityChartPreview = document.getElementById('utility-chart-preview');
|
| 926 |
const fullscreenImageModal = document.getElementById('fullscreen-image-modal');
|