Deploy to Cloudflare Workers and rebrand to Diagrav

Adds Workers + static-assets configs for the app (app.diagrav.com) and a
separate marketing/landing site (diagrav.com), plus the deployment runbook
used to stand up Supabase Cloud, Google OAuth, Resend SMTP, and Cloudflare
DNS/custom domains. Renames the app from "AV Planner" to "Diagrav" to match
the new domain.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017DUU6CnxECCDeqDNYJgr5x
This commit is contained in:
2026-09-28 10:05:59 -05:00
co-authored by Claude Sonnet 5
parent a5c2ad87e1
commit 0a7f2f7fee
10 changed files with 814 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

+174
View File
@@ -0,0 +1,174 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Diagrav — Plan your wiring before you buy a single cable</title>
<meta name="description" content="Diagrav is a visual tool for planning AV and DAWless synth setups: drag devices onto a canvas, wire them up with real connector compatibility checking, and get an automatic shopping list." />
<link rel="canonical" href="https://diagrav.com/" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://diagrav.com/" />
<meta property="og:title" content="Diagrav" />
<meta property="og:description" content="Plan your AV or DAWless synth wiring visually, catch incompatible connections before you buy anything, and get an automatic shopping list." />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<nav class="nav">
<div class="wrap">
<a class="brand" href="#top"><span class="dot"></span>Diagrav</a>
<div class="nav-right">
<div class="nav-links">
<a href="#features">Features</a>
<a href="#canvas">How it works</a>
<a href="#library">Library</a>
</div>
<div class="nav-auth">
<a class="nav-login" href="https://app.diagrav.com/">Log in</a>
<a class="btn btn-primary btn-sm" href="https://app.diagrav.com/">Sign up</a>
</div>
</div>
</div>
</nav>
<header class="hero" id="top">
<div class="wrap">
<span class="eyebrow">🔌 Plan the whole rig before you buy anything</span>
<h1>Wire up your gear <span class="accent">on screen</span><br>before you touch a cable</h1>
<p class="lede">
Diagrav is a visual planning tool for anyone wiring together audio/video gear or a
DAWless synth setup. Drag devices onto a canvas, connect their ports, and let the app
catch incompatible connections and total up your shopping list — before you've spent a dollar.
</p>
<div class="hero-shot">
<img src="images/canvas.jpg" alt="A wired synth rig diagram in Diagrav, showing a MIDI keyboard, drum machine, synth, mixer, and studio monitors connected with labeled cables" />
</div>
</div>
</header>
<section id="features">
<div class="wrap">
<div class="section-head">
<h2>Everything you need to plan a rig, nothing you don't</h2>
<p>Built for the moment before a purchase — when you're still figuring out what actually connects to what.</p>
</div>
<div class="features">
<div class="feature">
<div class="icon">🖱️</div>
<h3>Drag-and-drop canvas</h3>
<p>Place devices from a library of ports and connectors, then draw cables between them exactly like you would on a whiteboard — except it remembers everything.</p>
</div>
<div class="feature">
<div class="icon">✅</div>
<h3>Real compatibility checking</h3>
<p>Every connector type knows what it physically mates with. Try to wire an XLR into a 1/4" jack and the app tells you why not, instead of finding out at the store.</p>
</div>
<div class="feature">
<div class="icon">🧾</div>
<h3>Automatic shopping list</h3>
<p>Every cable and device on the canvas rolls up into a bill of materials — grouped by cable type and length, with running costs, so you know exactly what to order.</p>
</div>
<div class="feature">
<div class="icon">🎚️</div>
<h3>Multi-cable bundles</h3>
<p>A stereo pair or an 8-channel snake is really one purchase, not several. Bundle the individual runs together so the shopping list counts it the way you'd actually buy it.</p>
</div>
<div class="feature">
<div class="icon">📚</div>
<h3>A growing shared library</h3>
<p>Connector types, cable types, and device templates are shared across everyone using the app — with your own private additions for anything niche or proprietary.</p>
</div>
<div class="feature">
<div class="icon">🤝</div>
<h3>Share &amp; collaborate</h3>
<p>Share a diagram with view or edit access, keep a version history as it evolves, and pick up right where you left off.</p>
</div>
</div>
</div>
</section>
<section id="canvas">
<div class="wrap">
<div class="showcase-row">
<div class="showcase-copy">
<div class="showcase-tag">The canvas</div>
<h3>See your whole signal path at a glance</h3>
<p>
Drop a device onto the canvas, expand it to see its individual ports, and drag a
connection from one port to another. Every wire is a real object — it knows which
two ports it joins, what cable type it needs, and how long a run it is.
</p>
<ul>
<li>Devices collapse to a compact view when you don't need the detail</li>
<li>MIDI, audio, video, network, and power connectors, side by side</li>
<li>Bundle related runs (like a stereo pair) into one visually distinct cable</li>
</ul>
</div>
<div class="showcase-shot">
<img src="images/canvas.jpg" alt="Wired device diagram on the Diagrav canvas" />
</div>
</div>
<div class="showcase-row reverse">
<div class="showcase-copy">
<div class="showcase-tag">The shopping list</div>
<h3>A bill of materials that updates itself</h3>
<p>
As you wire things up, Diagrav keeps a running bill of materials in the side
panel — every cable type you'll need, grouped by length, with a running cost total.
Bundled cables count as the single item you'll actually order.
</p>
<ul>
<li>Cables grouped by type, then by length, so you know exactly what to buy and how many</li>
<li>Device and cable costs roll up into one grand total</li>
<li>Anything missing a cost is flagged, never silently treated as free</li>
</ul>
</div>
<div class="showcase-shot">
<img src="images/bom.jpg" alt="Bill of materials panel showing cables grouped by type and length with a running cost total" />
</div>
</div>
<div class="showcase-row" id="library">
<div class="showcase-copy">
<div class="showcase-tag">The library</div>
<h3>A device catalog that grows with you</h3>
<p>
Browse built-in devices and connectors by category or manufacturer, search across
everything at once, and drop in your own custom gear when something isn't in the
catalog yet — synths, mixers, adapters, whatever your rack actually has.
</p>
<ul>
<li>Organize by category or by manufacturer, whichever matches how you think</li>
<li>Add your own devices and connector types in minutes</li>
<li>Submit your additions back to the shared catalog for everyone else to use</li>
</ul>
</div>
<div class="showcase-shot">
<img src="images/palette.jpg" alt="Device library panel organized by category, showing built-in and custom devices" />
</div>
</div>
</div>
</section>
<section>
<div class="wrap">
<div class="strip">
<h2>Stop guessing which cable you need</h2>
<p>Plan the wiring first. Buy the right cables once.</p>
<a class="btn btn-primary btn-lg strip-cta" href="https://app.diagrav.com/">Sign up</a>
</div>
</div>
</section>
<footer>
<div class="wrap" style="display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;">
<span>Diagrav</span>
<span>Built for planning AV and DAWless synth setups.</span>
</div>
</footer>
</body>
</html>
+412
View File
@@ -0,0 +1,412 @@
:root {
--ink: #1e1b2e;
--ink-soft: #4b4763;
--bg: #fafafa;
--panel: #ffffff;
--border: #e7e5f0;
--indigo: #4f46e5;
--indigo-dark: #4338ca;
--indigo-soft: #eef2ff;
--amber: #d97706;
--teal: #059669;
--shadow: 0 1px 2px rgba(30, 27, 46, 0.04), 0 8px 24px rgba(30, 27, 46, 0.06);
--max: 1080px;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
background: var(--bg);
color: var(--ink);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
}
img {
max-width: 100%;
display: block;
}
a {
color: var(--indigo);
}
.wrap {
max-width: var(--max);
margin: 0 auto;
padding: 0 24px;
}
/* ---------- Nav ---------- */
.nav {
border-bottom: 1px solid var(--border);
background: rgba(250, 250, 250, 0.85);
backdrop-filter: blur(8px);
position: sticky;
top: 0;
z-index: 10;
}
.nav .wrap {
display: flex;
align-items: center;
justify-content: space-between;
height: 60px;
}
.brand {
font-weight: 700;
font-size: 17px;
color: var(--ink);
text-decoration: none;
display: flex;
align-items: center;
gap: 8px;
}
.brand .dot {
width: 9px;
height: 9px;
border-radius: 999px;
background: var(--indigo);
box-shadow: 0 0 0 3px var(--indigo-soft);
}
.nav-right {
display: flex;
align-items: center;
gap: 32px;
}
.nav-links {
display: flex;
gap: 28px;
font-size: 14px;
font-weight: 500;
}
.nav-links a {
color: var(--ink-soft);
text-decoration: none;
}
.nav-links a:hover {
color: var(--ink);
}
.nav-auth {
display: flex;
align-items: center;
gap: 18px;
}
.nav-login {
font-size: 14px;
font-weight: 500;
color: var(--ink-soft);
text-decoration: none;
}
.nav-login:hover {
color: var(--ink);
}
@media (max-width: 640px) {
.nav-links {
display: none;
}
}
/* ---------- Buttons ---------- */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 8px;
font-weight: 600;
text-decoration: none;
white-space: nowrap;
border: 1px solid transparent;
}
.btn-primary {
background: var(--indigo);
color: #fff;
}
.btn-primary:hover {
background: var(--indigo-dark);
}
.btn-sm {
font-size: 13px;
padding: 7px 16px;
}
.btn-lg {
font-size: 15px;
padding: 13px 30px;
}
/* ---------- Hero ---------- */
.hero {
padding: 88px 0 64px;
text-align: center;
}
.eyebrow {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 13px;
font-weight: 600;
letter-spacing: 0.02em;
color: var(--indigo-dark);
background: var(--indigo-soft);
border-radius: 999px;
padding: 6px 14px;
margin-bottom: 24px;
}
h1 {
font-size: clamp(32px, 5vw, 52px);
line-height: 1.12;
letter-spacing: -0.02em;
margin: 0 0 20px;
}
h1 .accent {
color: var(--indigo);
}
.lede {
font-size: clamp(16px, 2vw, 19px);
color: var(--ink-soft);
max-width: 640px;
margin: 0 auto 36px;
}
.hero-shot {
margin-top: 8px;
border-radius: 16px;
border: 1px solid var(--border);
box-shadow: var(--shadow);
overflow: hidden;
max-width: 960px;
margin-left: auto;
margin-right: auto;
}
.hero-shot img {
width: 100%;
}
/* ---------- Section scaffolding ---------- */
section {
padding: 72px 0;
}
.section-head {
max-width: 620px;
margin: 0 auto 48px;
text-align: center;
}
.section-head h2 {
font-size: clamp(24px, 3.2vw, 32px);
letter-spacing: -0.01em;
margin: 0 0 12px;
}
.section-head p {
color: var(--ink-soft);
margin: 0;
font-size: 16px;
}
/* ---------- Feature grid ---------- */
.features {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
@media (max-width: 860px) {
.features {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 560px) {
.features {
grid-template-columns: 1fr;
}
}
.feature {
background: var(--panel);
border: 1px solid var(--border);
border-radius: 14px;
padding: 24px;
}
.feature .icon {
width: 38px;
height: 38px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
margin-bottom: 16px;
background: var(--indigo-soft);
}
.feature h3 {
font-size: 16px;
margin: 0 0 8px;
}
.feature p {
font-size: 14px;
color: var(--ink-soft);
margin: 0;
}
/* ---------- Showcase (alternating screenshot rows) ---------- */
.showcase-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 48px;
align-items: center;
padding: 48px 0;
border-top: 1px solid var(--border);
}
.showcase-row:first-of-type {
border-top: none;
}
.showcase-row.reverse .showcase-copy {
order: 2;
}
.showcase-row.reverse .showcase-shot {
order: 1;
}
@media (max-width: 800px) {
.showcase-row,
.showcase-row.reverse .showcase-copy,
.showcase-row.reverse .showcase-shot {
order: initial;
}
.showcase-row {
grid-template-columns: 1fr;
gap: 24px;
}
}
.showcase-tag {
font-size: 12px;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--indigo);
margin-bottom: 10px;
}
.showcase-copy h3 {
font-size: 22px;
margin: 0 0 12px;
letter-spacing: -0.01em;
}
.showcase-copy p {
color: var(--ink-soft);
font-size: 15px;
margin: 0 0 12px;
}
.showcase-copy ul {
margin: 16px 0 0;
padding: 0;
list-style: none;
font-size: 14px;
color: var(--ink-soft);
}
.showcase-copy li {
padding-left: 22px;
position: relative;
margin-bottom: 8px;
}
.showcase-copy li::before {
content: "✓";
position: absolute;
left: 0;
color: var(--teal);
font-weight: 700;
}
.showcase-shot {
border-radius: 14px;
border: 1px solid var(--border);
box-shadow: var(--shadow);
overflow: hidden;
}
/* ---------- Callout strip ---------- */
.strip {
background: var(--ink);
color: #fff;
border-radius: 20px;
padding: 48px;
text-align: center;
}
.strip h2 {
margin: 0 0 12px;
font-size: clamp(22px, 3vw, 28px);
}
.strip p {
margin: 0 auto;
color: #c7c4d9;
max-width: 520px;
font-size: 15px;
}
.strip-cta {
margin-top: 28px;
}
/* ---------- Footer ---------- */
footer {
border-top: 1px solid var(--border);
padding: 32px 0;
font-size: 13px;
color: var(--ink-soft);
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}