Skip to content

armgit / plexo

Public Imported from GitHub
0

Speed up downloads by combining multiple network connections in parallel

Landing page: browser extension is live on Chrome (#115)

Anmol Kapil469405b0b407
diff --git a/docs/index.html b/docs/index.html
index 6ebf2e5..78c4f4a 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -114,7 +114,12 @@
<div class="tg-fade"></div>
</div>
- <p class="announce"><span>Coming soon</span>Download with Plexo Browser Extension</p>
+ <a class="announce" href="#extension"
+ ><span class="pill-new">New</span>Download with Plexo is now available on Chrome<span
+ class="announce-cta"
+ >Get the extension <span aria-hidden="true">→</span></span
+ ></a
+ >
<!-- NAV -->
<header
@@ -383,19 +388,6 @@
<p id="hero-download-info">macOS, Windows &amp; Linux</p>
<div id="hero-alternates"></div>
</div>
- <a
- class="product-hunt-badge"
- href="https://www.producthunt.com/products/plexo-2?embed=true&amp;utm_source=badge-featured&amp;utm_medium=badge&amp;utm_campaign=badge-plexo-2"
- target="_blank"
- rel="noopener noreferrer"
- >
- <img
- alt="Plexo - Combine your networks. Download faster. | Product Hunt"
- width="250"
- height="54"
- src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1269707&amp;theme=dark&amp;t=1791184552526"
- />
- </a>
<!-- LIVE HERO WIDGET -->
<div
class="demo-wrap"
@@ -2303,6 +2295,40 @@
Found a problem with this build?
<a href="https://github.com/anmolkapil/plexo/issues/new?labels=bug">Report a bug</a>
</p>
+ <div id="extension" class="ext-box">
+ <h3>Browser extension <span class="pill-new">New</span></h3>
+ <p>Send downloads from your browser straight to Plexo, or right-click any link.</p>
+ <div class="ext-cards">
+ <div class="ext-card">
+ <span class="ext-icon" aria-hidden="true"
+ ><svg viewBox="0 0 24 24">
+ <path
+ d="M12 0C8.21 0 4.831 1.757 2.632 4.501l3.953 6.848A5.454 5.454 0 0 1 12 6.545h10.691A12 12 0 0 0 12 0zM1.931 5.47A11.943 11.943 0 0 0 0 12c0 6.012 4.42 10.991 10.189 11.864l3.953-6.847a5.45 5.45 0 0 1-6.865-2.29zm13.342 2.166a5.446 5.446 0 0 1 1.45 7.09l.002.001h-.002l-5.344 9.257c.206.01.413.016.621.016 6.627 0 12-5.373 12-12 0-1.54-.29-3.011-.818-4.364zM12 16.364a4.364 4.364 0 1 1 0-8.728 4.364 4.364 0 0 1 0 8.728Z"
+ /></svg
+ ></span>
+ <div class="ext-name">
+ <strong>Chrome</strong>
+ <span>Also Edge, Brave, Arc &amp; other Chromium browsers</span>
+ </div>
+ <a
+ class="btn-3d ext-btn ext-btn-primary"
+ href="https://chromewebstore.google.com/detail/giejimhiglmjfhbjkikgobbcinpgacmg"
+ >Add to Chrome</a
+ >
+ </div>
+ <div class="ext-card">
+ <span class="ext-icon" aria-hidden="true"
+ ><svg viewBox="0 0 24 24">
+ <path
+ d="M8.824 7.287c.008 0 .004 0 0 0zm-2.8-1.4c.006 0 .003 0 0 0zm16.754 2.161c-.505-1.215-1.53-2.528-2.333-2.943.654 1.283 1.033 2.57 1.177 3.53l.002.02c-1.314-3.278-3.544-4.6-5.366-7.477-.091-.147-.184-.292-.273-.446a3.545 3.545 0 01-.13-.24 2.118 2.118 0 01-.172-.46.03.03 0 00-.027-.03.038.038 0 00-.021 0l-.006.001a.037.037 0 00-.01.005L15.624 0c-2.585 1.515-3.657 4.168-3.932 5.856a6.197 6.197 0 00-2.305.587.297.297 0 00-.147.37c.057.162.24.24.396.17a5.622 5.622 0 012.008-.523l.067-.005a5.847 5.847 0 011.957.222l.095.03a5.816 5.816 0 01.616.228c.08.036.16.073.238.112l.107.055a5.835 5.835 0 01.368.211 5.953 5.953 0 012.034 2.104c-.62-.437-1.733-.868-2.803-.681 4.183 2.09 3.06 9.292-2.737 9.02a5.164 5.164 0 01-1.513-.292 4.42 4.42 0 01-.538-.232c-1.42-.735-2.593-2.121-2.74-3.806 0 0 .537-2 3.845-2 .357 0 1.38-.998 1.398-1.287-.005-.095-2.029-.9-2.817-1.677-.422-.416-.622-.616-.8-.767a3.47 3.47 0 00-.301-.227 5.388 5.388 0 01-.032-2.842c-1.195.544-2.124 1.403-2.8 2.163h-.006c-.46-.584-.428-2.51-.402-2.913-.006-.025-.343.176-.389.206-.406.29-.787.616-1.136.974-.397.403-.76.839-1.085 1.303a9.816 9.816 0 00-1.562 3.52c-.003.013-.11.487-.19 1.073-.013.09-.026.181-.037.272a7.8 7.8 0 00-.069.667l-.002.034-.023.387-.001.06C.386 18.795 5.593 24 12.016 24c5.752 0 10.527-4.176 11.463-9.661.02-.149.035-.298.052-.448.232-1.994-.025-4.09-.753-5.844z"
+ /></svg
+ ></span>
+ <div class="ext-name"><strong>Firefox</strong></div>
+ <!-- In review on AMO; link once listed: https://addons.mozilla.org/firefox/addon/download-with-plexo/ -->
+ <span class="ext-soon">Coming soon</span>
+ </div>
+ </div>
+ </div>
</section>
<div
class="hatch"
diff --git a/docs/landing.css b/docs/landing.css
index 58098d4..05e76ec 100644
--- a/docs/landing.css
+++ b/docs/landing.css
@@ -210,26 +210,44 @@ a {
flex-wrap: wrap;
align-items: center;
justify-content: center;
- gap: 6px 14px;
+ gap: 6px 16px;
margin: 0;
padding: 12px 16px;
border-bottom: 1px solid rgba(243, 103, 18, 0.28);
background: #160c06;
- font-size: 14px;
+ color: inherit;
+ font-size: 15px;
font-weight: 500;
text-align: center;
+ transition: background 0.2s;
+}
+.announce:hover {
+ background: #1f1008;
}
-.announce span {
- padding-right: 14px;
- border-right: 1px solid rgba(255, 255, 255, 0.16);
+.pill-new {
+ padding: 4px 12px;
+ border-radius: 999px;
+ background: #f36712;
+ color: #1a0a02;
font:
- 11px 'Geist Mono',
+ 600 12px 'Geist Mono',
ui-monospace,
monospace;
- letter-spacing: 0.08em;
+ letter-spacing: 0.1em;
text-transform: uppercase;
+}
+.announce-cta {
color: #ffb98c;
}
+.announce-cta span {
+ display: inline-block;
+ margin-left: 4px;
+ transition: transform 0.2s ease;
+}
+.announce:hover .announce-cta span,
+.announce:focus-visible .announce-cta span {
+ transform: translateX(3px);
+}
.top-glow {
position: absolute;
top: 0;
@@ -580,18 +598,6 @@ summary:focus-visible,
flex-wrap: wrap;
gap: 12px 28px;
}
-.product-hunt-badge {
- display: block;
- width: 250px;
- max-width: 100%;
- position: relative;
- margin: 20px auto 0;
-}
-.product-hunt-badge img {
- display: block;
- width: 100%;
- height: auto;
-}
.download-primary {
display: inline-flex;
align-items: center;
@@ -1641,7 +1647,6 @@ summary:focus-visible,
transform: none;
}
.motion-ready #top > span,
-.motion-ready #top > .product-hunt-badge,
.motion-ready #top h1,
.motion-ready #top > p,
.motion-ready #top .hero-actions,
@@ -1838,3 +1843,122 @@ a:focus-visible {
transition: none !important;
}
}
+.ext-box {
+ max-width: 1200px;
+ margin: 48px auto 0;
+ padding: 40px 48px 48px;
+ border: 1px solid #ffffff14;
+ border-radius: 32px;
+ background:
+ radial-gradient(520px 260px at 0 0, rgba(243, 103, 18, 0.12), transparent 70%), #111113;
+ text-align: left;
+}
+.ext-box h3 {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: 8px 16px;
+ margin: 0;
+ font:
+ 600 clamp(24px, 3vw, 36px)/1.1 'Archivo',
+ sans-serif;
+ font-stretch: 118%;
+ letter-spacing: -0.01em;
+ text-transform: uppercase;
+}
+.ext-box > p {
+ margin: 14px 0 0;
+ color: #c8c8ce;
+ font-size: 16px;
+}
+.ext-cards {
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 24px;
+ margin-top: 32px;
+}
+.ext-card {
+ display: flex;
+ align-items: center;
+ gap: 20px;
+ padding: 24px 28px 24px 32px;
+ border: 1px solid #ffffff14;
+ border-radius: 20px;
+ background: #18181a;
+}
+.ext-icon {
+ display: grid;
+ flex: none;
+ place-items: center;
+ width: 56px;
+ height: 56px;
+ border-radius: 14px;
+ background: #222225;
+}
+.ext-icon svg {
+ width: 24px;
+ height: 24px;
+ fill: #ededef;
+}
+.ext-name {
+ display: flex;
+ flex: 1;
+ flex-direction: column;
+ gap: 4px;
+ min-width: 0;
+}
+.ext-name strong {
+ font-size: 20px;
+ font-weight: 600;
+}
+.ext-name span {
+ color: #8c8c94;
+ font-size: 14px;
+ line-height: 1.4;
+}
+.ext-btn {
+ display: inline-flex;
+ flex: none;
+ align-items: center;
+ justify-content: center;
+ min-height: 52px;
+ padding: 0 28px;
+ border-radius: 999px;
+ font-size: 16px;
+ font-weight: 600;
+}
+.ext-btn-primary {
+ background: linear-gradient(180deg, #f2711f, #dd5a0c 55%, #c94a06);
+ color: #fff;
+}
+.ext-soon {
+ flex: none;
+ padding: 0 4px;
+ color: #8c8c94;
+ font:
+ 500 12px 'Geist Mono',
+ ui-monospace,
+ monospace;
+ letter-spacing: 0.1em;
+ text-transform: uppercase;
+}
+@media (max-width: 1008px) {
+ .ext-cards {
+ grid-template-columns: minmax(0, 1fr);
+ }
+}
+@media (max-width: 640px) {
+ .ext-box {
+ margin-top: 40px;
+ padding: 28px 20px;
+ border-radius: 28px;
+ }
+ .ext-card {
+ flex-wrap: wrap;
+ gap: 16px;
+ padding: 20px;
+ }
+ .ext-btn {
+ width: 100%;
+ }
+}
diff --git a/docs/landing.js b/docs/landing.js
index 8f8f1ca..ac20b9a 100644
--- a/docs/landing.js
+++ b/docs/landing.js
@@ -36,7 +36,7 @@
const revealTargets = Array.from(
document.querySelectorAll(
- '#features .section-heading, #features .cells > *, #downloads .section-heading, #downloads .download-box, #faq > div > div:first-child, #faq .faq-item, #support > div:first-child, #support .cells > *, footer .giant'
+ '#features .section-heading, #features .cells > *, #downloads .section-heading, #downloads .download-box, #downloads .ext-box, #faq > div > div:first-child, #faq .faq-item, #support > div:first-child, #support .cells > *, footer .giant'
)
)
document.documentElement.classList.add('motion-ready')