|
117 | 117 | </div> |
118 | 118 | </div> |
119 | 119 |
|
120 | | - <div class="hero-actions"> |
121 | | - <div class="hero-action-card hero-action-install"> |
122 | | - <div class="hero-action-label">Install</div> |
123 | | - <h3 class="hero-action-title">Install OpenBoot</h3> |
124 | | - <p class="hero-action-desc">Install via Homebrew (recommended) for easy updates, or use the one-line installer as a fallback.</p> |
| 120 | + <div class="get-started-panel"> |
| 121 | + <div class="panel-install"> |
125 | 122 | <div class="install-command" id="install"> |
126 | 123 | <div class="install-prompt">$</div> |
127 | 124 | <code>brew tap openbootdotdev/tap && brew install openboot</code> |
|
135 | 132 | {/if} |
136 | 133 | </button> |
137 | 134 | </div> |
138 | | - <p class="hero-action-alt"> |
139 | | - Alternative: <code>curl -fsSL openboot.dev/install.sh | bash</code> |
140 | | - </p> |
| 135 | + <p class="install-alt">Alternative: <code>curl -fsSL openboot.dev/install.sh | bash</code></p> |
141 | 136 | </div> |
142 | 137 |
|
143 | | - <div class="hero-action-pair"> |
144 | | - <div class="hero-action-card"> |
145 | | - <div class="hero-action-label">Set Up</div> |
146 | | - <h3 class="hero-action-title">Set up your Mac</h3> |
147 | | - <p class="hero-action-desc">Fresh Mac? One command to install 80+ dev tools, dotfiles, and macOS preferences.</p> |
| 138 | + <div class="panel-divider"></div> |
| 139 | + |
| 140 | + <div class="panel-usage"> |
| 141 | + <div class="usage-option"> |
| 142 | + <div class="usage-text"> |
| 143 | + <h3 class="usage-title">Set up your Mac</h3> |
| 144 | + <p class="usage-desc">Fresh Mac? One command to install 80+ dev tools, dotfiles, and macOS preferences.</p> |
| 145 | + </div> |
148 | 146 | <div class="install-command"> |
149 | 147 | <div class="install-prompt">$</div> |
150 | 148 | <code>openboot</code> |
|
160 | 158 | </div> |
161 | 159 | </div> |
162 | 160 |
|
163 | | - <div class="hero-action-card"> |
164 | | - <div class="hero-action-label">Snapshot</div> |
165 | | - <h3 class="hero-action-title">Capture your setup</h3> |
166 | | - <p class="hero-action-desc">Already set up? Snapshot your current tools and share the config with your team.</p> |
| 161 | + <div class="usage-option"> |
| 162 | + <div class="usage-text"> |
| 163 | + <h3 class="usage-title">Capture your setup</h3> |
| 164 | + <p class="usage-desc">Already set up? Snapshot your current tools and share the config with your team.</p> |
| 165 | + </div> |
167 | 166 | <div class="install-command"> |
168 | 167 | <div class="install-prompt">$</div> |
169 | 168 | <code>openboot snapshot</code> |
|
543 | 542 | background: #1e1e2e; |
544 | 543 | } |
545 | 544 |
|
546 | | - /* ── Hero Actions ────────────────────────────────── */ |
547 | | -
|
548 | | - .hero-actions { |
549 | | - display: flex; |
550 | | - flex-direction: column; |
551 | | - gap: 20px; |
552 | | - margin-top: 48px; |
553 | | - } |
| 545 | + /* ── Get Started Panel ───────────────────────────── */ |
554 | 546 |
|
555 | | - .hero-action-card { |
| 547 | + .get-started-panel { |
| 548 | + margin-top: 56px; |
556 | 549 | background: var(--bg-secondary); |
557 | 550 | border: 1px solid var(--border); |
558 | 551 | border-radius: 16px; |
559 | | - padding: 28px; |
560 | | - display: flex; |
561 | | - flex-direction: column; |
562 | | - gap: 12px; |
563 | | - transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
564 | | - min-width: 0; |
| 552 | + overflow: hidden; |
565 | 553 | } |
566 | 554 |
|
567 | | - .hero-action-card:hover { |
568 | | - border-color: var(--border-hover); |
569 | | - transform: translateY(-4px); |
570 | | - box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2); |
| 555 | + .panel-install { |
| 556 | + padding: 28px 28px 20px; |
571 | 557 | } |
572 | 558 |
|
573 | | - /* Full-width install card */ |
574 | | - .hero-action-install { |
575 | | - border-color: rgba(34, 197, 94, 0.3); |
576 | | - background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(34, 197, 94, 0.04) 100%); |
| 559 | + .panel-install .install-command { |
| 560 | + margin-bottom: 8px; |
577 | 561 | } |
578 | 562 |
|
579 | | - .hero-action-install:hover { |
580 | | - border-color: rgba(34, 197, 94, 0.5); |
581 | | - box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(34, 197, 94, 0.08); |
| 563 | + .install-alt { |
| 564 | + color: var(--text-muted); |
| 565 | + font-size: 0.78rem; |
| 566 | + margin: 0; |
582 | 567 | } |
583 | 568 |
|
584 | | - .hero-action-alt { |
585 | | - color: var(--text-secondary); |
586 | | - font-size: 0.8rem; |
587 | | - opacity: 0.7; |
588 | | - margin: 0; |
| 569 | + .install-alt code { |
| 570 | + font-family: 'JetBrains Mono', monospace; |
| 571 | + font-size: 0.73rem; |
589 | 572 | } |
590 | 573 |
|
591 | | - .hero-action-alt code { |
592 | | - font-size: 0.75rem; |
| 574 | + .panel-divider { |
| 575 | + height: 1px; |
| 576 | + background: var(--border); |
| 577 | + margin: 0 28px; |
593 | 578 | } |
594 | 579 |
|
595 | | - /* Two-column pair for setup / snapshot */ |
596 | | - .hero-action-pair { |
| 580 | + .panel-usage { |
597 | 581 | display: grid; |
598 | 582 | grid-template-columns: 1fr 1fr; |
599 | | - gap: 20px; |
| 583 | + gap: 0; |
600 | 584 | } |
601 | 585 |
|
602 | | - .hero-action-label { |
603 | | - font-family: 'JetBrains Mono', monospace; |
604 | | - font-size: 0.65rem; |
605 | | - font-weight: 700; |
606 | | - text-transform: uppercase; |
607 | | - letter-spacing: 0.08em; |
608 | | - color: var(--accent); |
609 | | - padding: 4px 10px; |
610 | | - background: var(--accent-glow); |
611 | | - border-radius: 20px; |
612 | | - width: fit-content; |
| 586 | + .usage-option { |
| 587 | + padding: 24px 28px; |
| 588 | + display: flex; |
| 589 | + flex-direction: column; |
| 590 | + gap: 16px; |
| 591 | + } |
| 592 | +
|
| 593 | + .usage-option:first-child { |
| 594 | + border-right: 1px solid var(--border); |
613 | 595 | } |
614 | 596 |
|
615 | | - .hero-action-title { |
616 | | - font-size: 1.15rem; |
| 597 | + .usage-text { |
| 598 | + display: flex; |
| 599 | + flex-direction: column; |
| 600 | + gap: 6px; |
| 601 | + flex: 1; |
| 602 | + } |
| 603 | +
|
| 604 | + .usage-title { |
| 605 | + font-size: 1.05rem; |
617 | 606 | font-weight: 700; |
618 | 607 | letter-spacing: -0.02em; |
619 | 608 | color: var(--text-primary); |
620 | 609 | margin: 0; |
621 | 610 | } |
622 | 611 |
|
623 | | - .hero-action-desc { |
| 612 | + .usage-desc { |
624 | 613 | color: var(--text-secondary); |
625 | | - font-size: 0.875rem; |
626 | | - line-height: 1.6; |
| 614 | + font-size: 0.85rem; |
| 615 | + line-height: 1.55; |
627 | 616 | margin: 0; |
628 | 617 | } |
629 | 618 |
|
630 | | - .hero-action-card .install-command { |
631 | | - margin-top: auto; |
| 619 | + .usage-option .install-command { |
632 | 620 | margin-bottom: 0; |
633 | | - align-items: flex-start; |
634 | | - } |
635 | | -
|
636 | | - .hero-action-card .install-command code { |
637 | | - white-space: normal; |
638 | | - overflow-wrap: break-word; |
639 | | - overflow: visible; |
640 | | - text-overflow: unset; |
641 | | - font-size: 0.82rem; |
642 | | - line-height: 1.5; |
643 | 621 | } |
644 | 622 |
|
645 | 623 | /* ── How It Works ────────────────────────────────── */ |
|
802 | 780 | } |
803 | 781 |
|
804 | 782 | @media (max-width: 960px) { |
805 | | - .hero-action-pair { |
| 783 | + .panel-usage { |
806 | 784 | grid-template-columns: 1fr; |
807 | 785 | } |
| 786 | +
|
| 787 | + .usage-option:first-child { |
| 788 | + border-right: none; |
| 789 | + border-bottom: 1px solid var(--border); |
| 790 | + } |
808 | 791 | } |
809 | 792 |
|
810 | 793 | @media (max-width: 768px) { |
|
0 commit comments