Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ url: https://graphcode.app
cloudflare_analytics_token:
# The username in your Buttondown account URL. Fill in only once the account exists —
# the embed endpoint 404s for an unregistered username and the subscriber is lost.
buttondown_username:
buttondown_username: scgopi

plugins:
- jekyll-sitemap
19 changes: 19 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,15 @@
.cta-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 26px; }
.cta .brew { background: var(--bg); }
.cta-fine { font-family: var(--mono); font-size: 11.5px; color: var(--ink-mute); margin-top: 18px; }
.subscribe { max-width: 460px; margin: 34px auto 0; padding-top: 28px; border-top: 1px solid var(--line3); }
.subscribe-label { display: block; font-size: 14px; line-height: 1.5; color: var(--ink-dim); margin-bottom: 14px; }
.subscribe-label strong { color: var(--ink); font-weight: 600; }
.subscribe-row { display: flex; gap: 10px; }
.subscribe-input { flex: 1; min-width: 0; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line4); border-radius: 10px; color: var(--ink); font: 14px var(--mono); }
.subscribe-input::placeholder { color: var(--ink-ghost); }
.subscribe-input:focus { outline: none; border-color: var(--amber); }
.subscribe-btn { padding: 12px 18px; background: var(--amber); color: #12100c; border: 0; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.subscribe-btn:hover { background: var(--amber-hi); }

.footer { max-width: 1180px; margin: 80px auto 0; padding: 32px 28px 56px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font-size: 13px; color: var(--ink-faint); }
.footer img { width: 22px; height: 22px; display: block; opacity: .8; }
Expand Down Expand Up @@ -289,6 +298,7 @@
.stats-grid { grid-template-columns: 1fr 1fr; }
.brew { font-size: 11.5px; }
.cta-inner { padding: 48px 20px 44px; }
.subscribe-row { flex-direction: column; }
}
</style>
</head>
Expand Down Expand Up @@ -692,6 +702,15 @@ <h2>Draw your first graph in a minute.</h2>
</div>
<div class="brew"><span class="prompt">$</span>brew install --cask scgopi/graphcode/graphcode</div>
<div class="cta-fine">Developer ID signed &amp; notarized · requires Claude Code on your PATH</div>
{% if site.buttondown_username %}
<form class="subscribe" action="https://buttondown.com/api/emails/embed-subscribe/{{ site.buttondown_username }}" method="post" target="_blank">
<label class="subscribe-label" for="subscribe-email"><strong>Get the next one.</strong> New releases and the next article — nothing else, and one click to leave.</label>
<div class="subscribe-row">
<input class="subscribe-input" type="email" id="subscribe-email" name="email" placeholder="you@example.com" autocomplete="email" required>
<button class="subscribe-btn" type="submit">Subscribe</button>
</div>
</form>
{% endif %}
</div>
</div>
</section>
Expand Down
Loading