Spaces:
Paused
Paused
superxuu commited on
Commit ·
bd2ed4e
1
Parent(s): 92512e6
style: Update 'Play Again' button color to match the theme (Red/Pink gradient)
Browse files
frontend/src/components/TradePanel.tsx
CHANGED
|
@@ -200,7 +200,14 @@ export default function TradePanel() {
|
|
| 200 |
<p className="text-gray-400 text-xs lg:text-sm">{useGameStore.getState().realName} ({useGameStore.getState().realCode})</p>
|
| 201 |
</div>
|
| 202 |
</div>
|
| 203 |
-
<button
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 204 |
</div>
|
| 205 |
<div className="p-4 lg:p-6 flex-1 overflow-y-auto">
|
| 206 |
<div className="max-w-4xl mx-auto">
|
|
|
|
| 200 |
<p className="text-gray-400 text-xs lg:text-sm">{useGameStore.getState().realName} ({useGameStore.getState().realCode})</p>
|
| 201 |
</div>
|
| 202 |
</div>
|
| 203 |
+
<button
|
| 204 |
+
onClick={() => { reset(); handleStartGame(); }}
|
| 205 |
+
disabled={isLoading}
|
| 206 |
+
className="bg-gradient-to-r from-[#FD1050] to-[#FF4081] hover:from-[#FF4081] hover:to-[#FD1050] text-white font-bold py-2 px-4 lg:px-6 rounded-lg transition-all shadow-lg text-sm lg:text-base flex items-center gap-2"
|
| 207 |
+
>
|
| 208 |
+
<RotateCcw size={16} />
|
| 209 |
+
<span>再来一局</span>
|
| 210 |
+
</button>
|
| 211 |
</div>
|
| 212 |
<div className="p-4 lg:p-6 flex-1 overflow-y-auto">
|
| 213 |
<div className="max-w-4xl mx-auto">
|