Skip to content

Commit ebd885f

Browse files
committed
Improve connect form
1 parent 6f2a8f9 commit ebd885f

File tree

2 files changed

+1
-44
lines changed

2 files changed

+1
-44
lines changed

src/pages/ConnectForm.css

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -434,43 +434,13 @@
434434

435435
/* ---- Features row ---- */
436436

437-
.connect-features {
438-
display: flex;
439-
justify-content: center;
440-
gap: 2rem;
441-
margin-top: 1.75rem;
442-
}
443-
444-
.connect-feature {
445-
display: flex;
446-
flex-direction: column;
447-
align-items: center;
448-
gap: 0.35rem;
449-
}
450-
451-
.connect-feature .codicon {
452-
font-size: 16px;
453-
color: #00a5b8;
454-
opacity: 0.7;
455-
}
456-
457-
.connect-feature span {
458-
font-size: 0.7rem;
459-
color: #4a5568;
460-
font-weight: 500;
461-
}
462-
463437
/* ---- Responsive ---- */
464438

465439
@media (max-width: 480px) {
466440
.connect-card {
467441
padding: 2rem 1.5rem 1.75rem;
468442
}
469443

470-
.connect-features {
471-
gap: 1.25rem;
472-
}
473-
474444
.connect-discovery-row {
475445
flex-direction: column;
476446
align-items: flex-start;

src/pages/ConnectForm.tsx

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -184,20 +184,7 @@ export function ConnectForm({ onConnect, onDiscover, error, isConnecting, discov
184184
{' '}<a href="https://eca.dev/config/remote" target="_blank" rel="noopener noreferrer">Learn more →</a>
185185
</p>
186186

187-
<div className="connect-features">
188-
<div className="connect-feature">
189-
<i className="codicon codicon-lock" />
190-
<span>Encrypted</span>
191-
</div>
192-
<div className="connect-feature">
193-
<i className="codicon codicon-sync" />
194-
<span>Real-time</span>
195-
</div>
196-
<div className="connect-feature">
197-
<i className="codicon codicon-layers" />
198-
<span>Multi-session</span>
199-
</div>
200-
</div>
187+
201188
</div>
202189
</div>
203190
);

0 commit comments

Comments
 (0)