Uschi1000 commited on
Commit
cd9815b
·
verified ·
1 Parent(s): 4eb442d

Promote version baa725e to main

Browse files

Promoted commit baa725ecb9e2db2ed9bbc26968aea929309f1798 to main branch

Files changed (1) hide show
  1. index.html +17 -35
index.html CHANGED
@@ -44,6 +44,7 @@
44
  transition: transform 0.6s ease-in-out, width 0.6s ease-in-out, height 0.6s ease-in-out;
45
  transform-origin: center center;
46
  }
 
47
  /* Landscape Mode Simulation for Fullscreen Image */
48
  .smartphone-container.landscape-mode {
49
  width: 667px; /* Swap width/height */
@@ -52,34 +53,7 @@
52
  box-shadow: 0 0 80px rgba(57, 255, 20, 0.7), 0 0 30px rgba(0, 0, 0, 0.9) inset;
53
  }
54
 
55
- /* Fullscreen image with zoom capability */
56
- .fullscreen-image-container {
57
- position: absolute;
58
- top: 0;
59
- left: 0;
60
- width: 100%;
61
- height: 100%;
62
- background-color: var(--dark-bg);
63
- z-index: 60;
64
- display: none;
65
- overflow: auto;
66
- cursor: zoom-in;
67
- }
68
-
69
- .fullscreen-image-container.zoomed {
70
- cursor: zoom-out;
71
- }
72
-
73
- .fullscreen-image {
74
- width: 100%;
75
- height: auto;
76
- transition: transform 0.3s ease;
77
- }
78
-
79
- .fullscreen-image.zoomed {
80
- transform: scale(2);
81
- }
82
- /* Glassmorphism Effect */
83
  .glass-card {
84
  background-color: var(--glass-bg);
85
  backdrop-filter: blur(8px);
@@ -188,11 +162,16 @@
188
  </div>
189
  <button id="close-menu-btn" class="mt-8 px-4 py-2 bg-neon text-black rounded-xl font-bold w-full btn-futuristic">SCHLIESSEN</button>
190
  </div>
 
191
  <!-- FULLSCREEN IMAGE MODAL (for the utility chart on NFT screen) -->
192
- <div id="fullscreen-image-modal" class="fullscreen-image-container">
193
- <img id="fullscreen-image" src="" alt="NODeSIM Utility Chart" class="fullscreen-image">
 
 
 
194
  </div>
195
- <!-- APP SCREENS -->
 
196
 
197
  <!-- 1. Home Screen -->
198
  <div id="home-screen" class="app-screen block space-y-4">
@@ -304,16 +283,18 @@
304
  <button class="bg-neon text-black p-3 rounded-xl font-bold w-full btn-futuristic">
305
  <ph-plus-circle-bold size="20" class="inline-block mr-1"></ph-plus-circle-bold> NEUES NFT MINTEN
306
  </button>
307
- <!-- Interactive Utility Chart Image -->
 
308
  <h2 class="text-xl text-neon border-b border-neon/50 pb-1 mt-6">NFT Utility Schema</h2>
309
  <div class="glass-card p-2 rounded-xl cursor-pointer hover:shadow-neon/50 transition duration-300" id="utility-chart-preview">
 
310
  <img src="https://huggingface.co/spaces/Uschi1000/nodesim-nft-gallery-fixer/resolve/main/images/NODeSIM%20eSIM-NFT%20Utility.png"
311
  alt="Klicken zum Vergrößern"
312
  data-full-src="https://huggingface.co/spaces/Uschi1000/nodesim-nft-gallery-fixer/resolve/main/images/NODeSIM%20eSIM-NFT%20Utility.png"
313
  class="w-full h-auto rounded-lg object-cover">
314
- <p class="text-xs text-white/50 text-center mt-1">Klicken für Querformat-Ansicht / Detaillierte Utility</p>
315
  </div>
316
- </div>
317
 
318
  <!-- 4. DAO Screen -->
319
  <div id="dao-screen" class="app-screen space-y-4">
@@ -934,8 +915,9 @@
934
  document.getElementById('close-nft-modal-btn').addEventListener('click', () => {
935
  document.getElementById('nft-detail-modal').style.display = 'none';
936
  });
 
937
  // ZURÜCK Button im NFT Modal
938
- document.querySelector('#nft-detail-modal button').addEventListener('click', () => {
939
  document.getElementById('nft-detail-modal').style.display = 'none';
940
  });
941
  // --- Fullscreen Image / Rotation Logic ---
 
44
  transition: transform 0.6s ease-in-out, width 0.6s ease-in-out, height 0.6s ease-in-out;
45
  transform-origin: center center;
46
  }
47
+
48
  /* Landscape Mode Simulation for Fullscreen Image */
49
  .smartphone-container.landscape-mode {
50
  width: 667px; /* Swap width/height */
 
53
  box-shadow: 0 0 80px rgba(57, 255, 20, 0.7), 0 0 30px rgba(0, 0, 0, 0.9) inset;
54
  }
55
 
56
+ /* Glassmorphism Effect */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  .glass-card {
58
  background-color: var(--glass-bg);
59
  backdrop-filter: blur(8px);
 
162
  </div>
163
  <button id="close-menu-btn" class="mt-8 px-4 py-2 bg-neon text-black rounded-xl font-bold w-full btn-futuristic">SCHLIESSEN</button>
164
  </div>
165
+
166
  <!-- FULLSCREEN IMAGE MODAL (for the utility chart on NFT screen) -->
167
+ <div id="fullscreen-image-modal" class="hidden justify-center items-center">
168
+ <button id="close-image-modal-btn" class="absolute top-2 right-4 text-neon text-3xl font-bold z-10 p-2 glass-card rounded-full hover:shadow-neon transition duration-300">
169
+ <ph-x-bold size="24"></ph-x-bold>
170
+ </button>
171
+ <img id="fullscreen-image" src="" alt="NODeSIM Utility Chart" class="max-w-full max-h-full object-contain">
172
  </div>
173
+
174
+ <!-- APP SCREENS -->
175
 
176
  <!-- 1. Home Screen -->
177
  <div id="home-screen" class="app-screen block space-y-4">
 
283
  <button class="bg-neon text-black p-3 rounded-xl font-bold w-full btn-futuristic">
284
  <ph-plus-circle-bold size="20" class="inline-block mr-1"></ph-plus-circle-bold> NEUES NFT MINTEN
285
  </button>
286
+
287
+ <!-- Interactive Utility Chart Image (Mock Image) -->
288
  <h2 class="text-xl text-neon border-b border-neon/50 pb-1 mt-6">NFT Utility Schema</h2>
289
  <div class="glass-card p-2 rounded-xl cursor-pointer hover:shadow-neon/50 transition duration-300" id="utility-chart-preview">
290
+ <!-- Image Placeholder URL is used here -->
291
  <img src="https://huggingface.co/spaces/Uschi1000/nodesim-nft-gallery-fixer/resolve/main/images/NODeSIM%20eSIM-NFT%20Utility.png"
292
  alt="Klicken zum Vergrößern"
293
  data-full-src="https://huggingface.co/spaces/Uschi1000/nodesim-nft-gallery-fixer/resolve/main/images/NODeSIM%20eSIM-NFT%20Utility.png"
294
  class="w-full h-auto rounded-lg object-cover">
295
+ <p class="text-xs text-white/50 text-center mt-1">Klicken für Querformat-Ansicht / Detaillierte Utility</p>
296
  </div>
297
+ </div>
298
 
299
  <!-- 4. DAO Screen -->
300
  <div id="dao-screen" class="app-screen space-y-4">
 
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 ---