-
-
Session ID:
+
+ {$t("clipboard.session_id")}:
{sessionId}
- {#if isCreator && sessionId && !peerConnected && qrCodeUrl}
-
-
Scan to join:
+ {#if isCreator && sessionId && !peerConnected && qrCodeUrl}
+
{$t("clipboard.scan_qr")}
{/if}
-
-
+
-
{peerConnected ? 'Connected' : 'Waiting for peer...'}
+
{peerConnected ? $t("clipboard.peer_connected") : $t("clipboard.waiting_peer")}
@@ -107,34 +103,66 @@
diff --git a/web/src/routes/clipboard/+page.svelte b/web/src/routes/clipboard/+page.svelte
index e9b97001..88e8b6a3 100644
--- a/web/src/routes/clipboard/+page.svelte
+++ b/web/src/routes/clipboard/+page.svelte
@@ -231,17 +231,7 @@
on:sendText={handleSendText}
on:clearText={handleClearText}
bind:textContent
- />
- {/if}
-
- {/if}
-
- {#if isConnected}
-
-
-
- {$t("clipboard.disconnect")}
-
+ /> {/if}
{/if}
@@ -357,18 +347,7 @@
.tab-content:hover {
box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
- border-color: rgba(255, 255, 255, 0.12);
- }
-
- .disconnect-section {
- text-align: center;
- margin-top: 3rem;
- padding: 2rem;
- background: rgba(255, 255, 255, 0.03);
- border-radius: 15px;
- border: 1px solid rgba(255, 255, 255, 0.05);
- backdrop-filter: blur(5px);
- }
+ border-color: rgba(255, 255, 255, 0.12); }
/* Enhanced card-like sections */
:global(.card) {