Skip to content

Commit 65edaa2

Browse files
committed
fix: revert landing page pipeline to simple flat steps
1 parent d4f8d2b commit 65edaa2

2 files changed

Lines changed: 88 additions & 247 deletions

File tree

client/src/Landing.css

Lines changed: 61 additions & 177 deletions
Original file line numberDiff line numberDiff line change
@@ -441,237 +441,121 @@
441441
background: rgba(15, 20, 30, 0.4);
442442
}
443443

444-
.pipeline-stages {
444+
.pipeline-chain {
445445
display: flex;
446-
flex-direction: column;
447-
gap: 0;
448-
margin-top: 2.5rem;
449-
max-width: 900px;
450-
margin-left: auto;
451-
margin-right: auto;
452-
}
453-
454-
.pipeline-stage-group {
455-
display: flex;
456-
flex-direction: column;
457-
align-items: center;
458-
}
459-
460-
.stage-header {
461-
display: flex;
462-
align-items: center;
463-
gap: 0.6rem;
464-
padding: 0.5rem 1.2rem;
465-
border-radius: 12px 12px 0 0;
466-
border: 1px solid rgba(255, 255, 255, 0.06);
467-
border-bottom: none;
468-
width: 100%;
469-
max-width: 800px;
470-
}
471-
472-
.stage-number {
473-
width: 22px;
474-
height: 22px;
475-
border-radius: 50%;
476-
display: flex;
477-
align-items: center;
478-
justify-content: center;
479-
font-size: 0.7rem;
480-
font-weight: 800;
481-
background: rgba(255, 255, 255, 0.06);
482-
color: #94a3b8;
483-
}
484-
485-
.stage-name {
486-
font-size: 0.85rem;
487-
font-weight: 700;
488-
color: #e2e8f0;
489-
flex: 1;
490-
}
491-
492-
.stage-badge {
493-
font-size: 0.6rem;
494-
font-weight: 700;
495-
text-transform: uppercase;
496-
letter-spacing: 0.08em;
497-
padding: 0.2rem 0.5rem;
498-
border-radius: 6px;
499-
}
500-
501-
.stage-badge-l1 {
502-
background: rgba(52, 211, 153, 0.1);
503-
color: #34d399;
504-
}
505-
506-
.stage-badge-er {
507-
background: rgba(245, 158, 11, 0.1);
508-
color: #fbbf24;
509-
}
510-
511-
.stage-badge-zk {
512-
background: rgba(6, 182, 212, 0.1);
513-
color: #22d3ee;
514-
}
515-
516-
.stage-header-l1 {
517-
background: rgba(52, 211, 153, 0.03);
518-
}
519-
520-
.stage-header-er {
521-
background: rgba(245, 158, 11, 0.03);
522-
}
523-
524-
.stage-header-zk {
525-
background: rgba(6, 182, 212, 0.03);
526-
}
527-
528-
.stage-header-l1 .stage-number {
529-
background: rgba(52, 211, 153, 0.15);
530-
color: #34d399;
531-
}
532-
533-
.stage-header-er .stage-number {
534-
background: rgba(245, 158, 11, 0.15);
535-
color: #fbbf24;
536-
}
537-
538-
.stage-header-zk .stage-number {
539-
background: rgba(6, 182, 212, 0.15);
540-
color: #22d3ee;
541-
}
542-
543-
.stage-steps {
544-
display: flex;
545-
align-items: flex-start;
446+
flex-wrap: wrap;
546447
justify-content: center;
448+
align-items: center;
547449
gap: 0;
548-
padding: 1rem 1.2rem 1.2rem;
549-
background: rgba(15, 23, 42, 0.4);
550-
border: 1px solid rgba(255, 255, 255, 0.06);
551-
border-top: none;
552-
border-radius: 0 0 12px 12px;
553-
width: 100%;
554-
max-width: 800px;
555-
flex-wrap: wrap;
450+
margin-top: 2rem;
556451
}
557452

558-
.stage-step {
453+
.pipeline-chain-item {
559454
display: flex;
560-
flex-direction: column;
561455
align-items: center;
562-
gap: 0.5rem;
563-
flex: 1;
564-
min-width: 120px;
565-
max-width: 180px;
566-
position: relative;
456+
gap: 0;
567457
}
568458

569-
.step-node {
570-
display: flex;
459+
.chain-node {
460+
display: inline-flex;
571461
align-items: center;
572-
gap: 0.3rem;
573-
padding: 0.45rem 0.75rem;
462+
gap: 0.35rem;
463+
padding: 0.4rem 0.7rem;
574464
border-radius: 8px;
575-
transition: all 0.2s;
576465
cursor: default;
577-
white-space: nowrap;
466+
transition: all 0.2s;
578467
}
579468

580-
.step-node:hover {
581-
transform: translateY(-2px);
469+
.chain-node:hover {
470+
transform: translateY(-1px);
582471
}
583472

584-
.step-node-l1 {
473+
.chain-l1 {
585474
background: rgba(52, 211, 153, 0.08);
586475
border: 1px solid rgba(52, 211, 153, 0.15);
587476
}
588477

589-
.step-node-er {
478+
.chain-er {
590479
background: rgba(245, 158, 11, 0.08);
591480
border: 1px solid rgba(245, 158, 11, 0.15);
592481
}
593482

594-
.step-node-zk {
595-
background: rgba(6, 182, 212, 0.08);
596-
border: 1px solid rgba(6, 182, 212, 0.15);
483+
.chain-privacy {
484+
background: rgba(124, 58, 237, 0.08);
485+
border: 1px solid rgba(124, 58, 237, 0.15);
597486
}
598487

599-
.step-icon {
488+
.chain-icon {
600489
font-size: 0.9rem;
601490
}
602491

603-
.step-label {
492+
.chain-label {
604493
font-size: 0.75rem;
605494
font-weight: 700;
606495
color: #e2e8f0;
607496
}
608497

609-
.step-node-l1 .step-label {
610-
color: #34d399;
498+
.chain-text {
499+
display: flex;
500+
flex-direction: column;
501+
gap: 0.1rem;
611502
}
612503

613-
.step-node-er .step-label {
614-
color: #fbbf24;
504+
.chain-desc {
505+
font-size: 0.6rem;
506+
color: #64748b;
507+
font-weight: 400;
615508
}
616509

617-
.step-node-zk .step-label {
618-
color: #22d3ee;
510+
.chain-l1 .chain-label {
511+
color: #34d399;
619512
}
620513

621-
.step-helper {
622-
font-size: 0.65rem;
623-
color: #64748b;
624-
text-align: center;
625-
line-height: 1.4;
626-
max-width: 160px;
627-
margin: 0;
514+
.chain-er .chain-label {
515+
color: #fbbf24;
628516
}
629517

630-
.step-connector {
631-
position: absolute;
632-
right: -8px;
633-
top: 14px;
518+
.chain-privacy .chain-label {
519+
color: #a78bfa;
520+
}
521+
522+
.chain-arrow {
634523
color: #334155;
635524
font-size: 0.7rem;
636-
z-index: 1;
525+
margin: 0 0.2rem;
637526
}
638527

639-
.stage-arrow {
528+
.pipeline-legend {
640529
display: flex;
641530
justify-content: center;
642-
padding: 0.5rem 0;
643-
opacity: 0.5;
531+
gap: 1.5rem;
532+
margin-top: 1.5rem;
644533
}
645534

646-
@media (max-width: 768px) {
647-
.stage-steps {
648-
flex-direction: column;
649-
align-items: center;
650-
gap: 0.8rem;
651-
}
652-
653-
.stage-step {
654-
max-width: 100%;
655-
flex-direction: row;
656-
gap: 0.8rem;
657-
}
535+
.legend-item {
536+
display: flex;
537+
align-items: center;
538+
gap: 0.4rem;
539+
font-size: 0.75rem;
540+
color: #64748b;
541+
}
658542

659-
.step-helper {
660-
text-align: left;
661-
max-width: none;
662-
}
543+
.legend-dot {
544+
width: 8px;
545+
height: 8px;
546+
border-radius: 50%;
547+
}
663548

664-
.step-connector {
665-
display: none;
666-
}
549+
.legend-l1 .legend-dot {
550+
background: #34d399;
551+
}
667552

668-
.stage-header {
669-
max-width: 100%;
670-
}
553+
.legend-er .legend-dot {
554+
background: #fbbf24;
555+
}
671556

672-
.stage-steps {
673-
max-width: 100%;
674-
}
557+
.legend-privacy .legend-dot {
558+
background: #a78bfa;
675559
}
676560

677561
/* ===== WHY TASKFOREST ===== */

0 commit comments

Comments
 (0)