Lashtw commited on
Commit
31a5b81
·
verified ·
1 Parent(s): c9b44e9

Upload 9 files

Browse files
Files changed (1) hide show
  1. src/views/StudentView.js +5 -5
src/views/StudentView.js CHANGED
@@ -417,18 +417,18 @@ export async function renderStudentView() {
417
  </div>
418
 
419
  <!-- Peer Learning FAB -->
420
- <button onclick="window.openPeerModal()" class="fixed bottom-8 left-1/2 -translate-x-1/2 bg-purple-600 hover:bg-purple-500 text-white rounded-full p-5 shadow-[0_0_20px_rgba(147,51,234,0.6)] transition-transform hover:scale-110 active:scale-90 z-40 flex items-center space-x-2"
421
  title="查看同學作業">
422
- <svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8" fill="none" viewBox="0 0 24 24" stroke="currentColor">
423
  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0z" />
424
  </svg>
425
- <span class="font-bold text-lg hidden sm:inline">查看同學提示詞</span>
426
  </button>
427
 
428
  <!-- Credits Footer -->
429
- <div class="fixed bottom-1 right-2 z-30 text-[10px] text-gray-600 font-mono text-right pointer-events-none sm:pointer-events-auto select-none opacity-60 hover:opacity-100 transition-opacity">
430
  <div>程式設計者:新竹縣精華國中 藍星宇老師</div>
431
- <div>教育社群:<a href="https://www.facebook.com/groups/1554372228718393" target="_blank" class="text-gray-500 hover:text-cyan-400 pointer-events-auto">萬物皆數</a></div>
432
  </div>
433
  </div>
434
  `;
 
417
  </div>
418
 
419
  <!-- Peer Learning FAB -->
420
+ <button onclick="window.openPeerModal()" class="fixed bottom-14 right-4 bg-purple-600 hover:bg-purple-500 text-white rounded-full p-4 shadow-xl shadow-purple-600/40 transition-transform hover:scale-110 active:scale-90 z-40 flex items-center space-x-2"
421
  title="查看同學作業">
422
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
423
  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0z" />
424
  </svg>
425
+ <span class="font-bold text-sm hidden sm:inline">查看同學提示詞</span>
426
  </button>
427
 
428
  <!-- Credits Footer -->
429
+ <div class="fixed bottom-1 right-2 z-30 text-[10px] text-gray-400 font-mono text-right pointer-events-none sm:pointer-events-auto select-none opacity-80 hover:opacity-100 transition-opacity">
430
  <div>程式設計者:新竹縣精華國中 藍星宇老師</div>
431
+ <div>教育社群:<a href="https://www.facebook.com/groups/1554372228718393" target="_blank" class="text-gray-300 hover:text-white pointer-events-auto">萬物皆數</a></div>
432
  </div>
433
  </div>
434
  `;