Skip to content

Commit 8ec7e3c

Browse files
author
ComputelessComputer
committed
replace early access with download button
1 parent b779587 commit 8ec7e3c

1 file changed

Lines changed: 19 additions & 69 deletions

File tree

apps/landing/src/pages/index.astro

Lines changed: 19 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ posts.sort((a, b) => b.data.publishedAt.getTime() - a.data.publishedAt.getTime()
9494
Capture notes. Track tasks that roll forward. Generate tiny tools in place when you
9595
need them.
9696
</p>
97-
<p class="release-note">
98-
Download Philo from <a href="https://github.com/ComputelessComputer/philo/releases/latest">GitHub Releases</a>.
99-
</p>
97+
<a class="download-button" href="https://github.com/ComputelessComputer/philo/releases/latest">
98+
Download for macOS →
99+
</a>
100100
<div class="video-mobile">
101101
<p class="video-label">Product walkthrough</p>
102102
<div class="video-frame">
@@ -113,13 +113,6 @@ posts.sort((a, b) => b.data.publishedAt.getTime() - a.data.publishedAt.getTime()
113113
</video>
114114
</div>
115115
</div>
116-
<form class="waitlist" action="#" method="post">
117-
<label for="email">Get early access</label>
118-
<div class="input-row">
119-
<input id="email" type="email" name="email" placeholder="name@domain.com" />
120-
<button type="submit">→</button>
121-
</div>
122-
</form>
123116
</section>
124117

125118
<section class="panel enter" style="--delay: 140ms;">
@@ -396,75 +389,32 @@ posts.sort((a, b) => b.data.publishedAt.getTime() - a.data.publishedAt.getTime()
396389
color: #3f3f3d;
397390
}
398391

399-
.release-note {
400-
margin: 10px 0 0;
401-
color: #52524e;
392+
.download-button {
393+
margin-top: 14px;
394+
color: var(--accent);
402395
font-size: var(--fs-sm);
396+
font-weight: 500;
397+
letter-spacing: 0.03em;
398+
text-transform: uppercase;
399+
text-decoration: none;
400+
border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
401+
background: color-mix(in srgb, var(--accent) 8%, #ffffff);
402+
padding: 8px 10px;
403+
display: inline-flex;
404+
align-items: center;
405+
gap: 8px;
403406
}
404407

405-
.release-note a {
406-
color: var(--accent);
407-
text-underline-offset: 2px;
408+
.download-button:hover {
409+
border-color: color-mix(in srgb, var(--accent) 44%, var(--line));
410+
background: color-mix(in srgb, var(--accent) 14%, #ffffff);
408411
}
409412

410413
.video-mobile {
411414
display: none;
412415
margin-top: 18px;
413416
}
414417

415-
.waitlist {
416-
margin-top: 36px;
417-
max-width: 430px;
418-
}
419-
420-
.waitlist label {
421-
display: block;
422-
margin-bottom: 10px;
423-
color: #3f3f3d;
424-
font-size: var(--fs-sm);
425-
letter-spacing: 0.04em;
426-
text-transform: uppercase;
427-
}
428-
429-
.input-row {
430-
display: flex;
431-
border: 1px solid var(--line);
432-
background: var(--bg-soft);
433-
}
434-
435-
.input-row input {
436-
flex: 1;
437-
border: 0;
438-
padding: 12px 13px;
439-
font: inherit;
440-
color: inherit;
441-
background: transparent;
442-
}
443-
444-
.input-row input::placeholder {
445-
color: #a8a8a3;
446-
}
447-
448-
.input-row input:focus {
449-
outline: none;
450-
}
451-
452-
.input-row button {
453-
width: 52px;
454-
border: 0;
455-
border-left: 1px solid var(--line);
456-
background: #ecece8;
457-
color: #9e9e98;
458-
font: inherit;
459-
font-size: var(--fs-md);
460-
cursor: pointer;
461-
transition: color 150ms ease;
462-
}
463-
464-
.input-row button:hover {
465-
color: var(--accent);
466-
}
467-
468418
.panel {
469419
margin-top: 46px;
470420
border-top: 1px solid var(--line);

0 commit comments

Comments
 (0)