Spaces:
Running
Running
Upload 9 files
Browse files- src/views/StudentView.js +2 -2
src/views/StudentView.js
CHANGED
|
@@ -353,14 +353,14 @@ export async function renderStudentView() {
|
|
| 353 |
}).join('')}
|
| 354 |
</div>
|
| 355 |
|
| 356 |
-
<!--Peer Learning FAB--
|
| 357 |
<button onclick="window.openPeerModal()" class="fixed bottom-6 right-6 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"
|
| 358 |
title="查看同學作業">
|
| 359 |
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
| 360 |
<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" />
|
| 361 |
</svg>
|
| 362 |
</button>
|
| 363 |
-
</div
|
| 364 |
`;
|
| 365 |
}
|
| 366 |
|
|
|
|
| 353 |
}).join('')}
|
| 354 |
</div>
|
| 355 |
|
| 356 |
+
<!-- Peer Learning FAB -->
|
| 357 |
<button onclick="window.openPeerModal()" class="fixed bottom-6 right-6 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"
|
| 358 |
title="查看同學作業">
|
| 359 |
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
| 360 |
<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" />
|
| 361 |
</svg>
|
| 362 |
</button>
|
| 363 |
+
</div>
|
| 364 |
`;
|
| 365 |
}
|
| 366 |
|