mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 20:45:33 -08:00
Add the UI Prototype skill, and have Quick Task confirm a saved prototype's brief before planning
AI Assisted
This commit is contained in:
1 parent
2f790027a9
commit
54b316cdf3
130 files changed
+8065
-50
No files matched your search
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "invoices-screen",
|
||||
"round": 1,
|
||||
"kind": "screen",
|
||||
"request": "A screen listing a customer's invoices, with what is overdue easy to spot.",
|
||||
"direction": "calm, plenty of room around totals",
|
||||
"carried": ["colors", "fonts", "spacing"],
|
||||
"freed": ["components"],
|
||||
"notFound": ["layout"],
|
||||
"variants": [
|
||||
{ "letter": "A", "name": "Dense table", "file": "variant-a.html", "what": "A table with overdue rows tinted", "starts": { "radius": 4 } },
|
||||
{ "letter": "B", "name": "Split view", "file": "variant-b.html", "what": "A list on the left, the open invoice on the right", "starts": { "radius": 10 } },
|
||||
{ "letter": "C", "name": "Cards", "file": "variant-c.html", "what": "One card per invoice, overdue ones first", "starts": { "radius": 16 } }
|
||||
],
|
||||
"starts": {
|
||||
"screen": "Desktop 1280",
|
||||
"theme": "light",
|
||||
"accent": "#2f6fed",
|
||||
"neutral": "#6b7280",
|
||||
"fontSet": "System UI",
|
||||
"textSize": 16,
|
||||
"space": 1,
|
||||
"radius": 8,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [
|
||||
{ "name": "shadows", "label": "Shadows", "type": "pick", "choices": ["none", "soft", "strong"], "start": "soft", "look": true },
|
||||
{ "name": "columns", "label": "Columns", "type": "slider", "min": 1, "max": 4, "step": 1, "start": 2, "look": false },
|
||||
{ "name": "dividers", "label": "Row dividers", "type": "toggle", "start": true, "look": true }
|
||||
],
|
||||
"images": [],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<style>
|
||||
.inv { padding: var(--p2c-space-5); color: var(--p2c-text); }
|
||||
.inv h1 { font-family: var(--p2c-font); font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); }
|
||||
.inv table { width: 100%; border-collapse: collapse; background: var(--p2c-surface); border-radius: var(--p2c-radius); }
|
||||
.inv td { padding: var(--p2c-space-2) var(--p2c-space-3); border-bottom: 1px solid var(--p2c-border); }
|
||||
.inv .late { color: var(--p2c-accent); }
|
||||
.inv button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); }
|
||||
</style>
|
||||
<div class="inv">
|
||||
<h1>
|
||||
<span data-p2c-text="short">Bills</span>
|
||||
<span data-p2c-text="typical">Invoices for Harbor Supply</span>
|
||||
<span data-p2c-text="long">Invoices for Harbor Supply and Logistics Cooperative, Northern Region</span>
|
||||
</h1>
|
||||
<table data-p2c-when="ready">
|
||||
<tr><td>INV-1042</td><td class="late">Overdue 12 days</td><td>$1,240.00</td></tr>
|
||||
<tr><td>INV-1043</td><td>Due Dec 2</td><td>$310.50</td></tr>
|
||||
</table>
|
||||
<p data-p2c-when="empty">No invoices yet. The first one appears here once it is sent.</p>
|
||||
<p data-p2c-when="loading">Loading invoices...</p>
|
||||
<p data-p2c-when="error">The invoices could not be loaded. Try again in a minute.</p>
|
||||
<button>New invoice</button>
|
||||
</div>
|
||||
@@ -0,0 +1,21 @@
|
||||
<style>
|
||||
.split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--p2c-space-4); padding: var(--p2c-space-4); }
|
||||
.split nav, .split article { background: var(--p2c-surface); border: 1px solid var(--p2c-border); border-radius: var(--p2c-radius); padding: var(--p2c-space-3); }
|
||||
.split h2 { font-size: var(--p2c-text-size); color: var(--p2c-muted); }
|
||||
.split .total { color: var(--p2c-accent); font-weight: 700; }
|
||||
</style>
|
||||
<div class="split">
|
||||
<nav>
|
||||
<h2>Invoices</h2>
|
||||
<ul data-p2c-when="ready"><li>INV-1042</li><li>INV-1043</li></ul>
|
||||
<p data-p2c-when="empty">Nothing to show yet.</p>
|
||||
<p data-p2c-when="loading">Loading...</p>
|
||||
<p data-p2c-when="error">Could not load the list.</p>
|
||||
</nav>
|
||||
<article data-p2c-when="ready empty loading error">
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply, net 30</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, net 30, billed to the Northern Region office</p>
|
||||
<p class="total">$1,240.00</p>
|
||||
</article>
|
||||
</div>
|
||||
@@ -0,0 +1,18 @@
|
||||
<style>
|
||||
.cards { display: grid; grid-template-columns: repeat(var(--p2c-x-columns), 1fr); gap: var(--p2c-space-4); padding: var(--p2c-space-5); }
|
||||
.card { background: var(--p2c-surface); border-radius: var(--p2c-radius); padding: var(--p2c-space-4); }
|
||||
:root[data-p2c-x-shadows="soft"] .card { box-shadow: 0 2px 8px color-mix(in srgb, var(--p2c-text) 12%, transparent); }
|
||||
.card strong { font-size: calc(var(--p2c-text-size) * 1.25); }
|
||||
.card .due { color: var(--p2c-accent); }
|
||||
</style>
|
||||
<div class="cards">
|
||||
<div class="card" data-p2c-when="ready">
|
||||
<strong>$1,240.00</strong>
|
||||
<p class="due">Overdue 12 days</p>
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply</p>
|
||||
</div>
|
||||
<div class="card" data-p2c-when="empty">No invoices yet.</div>
|
||||
<div class="card" data-p2c-when="loading">Loading invoices...</div>
|
||||
<div class="card" data-p2c-when="error">Something went wrong loading invoices.</div>
|
||||
</div>
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "invoices-screen",
|
||||
"round": 1,
|
||||
"kind": "screen",
|
||||
"request": "A screen listing a customer's invoices, with what is overdue easy to spot.",
|
||||
"direction": "calm, plenty of room around totals",
|
||||
"carried": ["colors", "fonts", "spacing"],
|
||||
"freed": ["components"],
|
||||
"notFound": ["layout"],
|
||||
"variants": [
|
||||
{ "letter": "A", "name": "Dense table", "file": "variant-a.html", "what": "A table with overdue rows tinted", "starts": { "radius": 4 } },
|
||||
{ "letter": "B", "name": "Split view", "file": "variant-b.html", "what": "A list on the left, the open invoice on the right", "starts": { "radius": 10 } },
|
||||
{ "letter": "C", "name": "Cards", "file": "variant-c.html", "what": "One card per invoice, overdue ones first", "starts": { "radius": 16 } }
|
||||
],
|
||||
"starts": {
|
||||
"screen": "Desktop 1280",
|
||||
"theme": "light",
|
||||
"accent": "#2f6fed",
|
||||
"neutral": "#6b7280",
|
||||
"fontSet": "System UI",
|
||||
"textSize": 16,
|
||||
"space": 1,
|
||||
"radius": 8,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [
|
||||
{ "name": "shadows", "label": "Shadows", "type": "pick", "choices": ["none", "soft", "strong"], "start": "soft", "look": true },
|
||||
{ "name": "columns", "label": "Columns", "type": "slider", "min": 1, "max": 4, "step": 1, "start": 2, "look": false },
|
||||
{ "name": "dividers", "label": "Row dividers", "type": "toggle", "start": true, "look": true }
|
||||
],
|
||||
"images": [],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<style>
|
||||
.inv { padding: var(--p2c-space-5); color: var(--p2c-text); }
|
||||
.inv h1 { font-family: var(--p2c-font); font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); }
|
||||
.inv table { width: 100%; border-collapse: collapse; background: var(--p2c-surface); border-radius: var(--p2c-radius); }
|
||||
.inv td { padding: var(--p2c-space-2) var(--p2c-space-3); border-bottom: 1px solid var(--p2c-border); }
|
||||
.inv .late { color: var(--p2c-accent); }
|
||||
.inv button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); }
|
||||
</style>
|
||||
<div class="inv">
|
||||
<h1>
|
||||
<span data-p2c-text="short">Bills</span>
|
||||
<span data-p2c-text="typical">Invoices for Harbor Supply</span>
|
||||
<span data-p2c-text="long">Invoices for Harbor Supply and Logistics Cooperative, Northern Region</span>
|
||||
</h1>
|
||||
<table data-p2c-when="ready">
|
||||
<tr><td>INV-1042</td><td class="late">Overdue 12 days</td><td>$1,240.00</td></tr>
|
||||
<tr><td>INV-1043</td><td>Due Dec 2</td><td>$310.50</td></tr>
|
||||
</table>
|
||||
<p data-p2c-when="empty">No invoices yet. The first one appears here once it is sent.</p>
|
||||
<p data-p2c-when="loading">Loading invoices...</p>
|
||||
<p data-p2c-when="error">The invoices could not be loaded. Try again in a minute.</p>
|
||||
<button>New invoice</button>
|
||||
</div>
|
||||
@@ -0,0 +1,22 @@
|
||||
<style>
|
||||
.split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--p2c-space-4); padding: var(--p2c-space-4); }
|
||||
.split nav, .split article { background: var(--p2c-surface); border: 1px solid var(--p2c-border); border-radius: var(--p2c-radius); padding: var(--p2c-space-3); }
|
||||
.split h2 { font-size: var(--p2c-text-size); color: var(--p2c-muted); }
|
||||
.split .total { color: var(--p2c-accent); font-weight: 700; }
|
||||
</style>
|
||||
<div class="split">
|
||||
<nav>
|
||||
<h2>Invoices</h2>
|
||||
<img src="https://example.com/logo.png" alt="Harbor Supply">
|
||||
<ul data-p2c-when="ready"><li>INV-1042</li><li>INV-1043</li></ul>
|
||||
<p data-p2c-when="empty">Nothing to show yet.</p>
|
||||
<p data-p2c-when="loading">Loading...</p>
|
||||
<p data-p2c-when="error">Could not load the list.</p>
|
||||
</nav>
|
||||
<article data-p2c-when="ready empty loading error">
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply, net 30</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, net 30, billed to the Northern Region office</p>
|
||||
<p class="total">$1,240.00</p>
|
||||
</article>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<style>
|
||||
.cards { display: grid; grid-template-columns: repeat(var(--p2c-x-columns), 1fr); gap: var(--p2c-space-4); padding: var(--p2c-space-5); }
|
||||
.card { background: var(--p2c-surface); border-radius: var(--p2c-radius); padding: var(--p2c-space-4); }
|
||||
:root[data-p2c-x-shadows="soft"] .card { box-shadow: 0 2px 8px color-mix(in srgb, var(--p2c-text) 12%, transparent); }
|
||||
.card strong { font-size: calc(var(--p2c-text-size) * 1.25); }
|
||||
.card .due { color: var(--p2c-accent); }
|
||||
</style>
|
||||
<div class="cards">
|
||||
<div class="card" data-p2c-when="ready">
|
||||
<strong>$1,240.00</strong>
|
||||
<p class="due">Overdue 12 days</p>
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, Northern Region office</p>
|
||||
</div>
|
||||
<div class="card" data-p2c-when="empty">No invoices yet.</div>
|
||||
<div class="card" data-p2c-when="loading">Loading invoices...</div>
|
||||
<div class="card" data-p2c-when="error">Something went wrong loading invoices.</div>
|
||||
</div>
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "invoices-screen",
|
||||
"round": 1,
|
||||
"kind": "screen",
|
||||
"request": "A screen listing a customer's invoices, with what is overdue easy to spot.",
|
||||
"direction": "calm, plenty of room around totals",
|
||||
"carried": ["colors", "fonts", "spacing"],
|
||||
"freed": ["components"],
|
||||
"notFound": ["layout"],
|
||||
"variants": [
|
||||
{ "letter": "A", "name": "Dense table", "file": "variant-a.html", "what": "A table with overdue rows tinted", "starts": { "radius": 4 } },
|
||||
{ "letter": "B", "name": "Split view", "file": "variant-b.html", "what": "A list on the left, the open invoice on the right", "starts": { "radius": 10 } },
|
||||
{ "letter": "C", "name": "Cards", "file": "variant-c.html", "what": "One card per invoice, overdue ones first", "starts": { "radius": 16 } }
|
||||
],
|
||||
"starts": {
|
||||
"screen": "Desktop 1280",
|
||||
"theme": "light",
|
||||
"accent": "#2f6fed",
|
||||
"neutral": "#6b7280",
|
||||
"fontSet": "System UI",
|
||||
"textSize": 16,
|
||||
"space": 1,
|
||||
"radius": 8,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [
|
||||
{ "name": "shadows", "label": "Shadows", "type": "pick", "choices": ["none", "soft", "strong"], "start": "soft", "look": true },
|
||||
{ "name": "columns", "label": "Columns", "type": "slider", "min": 1, "max": 4, "step": 1, "start": 2, "look": false },
|
||||
{ "name": "dividers", "label": "Row dividers", "type": "toggle", "start": true, "look": true }
|
||||
],
|
||||
"images": [],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<style>
|
||||
.inv { padding: var(--p2c-space-5); color: var(--p2c-text); }
|
||||
.inv h1 { font-family: var(--p2c-font); font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); }
|
||||
.inv table { width: 100%; border-collapse: collapse; background: var(--p2c-surface); border-radius: var(--p2c-radius); }
|
||||
.inv td { padding: var(--p2c-space-2) var(--p2c-space-3); border-bottom: 1px solid var(--p2c-border); }
|
||||
.inv .late { color: var(--p2c-accent); }
|
||||
.inv button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); }
|
||||
</style>
|
||||
<div class="inv">
|
||||
<h1>
|
||||
<span data-p2c-text="short">Bills</span>
|
||||
<span data-p2c-text="typical">Invoices for Harbor Supply</span>
|
||||
<span data-p2c-text="long">Invoices for Harbor Supply and Logistics Cooperative, Northern Region</span>
|
||||
</h1>
|
||||
<table data-p2c-when="ready">
|
||||
<tr><td>INV-1042</td><td class="late">Overdue 12 days</td><td>$1,240.00</td></tr>
|
||||
<tr><td>INV-1043</td><td>Due Dec 2</td><td>$310.50</td></tr>
|
||||
</table>
|
||||
<p data-p2c-when="empty">No invoices yet. The first one appears here once it is sent.</p>
|
||||
<p data-p2c-when="loading">Loading invoices...</p>
|
||||
<p data-p2c-when="error">The invoices could not be loaded. Try again in a minute.</p>
|
||||
<button>New invoice</button>
|
||||
</div>
|
||||
@@ -0,0 +1,21 @@
|
||||
<style>
|
||||
.split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--p2c-space-4); padding: var(--p2c-space-4); }
|
||||
.split nav, .split article { background: var(--p2c-surface); border: 1px solid var(--p2c-border); border-radius: var(--p2c-radius); padding: var(--p2c-space-3); }
|
||||
.split h2 { font-size: var(--p2c-text-size); color: var(--p2c-muted); }
|
||||
.split .total { color: var(--p2c-accent); font-weight: 700; }
|
||||
</style>
|
||||
<div class="split">
|
||||
<nav>
|
||||
<h2>Invoices</h2>
|
||||
<ul data-p2c-when="ready"><li>INV-1042</li><li>INV-1043</li></ul>
|
||||
<p data-p2c-when="empty">Nothing to show yet.</p>
|
||||
<p data-p2c-when="loading">Loading...</p>
|
||||
<p data-p2c-when="error">Could not load the list.</p>
|
||||
</nav>
|
||||
<article data-p2c-when="ready empty loading error">
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply, net 30</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, net 30, billed to the Northern Region office</p>
|
||||
<p class="total">$1,240.00</p>
|
||||
</article>
|
||||
</div>
|
||||
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"name": "invoices-screen",
|
||||
"round": 1,
|
||||
"kind": "screen",
|
||||
"request": "A screen listing a customer's invoices, with what is overdue easy to spot.",
|
||||
"direction": "calm, plenty of room around totals",
|
||||
"carried": [
|
||||
"colors",
|
||||
"fonts",
|
||||
"spacing"
|
||||
],
|
||||
"freed": [
|
||||
"components"
|
||||
],
|
||||
"notFound": [
|
||||
"layout"
|
||||
],
|
||||
"variants": [
|
||||
{
|
||||
"letter": "A",
|
||||
"name": "Variant A",
|
||||
"file": "variant-a.html",
|
||||
"what": "One of six",
|
||||
"starts": {}
|
||||
},
|
||||
{
|
||||
"letter": "B",
|
||||
"name": "Variant B",
|
||||
"file": "variant-b.html",
|
||||
"what": "One of six",
|
||||
"starts": {}
|
||||
},
|
||||
{
|
||||
"letter": "C",
|
||||
"name": "Variant C",
|
||||
"file": "variant-c.html",
|
||||
"what": "One of six",
|
||||
"starts": {}
|
||||
},
|
||||
{
|
||||
"letter": "D",
|
||||
"name": "Variant D",
|
||||
"file": "variant-d.html",
|
||||
"what": "One of six",
|
||||
"starts": {}
|
||||
},
|
||||
{
|
||||
"letter": "E",
|
||||
"name": "Variant E",
|
||||
"file": "variant-e.html",
|
||||
"what": "One of six",
|
||||
"starts": {}
|
||||
},
|
||||
{
|
||||
"letter": "F",
|
||||
"name": "Variant F",
|
||||
"file": "variant-f.html",
|
||||
"what": "One of six",
|
||||
"starts": {}
|
||||
}
|
||||
],
|
||||
"starts": {
|
||||
"screen": "Desktop 1280",
|
||||
"theme": "light",
|
||||
"accent": "#2f6fed",
|
||||
"neutral": "#6b7280",
|
||||
"fontSet": "System UI",
|
||||
"textSize": 16,
|
||||
"space": 1,
|
||||
"radius": 8,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [
|
||||
{
|
||||
"name": "shadows",
|
||||
"label": "Shadows",
|
||||
"type": "pick",
|
||||
"choices": [
|
||||
"none",
|
||||
"soft",
|
||||
"strong"
|
||||
],
|
||||
"start": "soft",
|
||||
"look": true
|
||||
},
|
||||
{
|
||||
"name": "columns",
|
||||
"label": "Columns",
|
||||
"type": "slider",
|
||||
"min": 1,
|
||||
"max": 4,
|
||||
"step": 1,
|
||||
"start": 2,
|
||||
"look": false
|
||||
},
|
||||
{
|
||||
"name": "dividers",
|
||||
"label": "Row dividers",
|
||||
"type": "toggle",
|
||||
"start": true,
|
||||
"look": true
|
||||
}
|
||||
],
|
||||
"images": [],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<style>
|
||||
.inv { padding: var(--p2c-space-5); color: var(--p2c-text); }
|
||||
.inv h1 { font-family: var(--p2c-font); font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); }
|
||||
.inv table { width: 100%; border-collapse: collapse; background: var(--p2c-surface); border-radius: var(--p2c-radius); }
|
||||
.inv td { padding: var(--p2c-space-2) var(--p2c-space-3); border-bottom: 1px solid var(--p2c-border); }
|
||||
.inv .late { color: var(--p2c-accent); }
|
||||
.inv button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); }
|
||||
</style>
|
||||
<div class="inv">
|
||||
<h1>
|
||||
<span data-p2c-text="short">Bills</span>
|
||||
<span data-p2c-text="typical">Invoices for Harbor Supply</span>
|
||||
<span data-p2c-text="long">Invoices for Harbor Supply and Logistics Cooperative, Northern Region</span>
|
||||
</h1>
|
||||
<table data-p2c-when="ready">
|
||||
<tr><td>INV-1042</td><td class="late">Overdue 12 days</td><td>$1,240.00</td></tr>
|
||||
<tr><td>INV-1043</td><td>Due Dec 2</td><td>$310.50</td></tr>
|
||||
</table>
|
||||
<p data-p2c-when="empty">No invoices yet. The first one appears here once it is sent.</p>
|
||||
<p data-p2c-when="loading">Loading invoices...</p>
|
||||
<p data-p2c-when="error">The invoices could not be loaded. Try again in a minute.</p>
|
||||
<button>New invoice</button>
|
||||
</div>
|
||||
@@ -0,0 +1,21 @@
|
||||
<style>
|
||||
.split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--p2c-space-4); padding: var(--p2c-space-4); }
|
||||
.split nav, .split article { background: var(--p2c-surface); border: 1px solid var(--p2c-border); border-radius: var(--p2c-radius); padding: var(--p2c-space-3); }
|
||||
.split h2 { font-size: var(--p2c-text-size); color: var(--p2c-muted); }
|
||||
.split .total { color: var(--p2c-accent); font-weight: 700; }
|
||||
</style>
|
||||
<div class="split">
|
||||
<nav>
|
||||
<h2>Invoices</h2>
|
||||
<ul data-p2c-when="ready"><li>INV-1042</li><li>INV-1043</li></ul>
|
||||
<p data-p2c-when="empty">Nothing to show yet.</p>
|
||||
<p data-p2c-when="loading">Loading...</p>
|
||||
<p data-p2c-when="error">Could not load the list.</p>
|
||||
</nav>
|
||||
<article data-p2c-when="ready empty loading error">
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply, net 30</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, net 30, billed to the Northern Region office</p>
|
||||
<p class="total">$1,240.00</p>
|
||||
</article>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<style>
|
||||
.cards { display: grid; grid-template-columns: repeat(var(--p2c-x-columns), 1fr); gap: var(--p2c-space-4); padding: var(--p2c-space-5); }
|
||||
.card { background: var(--p2c-surface); border-radius: var(--p2c-radius); padding: var(--p2c-space-4); }
|
||||
:root[data-p2c-x-shadows="soft"] .card { box-shadow: 0 2px 8px color-mix(in srgb, var(--p2c-text) 12%, transparent); }
|
||||
.card strong { font-size: calc(var(--p2c-text-size) * 1.25); }
|
||||
.card .due { color: var(--p2c-accent); }
|
||||
</style>
|
||||
<div class="cards">
|
||||
<div class="card" data-p2c-when="ready">
|
||||
<strong>$1,240.00</strong>
|
||||
<p class="due">Overdue 12 days</p>
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, Northern Region office</p>
|
||||
</div>
|
||||
<div class="card" data-p2c-when="empty">No invoices yet.</div>
|
||||
<div class="card" data-p2c-when="loading">Loading invoices...</div>
|
||||
<div class="card" data-p2c-when="error">Something went wrong loading invoices.</div>
|
||||
</div>
|
||||
@@ -0,0 +1,23 @@
|
||||
<style>
|
||||
.inv { padding: var(--p2c-space-5); color: var(--p2c-text); }
|
||||
.inv h1 { font-family: var(--p2c-font); font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); }
|
||||
.inv table { width: 100%; border-collapse: collapse; background: var(--p2c-surface); border-radius: var(--p2c-radius); }
|
||||
.inv td { padding: var(--p2c-space-2) var(--p2c-space-3); border-bottom: 1px solid var(--p2c-border); }
|
||||
.inv .late { color: var(--p2c-accent); }
|
||||
.inv button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); }
|
||||
</style>
|
||||
<div class="inv">
|
||||
<h1>
|
||||
<span data-p2c-text="short">Bills</span>
|
||||
<span data-p2c-text="typical">Invoices for Harbor Supply</span>
|
||||
<span data-p2c-text="long">Invoices for Harbor Supply and Logistics Cooperative, Northern Region</span>
|
||||
</h1>
|
||||
<table data-p2c-when="ready">
|
||||
<tr><td>INV-1042</td><td class="late">Overdue 12 days</td><td>$1,240.00</td></tr>
|
||||
<tr><td>INV-1043</td><td>Due Dec 2</td><td>$310.50</td></tr>
|
||||
</table>
|
||||
<p data-p2c-when="empty">No invoices yet. The first one appears here once it is sent.</p>
|
||||
<p data-p2c-when="loading">Loading invoices...</p>
|
||||
<p data-p2c-when="error">The invoices could not be loaded. Try again in a minute.</p>
|
||||
<button>New invoice</button>
|
||||
</div>
|
||||
@@ -0,0 +1,23 @@
|
||||
<style>
|
||||
.inv { padding: var(--p2c-space-5); color: var(--p2c-text); }
|
||||
.inv h1 { font-family: var(--p2c-font); font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); }
|
||||
.inv table { width: 100%; border-collapse: collapse; background: var(--p2c-surface); border-radius: var(--p2c-radius); }
|
||||
.inv td { padding: var(--p2c-space-2) var(--p2c-space-3); border-bottom: 1px solid var(--p2c-border); }
|
||||
.inv .late { color: var(--p2c-accent); }
|
||||
.inv button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); }
|
||||
</style>
|
||||
<div class="inv">
|
||||
<h1>
|
||||
<span data-p2c-text="short">Bills</span>
|
||||
<span data-p2c-text="typical">Invoices for Harbor Supply</span>
|
||||
<span data-p2c-text="long">Invoices for Harbor Supply and Logistics Cooperative, Northern Region</span>
|
||||
</h1>
|
||||
<table data-p2c-when="ready">
|
||||
<tr><td>INV-1042</td><td class="late">Overdue 12 days</td><td>$1,240.00</td></tr>
|
||||
<tr><td>INV-1043</td><td>Due Dec 2</td><td>$310.50</td></tr>
|
||||
</table>
|
||||
<p data-p2c-when="empty">No invoices yet. The first one appears here once it is sent.</p>
|
||||
<p data-p2c-when="loading">Loading invoices...</p>
|
||||
<p data-p2c-when="error">The invoices could not be loaded. Try again in a minute.</p>
|
||||
<button>New invoice</button>
|
||||
</div>
|
||||
@@ -0,0 +1,23 @@
|
||||
<style>
|
||||
.inv { padding: var(--p2c-space-5); color: var(--p2c-text); }
|
||||
.inv h1 { font-family: var(--p2c-font); font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); }
|
||||
.inv table { width: 100%; border-collapse: collapse; background: var(--p2c-surface); border-radius: var(--p2c-radius); }
|
||||
.inv td { padding: var(--p2c-space-2) var(--p2c-space-3); border-bottom: 1px solid var(--p2c-border); }
|
||||
.inv .late { color: var(--p2c-accent); }
|
||||
.inv button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); }
|
||||
</style>
|
||||
<div class="inv">
|
||||
<h1>
|
||||
<span data-p2c-text="short">Bills</span>
|
||||
<span data-p2c-text="typical">Invoices for Harbor Supply</span>
|
||||
<span data-p2c-text="long">Invoices for Harbor Supply and Logistics Cooperative, Northern Region</span>
|
||||
</h1>
|
||||
<table data-p2c-when="ready">
|
||||
<tr><td>INV-1042</td><td class="late">Overdue 12 days</td><td>$1,240.00</td></tr>
|
||||
<tr><td>INV-1043</td><td>Due Dec 2</td><td>$310.50</td></tr>
|
||||
</table>
|
||||
<p data-p2c-when="empty">No invoices yet. The first one appears here once it is sent.</p>
|
||||
<p data-p2c-when="loading">Loading invoices...</p>
|
||||
<p data-p2c-when="error">The invoices could not be loaded. Try again in a minute.</p>
|
||||
<button>New invoice</button>
|
||||
</div>
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"name": "invoices-screen",
|
||||
"round": 1,
|
||||
"kind": "screen",
|
||||
"request": "A screen listing a customer's invoices, with what is overdue easy to spot.",
|
||||
"direction": "calm, plenty of room around totals",
|
||||
"carried": [
|
||||
"colors",
|
||||
"fonts",
|
||||
"spacing"
|
||||
],
|
||||
"freed": [
|
||||
"components"
|
||||
],
|
||||
"notFound": [
|
||||
"layout"
|
||||
],
|
||||
"variants": [
|
||||
{
|
||||
"letter": "A",
|
||||
"name": "Dense table",
|
||||
"file": "variant-a.html",
|
||||
"what": "A table with overdue rows tinted",
|
||||
"starts": {
|
||||
"radius": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"letter": "B",
|
||||
"name": "Split view",
|
||||
"file": "variant-b.html",
|
||||
"what": "A list on the left, the open invoice on the right",
|
||||
"starts": {
|
||||
"radius": 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"letter": "C",
|
||||
"name": "Cards",
|
||||
"file": "variant-c.html",
|
||||
"what": "One card per invoice, overdue ones first",
|
||||
"starts": {
|
||||
"radius": 16
|
||||
}
|
||||
}
|
||||
],
|
||||
"starts": {
|
||||
"screen": "Desktop 1280",
|
||||
"theme": "light",
|
||||
"accent": "#2f6fed",
|
||||
"neutral": "#6b7280",
|
||||
"fontSet": "Comic Sans",
|
||||
"textSize": 16,
|
||||
"space": 1,
|
||||
"radius": 8,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [
|
||||
{
|
||||
"name": "shadows",
|
||||
"label": "Shadows",
|
||||
"type": "pick",
|
||||
"choices": [
|
||||
"none",
|
||||
"soft",
|
||||
"strong"
|
||||
],
|
||||
"start": "soft",
|
||||
"look": true
|
||||
},
|
||||
{
|
||||
"name": "columns",
|
||||
"label": "Columns",
|
||||
"type": "slider",
|
||||
"min": 1,
|
||||
"max": 4,
|
||||
"step": 1,
|
||||
"start": 2,
|
||||
"look": false
|
||||
},
|
||||
{
|
||||
"name": "dividers",
|
||||
"label": "Row dividers",
|
||||
"type": "toggle",
|
||||
"start": true,
|
||||
"look": true
|
||||
}
|
||||
],
|
||||
"images": [],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<style>
|
||||
.inv { padding: var(--p2c-space-5); color: var(--p2c-text); }
|
||||
.inv h1 { font-family: var(--p2c-font); font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); }
|
||||
.inv table { width: 100%; border-collapse: collapse; background: var(--p2c-surface); border-radius: var(--p2c-radius); }
|
||||
.inv td { padding: var(--p2c-space-2) var(--p2c-space-3); border-bottom: 1px solid var(--p2c-border); }
|
||||
.inv .late { color: var(--p2c-accent); }
|
||||
.inv button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); }
|
||||
</style>
|
||||
<div class="inv">
|
||||
<h1>
|
||||
<span data-p2c-text="short">Bills</span>
|
||||
<span data-p2c-text="typical">Invoices for Harbor Supply</span>
|
||||
<span data-p2c-text="long">Invoices for Harbor Supply and Logistics Cooperative, Northern Region</span>
|
||||
</h1>
|
||||
<table data-p2c-when="ready">
|
||||
<tr><td>INV-1042</td><td class="late">Overdue 12 days</td><td>$1,240.00</td></tr>
|
||||
<tr><td>INV-1043</td><td>Due Dec 2</td><td>$310.50</td></tr>
|
||||
</table>
|
||||
<p data-p2c-when="empty">No invoices yet. The first one appears here once it is sent.</p>
|
||||
<p data-p2c-when="loading">Loading invoices...</p>
|
||||
<p data-p2c-when="error">The invoices could not be loaded. Try again in a minute.</p>
|
||||
<button>New invoice</button>
|
||||
</div>
|
||||
@@ -0,0 +1,21 @@
|
||||
<style>
|
||||
.split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--p2c-space-4); padding: var(--p2c-space-4); }
|
||||
.split nav, .split article { background: var(--p2c-surface); border: 1px solid var(--p2c-border); border-radius: var(--p2c-radius); padding: var(--p2c-space-3); }
|
||||
.split h2 { font-size: var(--p2c-text-size); color: var(--p2c-muted); }
|
||||
.split .total { color: var(--p2c-accent); font-weight: 700; }
|
||||
</style>
|
||||
<div class="split">
|
||||
<nav>
|
||||
<h2>Invoices</h2>
|
||||
<ul data-p2c-when="ready"><li>INV-1042</li><li>INV-1043</li></ul>
|
||||
<p data-p2c-when="empty">Nothing to show yet.</p>
|
||||
<p data-p2c-when="loading">Loading...</p>
|
||||
<p data-p2c-when="error">Could not load the list.</p>
|
||||
</nav>
|
||||
<article data-p2c-when="ready empty loading error">
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply, net 30</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, net 30, billed to the Northern Region office</p>
|
||||
<p class="total">$1,240.00</p>
|
||||
</article>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<style>
|
||||
.cards { display: grid; grid-template-columns: repeat(var(--p2c-x-columns), 1fr); gap: var(--p2c-space-4); padding: var(--p2c-space-5); }
|
||||
.card { background: var(--p2c-surface); border-radius: var(--p2c-radius); padding: var(--p2c-space-4); }
|
||||
:root[data-p2c-x-shadows="soft"] .card { box-shadow: 0 2px 8px color-mix(in srgb, var(--p2c-text) 12%, transparent); }
|
||||
.card strong { font-size: calc(var(--p2c-text-size) * 1.25); }
|
||||
.card .due { color: var(--p2c-accent); }
|
||||
</style>
|
||||
<div class="cards">
|
||||
<div class="card" data-p2c-when="ready">
|
||||
<strong>$1,240.00</strong>
|
||||
<p class="due">Overdue 12 days</p>
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, Northern Region office</p>
|
||||
</div>
|
||||
<div class="card" data-p2c-when="empty">No invoices yet.</div>
|
||||
<div class="card" data-p2c-when="loading">Loading invoices...</div>
|
||||
<div class="card" data-p2c-when="error">Something went wrong loading invoices.</div>
|
||||
</div>
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "invoices-screen",
|
||||
"round": 1,
|
||||
"kind": "screen",
|
||||
"request": "A screen listing a customer's invoices, with what is overdue easy to spot.",
|
||||
"direction": "calm, plenty of room around totals",
|
||||
"carried": ["colors", "fonts", "spacing"],
|
||||
"freed": ["components"],
|
||||
"notFound": ["layout"],
|
||||
"variants": [
|
||||
{ "letter": "A", "name": "Dense table", "file": "variant-a.html", "what": "A table with overdue rows tinted", "starts": { "radius": 4 } },
|
||||
{ "letter": "B", "name": "Split view", "file": "variant-b.html", "what": "A list on the left, the open invoice on the right", "starts": { "radius": 10 } },
|
||||
{ "letter": "C", "name": "Cards", "file": "variant-c.html", "what": "One card per invoice, overdue ones first", "starts": { "radius": 16 } }
|
||||
],
|
||||
"starts": {
|
||||
"screen": "Desktop 1280",
|
||||
"theme": "light",
|
||||
"accent": "#2f6fed",
|
||||
"neutral": "#6b7280",
|
||||
"fontSet": "System UI",
|
||||
"textSize": 16,
|
||||
"space": 1,
|
||||
"radius": 8,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [
|
||||
{ "name": "shadows", "label": "Shadows", "type": "pick", "choices": ["none", "soft", "strong"], "start": "soft", "look": true },
|
||||
{ "name": "columns", "label": "Columns", "type": "slider", "min": 1, "max": 4, "step": 1, "start": 2, "look": false },
|
||||
{ "name": "dividers", "label": "Row dividers", "type": "toggle", "start": true, "look": true }
|
||||
],
|
||||
"images": [],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<style>
|
||||
.inv { padding: var(--p2c-space-5); color: var(--p2c-text); }
|
||||
.inv h1 { font-family: var(--p2c-font); font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); }
|
||||
.inv table { width: 100%; border-collapse: collapse; background: var(--p2c-surface); border-radius: var(--p2c-radius); }
|
||||
.inv td { padding: var(--p2c-space-2) var(--p2c-space-3); border-bottom: 1px solid var(--p2c-border); }
|
||||
.inv .late { color: var(--p2c-accent); }
|
||||
.inv button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); }
|
||||
</style>
|
||||
<div class="inv">
|
||||
<h1>
|
||||
<span data-p2c-text="short">Bills</span>
|
||||
<span data-p2c-text="typical">Invoices for Harbor Supply</span>
|
||||
<span data-p2c-text="long">Invoices for Harbor Supply and Logistics Cooperative, Northern Region</span>
|
||||
</h1>
|
||||
<table data-p2c-when="ready">
|
||||
<tr><td>INV-1042</td><td class="late">Overdue 12 days</td><td>$1,240.00</td></tr>
|
||||
<tr><td>INV-1043</td><td>Due Dec 2</td><td>$310.50</td></tr>
|
||||
</table>
|
||||
<p data-p2c-when="empty">No invoices yet. The first one appears here once it is sent.</p>
|
||||
<p data-p2c-when="loading">Loading invoices...</p>
|
||||
<p data-p2c-when="error">The invoices could not be loaded. Try again in a minute.</p>
|
||||
<button>New invoice</button>
|
||||
</div>
|
||||
@@ -0,0 +1,22 @@
|
||||
<style>
|
||||
.split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--p2c-space-4); padding: var(--p2c-space-4); }
|
||||
.split nav, .split article { background: var(--p2c-surface); border: 1px solid var(--p2c-border); border-radius: var(--p2c-radius); padding: var(--p2c-space-3); }
|
||||
.split h2 { font-size: var(--p2c-text-size); color: var(--p2c-muted); }
|
||||
.split .total { color: var(--p2c-accent); font-weight: 700; }
|
||||
</style>
|
||||
<div class="split">
|
||||
<nav>
|
||||
<h2>Invoices</h2>
|
||||
<ul data-p2c-when="ready"><li>INV-1042</li><li>INV-1043</li></ul>
|
||||
<p data-p2c-when="empty">Nothing to show yet.</p>
|
||||
<p data-p2c-when="loading">Loading...</p>
|
||||
<p data-p2c-when="error">Could not load the list.</p>
|
||||
</nav>
|
||||
<article data-p2c-when="ready empty loading error">
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply, net 30</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, net 30, billed to the Northern Region office</p>
|
||||
<p class="total">$1,240.00</p>
|
||||
<button onclick="pay()">Pay now</button>
|
||||
</article>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<style>
|
||||
.cards { display: grid; grid-template-columns: repeat(var(--p2c-x-columns), 1fr); gap: var(--p2c-space-4); padding: var(--p2c-space-5); }
|
||||
.card { background: var(--p2c-surface); border-radius: var(--p2c-radius); padding: var(--p2c-space-4); }
|
||||
:root[data-p2c-x-shadows="soft"] .card { box-shadow: 0 2px 8px color-mix(in srgb, var(--p2c-text) 12%, transparent); }
|
||||
.card strong { font-size: calc(var(--p2c-text-size) * 1.25); }
|
||||
.card .due { color: var(--p2c-accent); }
|
||||
</style>
|
||||
<div class="cards">
|
||||
<div class="card" data-p2c-when="ready">
|
||||
<strong>$1,240.00</strong>
|
||||
<p class="due">Overdue 12 days</p>
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, Northern Region office</p>
|
||||
</div>
|
||||
<div class="card" data-p2c-when="empty">No invoices yet.</div>
|
||||
<div class="card" data-p2c-when="loading">Loading invoices...</div>
|
||||
<div class="card" data-p2c-when="error">Something went wrong loading invoices.</div>
|
||||
</div>
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "invoices-screen",
|
||||
"round": 1,
|
||||
"kind": "screen",
|
||||
"request": "A screen listing a customer's invoices, with what is overdue easy to spot.",
|
||||
"direction": "calm, plenty of room around totals",
|
||||
"carried": ["colors", "fonts", "spacing"],
|
||||
"freed": ["components"],
|
||||
"notFound": ["layout"],
|
||||
"variants": [
|
||||
{ "letter": "A", "name": "Dense table", "file": "variant-a.html", "what": "A table with overdue rows tinted", "starts": { "radius": 4 } },
|
||||
{ "letter": "B", "name": "Split view", "file": "variant-b.html", "what": "A list on the left, the open invoice on the right", "starts": { "radius": 10 } },
|
||||
{ "letter": "C", "name": "Cards", "file": "variant-c.html", "what": "One card per invoice, overdue ones first", "starts": { "radius": 16 } }
|
||||
],
|
||||
"starts": {
|
||||
"screen": "Desktop 1280",
|
||||
"theme": "light",
|
||||
"accent": "#2f6fed",
|
||||
"neutral": "#6b7280",
|
||||
"fontSet": "System UI",
|
||||
"textSize": 16,
|
||||
"space": 1,
|
||||
"radius": 8,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [
|
||||
{ "name": "shadows", "label": "Shadows", "type": "pick", "choices": ["none", "soft", "strong"], "start": "soft", "look": true },
|
||||
{ "name": "columns", "label": "Columns", "type": "slider", "min": 1, "max": 4, "step": 1, "start": 2, "look": false },
|
||||
{ "name": "dividers", "label": "Row dividers", "type": "toggle", "start": true, "look": true }
|
||||
],
|
||||
"images": [],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<style>
|
||||
.inv { padding: var(--p2c-space-5); color: var(--p2c-text); }
|
||||
.inv h1 { font-family: var(--p2c-font); font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); }
|
||||
.inv table { width: 100%; border-collapse: collapse; background: var(--p2c-surface); border-radius: var(--p2c-radius); }
|
||||
.inv td { padding: var(--p2c-space-2) var(--p2c-space-3); border-bottom: 1px solid var(--p2c-border); }
|
||||
.inv .late { color: var(--p2c-accent); }
|
||||
.inv button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); }
|
||||
</style>
|
||||
<div class="inv">
|
||||
<h1>
|
||||
<span data-p2c-text="short">Bills</span>
|
||||
<span data-p2c-text="typical">Invoices for Harbor Supply</span>
|
||||
<span data-p2c-text="long">Invoices for Harbor Supply and Logistics Cooperative, Northern Region</span>
|
||||
</h1>
|
||||
<table data-p2c-when="ready">
|
||||
<tr><td>INV-1042</td><td class="late">Overdue 12 days</td><td>$1,240.00</td></tr>
|
||||
<tr><td>INV-1043</td><td>Due Dec 2</td><td>$310.50</td></tr>
|
||||
</table>
|
||||
<p data-p2c-when="empty">No invoices yet. The first one appears here once it is sent.</p>
|
||||
<p data-p2c-when="error">The invoices could not be loaded. Try again in a minute.</p>
|
||||
<button>New invoice</button>
|
||||
</div>
|
||||
@@ -0,0 +1,21 @@
|
||||
<style>
|
||||
.split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--p2c-space-4); padding: var(--p2c-space-4); }
|
||||
.split nav, .split article { background: var(--p2c-surface); border: 1px solid var(--p2c-border); border-radius: var(--p2c-radius); padding: var(--p2c-space-3); }
|
||||
.split h2 { font-size: var(--p2c-text-size); color: var(--p2c-muted); }
|
||||
.split .total { color: var(--p2c-accent); font-weight: 700; }
|
||||
</style>
|
||||
<div class="split">
|
||||
<nav>
|
||||
<h2>Invoices</h2>
|
||||
<ul data-p2c-when="ready"><li>INV-1042</li><li>INV-1043</li></ul>
|
||||
<p data-p2c-when="empty">Nothing to show yet.</p>
|
||||
<p data-p2c-when="loading">Loading...</p>
|
||||
<p data-p2c-when="error">Could not load the list.</p>
|
||||
</nav>
|
||||
<article data-p2c-when="ready empty loading error">
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply, net 30</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, net 30, billed to the Northern Region office</p>
|
||||
<p class="total">$1,240.00</p>
|
||||
</article>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<style>
|
||||
.cards { display: grid; grid-template-columns: repeat(var(--p2c-x-columns), 1fr); gap: var(--p2c-space-4); padding: var(--p2c-space-5); }
|
||||
.card { background: var(--p2c-surface); border-radius: var(--p2c-radius); padding: var(--p2c-space-4); }
|
||||
:root[data-p2c-x-shadows="soft"] .card { box-shadow: 0 2px 8px color-mix(in srgb, var(--p2c-text) 12%, transparent); }
|
||||
.card strong { font-size: calc(var(--p2c-text-size) * 1.25); }
|
||||
.card .due { color: var(--p2c-accent); }
|
||||
</style>
|
||||
<div class="cards">
|
||||
<div class="card" data-p2c-when="ready">
|
||||
<strong>$1,240.00</strong>
|
||||
<p class="due">Overdue 12 days</p>
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, Northern Region office</p>
|
||||
</div>
|
||||
<div class="card" data-p2c-when="empty">No invoices yet.</div>
|
||||
<div class="card" data-p2c-when="loading">Loading invoices...</div>
|
||||
<div class="card" data-p2c-when="error">Something went wrong loading invoices.</div>
|
||||
</div>
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "signup-flow",
|
||||
"round": 1,
|
||||
"kind": "flow",
|
||||
"request": "The three screens of signing up: account, team, done.",
|
||||
"direction": "",
|
||||
"carried": ["colors", "fonts", "spacing", "components", "layout"],
|
||||
"freed": [],
|
||||
"notFound": [],
|
||||
"variants": [
|
||||
{ "letter": "A", "name": "Single column", "file": "variant-a.html", "what": "One centered form per step", "starts": {} },
|
||||
{ "letter": "B", "name": "Side rail", "file": "variant-b.html", "what": "Steps listed in a rail beside each form", "starts": {} }
|
||||
],
|
||||
"starts": {
|
||||
"screen": "Phone 390",
|
||||
"theme": "dark",
|
||||
"accent": "#1a7f37",
|
||||
"neutral": "#5b6170",
|
||||
"fontSet": "Humanist",
|
||||
"textSize": 15,
|
||||
"space": 1.25,
|
||||
"radius": 12,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [],
|
||||
"images": [],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<style>
|
||||
.step-a { background: var(--p2c-surface); color: var(--p2c-text); font-family: var(--p2c-font); padding: var(--p2c-space-4); border-radius: var(--p2c-radius); }
|
||||
.step-a button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; padding: var(--p2c-space-2); }
|
||||
</style>
|
||||
<section class="step-a" data-p2c-step="1. Account">
|
||||
<h2 data-p2c-text="short">Join</h2>
|
||||
<h2 data-p2c-text="typical">Create your account</h2>
|
||||
<h2 data-p2c-text="long">Create your account to start tracking the invoices of every customer you bill</h2>
|
||||
<p data-p2c-when="ready">Email and a password.</p>
|
||||
<p data-p2c-when="empty">Start with your work email.</p>
|
||||
<p data-p2c-when="loading">Checking...</p>
|
||||
<p data-p2c-when="error">That email is already taken.</p>
|
||||
<button>Continue</button>
|
||||
</section>
|
||||
<section class="step-a" data-p2c-step="2. Team">
|
||||
<h2>Invite your team</h2>
|
||||
<button>Send invites</button>
|
||||
</section>
|
||||
<section class="step-a" data-p2c-step="3. Done">
|
||||
<h2>You are all set</h2>
|
||||
</section>
|
||||
@@ -0,0 +1,14 @@
|
||||
<style>
|
||||
.step-b { background: var(--p2c-surface); color: var(--p2c-text); font-family: var(--p2c-font); padding: var(--p2c-space-4); border-radius: var(--p2c-radius); }
|
||||
.step-b button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; padding: var(--p2c-space-2); }
|
||||
</style>
|
||||
<section class="step-b" data-p2c-step="1. Account">
|
||||
<h2 data-p2c-text="short">Join</h2>
|
||||
<h2 data-p2c-text="typical">Create your account</h2>
|
||||
<h2 data-p2c-text="long">Create your account to start tracking the invoices of every customer you bill</h2>
|
||||
<p data-p2c-when="ready">Email and a password.</p>
|
||||
<p data-p2c-when="empty">Start with your work email.</p>
|
||||
<p data-p2c-when="loading">Checking...</p>
|
||||
<p data-p2c-when="error">That email is already taken.</p>
|
||||
<button>Continue</button>
|
||||
</section>
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "invoices-screen",
|
||||
"round": 1,
|
||||
"kind": "screen",
|
||||
"request": "A screen listing a customer's invoices, with what is overdue easy to spot.",
|
||||
"direction": "calm, plenty of room around totals",
|
||||
"carried": ["colors", "fonts", "spacing"],
|
||||
"freed": ["components"],
|
||||
"notFound": ["layout"],
|
||||
"variants": [
|
||||
{ "letter": "A", "name": "Dense table", "file": "variant-a.html", "what": "A table with overdue rows tinted", "starts": { "radius": 4 } },
|
||||
{ "letter": "B", "name": "Split view", "file": "variant-b.html", "what": "A list on the left, the open invoice on the right", "starts": { "radius": 10 } },
|
||||
{ "letter": "C", "name": "Cards", "file": "variant-c.html", "what": "One card per invoice, overdue ones first", "starts": { "radius": 16 } }
|
||||
],
|
||||
"starts": {
|
||||
"screen": "Desktop 1280",
|
||||
"theme": "light",
|
||||
"accent": "#2f6fed",
|
||||
"neutral": "#6b7280",
|
||||
"fontSet": "System UI",
|
||||
"textSize": 16,
|
||||
"space": 1,
|
||||
"radius": 8,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [
|
||||
{ "name": "shadows", "label": "Shadows", "type": "pick", "choices": ["none", "soft", "strong"], "start": "soft", "look": true },
|
||||
{ "name": "columns", "label": "Columns", "type": "slider", "min": 1, "max": 4, "step": 1, "start": 2, "look": false },
|
||||
{ "name": "dividers", "label": "Row dividers", "type": "toggle", "start": true, "look": true }
|
||||
],
|
||||
"images": [],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<style>
|
||||
.inv { padding: var(--p2c-space-5); color: var(--p2c-text); }
|
||||
.inv h1 { font-family: var(--p2c-font); font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); }
|
||||
.inv table { width: 100%; border-collapse: collapse; background: var(--p2c-surface); border-radius: var(--p2c-radius); }
|
||||
.inv td { padding: var(--p2c-space-2) var(--p2c-space-3); border-bottom: 1px solid var(--p2c-border); }
|
||||
.inv .late { color: var(--p2c-accent); }
|
||||
.inv button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); }
|
||||
</style>
|
||||
<div class="inv">
|
||||
<h1>
|
||||
<span data-p2c-text="short">Bills</span>
|
||||
<span data-p2c-text="typical">Invoices for Harbor Supply</span>
|
||||
<span data-p2c-text="long">Invoices for Harbor Supply and Logistics Cooperative, Northern Region</span>
|
||||
</h1>
|
||||
<table data-p2c-when="ready">
|
||||
<tr><td>INV-1042</td><td class="late">Overdue 12 days</td><td>$1,240.00</td></tr>
|
||||
<tr><td>INV-1043</td><td>Due Dec 2</td><td>$310.50</td></tr>
|
||||
</table>
|
||||
<p data-p2c-when="empty">No invoices yet. The first one appears here once it is sent.</p>
|
||||
<p data-p2c-when="loading">Loading invoices...</p>
|
||||
<p data-p2c-when="error">The invoices could not be loaded. Try again in a minute.</p>
|
||||
<button>New invoice</button>
|
||||
</div>
|
||||
@@ -0,0 +1,21 @@
|
||||
<style>
|
||||
.split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--p2c-space-4); padding: var(--p2c-space-4); }
|
||||
.split nav, .split article { background: var(--p2c-surface); border: 1px solid var(--p2c-border); border-radius: var(--p2c-radius); padding: var(--p2c-space-3); }
|
||||
.split h2 { color: var(--p2c-muted); }
|
||||
.split .total { color: var(--p2c-accent); font-weight: 700; }
|
||||
</style>
|
||||
<div class="split">
|
||||
<nav>
|
||||
<h2>Invoices</h2>
|
||||
<ul data-p2c-when="ready"><li>INV-1042</li><li>INV-1043</li></ul>
|
||||
<p data-p2c-when="empty">Nothing to show yet.</p>
|
||||
<p data-p2c-when="loading">Loading...</p>
|
||||
<p data-p2c-when="error">Could not load the list.</p>
|
||||
</nav>
|
||||
<article data-p2c-when="ready empty loading error">
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply, net 30</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, net 30, billed to the Northern Region office</p>
|
||||
<p class="total">$1,240.00</p>
|
||||
</article>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<style>
|
||||
.cards { display: grid; grid-template-columns: repeat(var(--p2c-x-columns), 1fr); gap: var(--p2c-space-4); padding: var(--p2c-space-5); }
|
||||
.card { background: var(--p2c-surface); border-radius: var(--p2c-radius); padding: var(--p2c-space-4); }
|
||||
:root[data-p2c-x-shadows="soft"] .card { box-shadow: 0 2px 8px color-mix(in srgb, var(--p2c-text) 12%, transparent); }
|
||||
.card strong { font-size: calc(var(--p2c-text-size) * 1.25); }
|
||||
.card .due { color: var(--p2c-accent); }
|
||||
</style>
|
||||
<div class="cards">
|
||||
<div class="card" data-p2c-when="ready">
|
||||
<strong>$1,240.00</strong>
|
||||
<p class="due">Overdue 12 days</p>
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, Northern Region office</p>
|
||||
</div>
|
||||
<div class="card" data-p2c-when="empty">No invoices yet.</div>
|
||||
<div class="card" data-p2c-when="loading">Loading invoices...</div>
|
||||
<div class="card" data-p2c-when="error">Something went wrong loading invoices.</div>
|
||||
</div>
|
||||
@@ -0,0 +1,21 @@
|
||||
```
|
||||
Plan2Code UI prototype choice
|
||||
Prototype: invoices-screen
|
||||
Round: 2
|
||||
File: <FILE>
|
||||
Chosen: C "Cards" (others: A "Dense table", B "Split view")
|
||||
Carried over: colors, fonts, spacing
|
||||
Freed up: components, layout
|
||||
Screen size: Phone 390 (changed from Desktop 1280)
|
||||
Theme: Light
|
||||
Accent color: #d9480f (changed from #2f6fed)
|
||||
Neutral color: #6b7280
|
||||
Font set: System UI
|
||||
Text size: 16px
|
||||
Spacing: 1
|
||||
Corners: 16px (changed from 8px)
|
||||
State: Empty (changed from Ready)
|
||||
Content length: Long (changed from Typical)
|
||||
Mood: warmer, like the old app
|
||||
Note: keep the overdue badge
|
||||
```
|
||||
@@ -0,0 +1,3 @@
|
||||
I like the second one best, but with a darker header.
|
||||
Theme: Dark
|
||||
Spacing: 1.25
|
||||
@@ -0,0 +1,21 @@
|
||||
Plan2Code UI prototype choice
|
||||
Prototype: invoices-screen
|
||||
File: <FILE>
|
||||
Round: 2
|
||||
Chosen: B "Split view" (others: A "Dense table", C "Cards")
|
||||
Carried over: colors, fonts, spacing
|
||||
Freed up: components, layout
|
||||
Direction: calmer, more room around totals
|
||||
Preset: Airy
|
||||
Screen size: Desktop 1280
|
||||
Theme: Dark (changed from Light)
|
||||
Accent color: #2f6fed
|
||||
Neutral color: #6b7280
|
||||
Font set: Humanist (changed from System UI)
|
||||
Text size: 16px
|
||||
Spacing: 1.25 (changed from 1)
|
||||
Corners: 8px
|
||||
State: Ready
|
||||
Content length: Typical
|
||||
Extra, Shadows: Soft
|
||||
Note: header from A with these cards
|
||||
@@ -0,0 +1,13 @@
|
||||
Plan2Code UI prototype choice
|
||||
Prototype: deploy-status
|
||||
File: <FILE>
|
||||
Round: 1
|
||||
Chosen: A "Progress lines" (others: B "Table")
|
||||
Carried over: none
|
||||
Freed up: none
|
||||
Window size: 80x24 (changed from 120x30)
|
||||
Theme: Dark
|
||||
Palette: Ocean (changed from Graphite)
|
||||
Density: 1.5 (changed from 1.4)
|
||||
State: Ready
|
||||
Content length: Typical
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "team-members",
|
||||
"round": 1,
|
||||
"kind": "screen",
|
||||
"request": "A screen listing the people on a team, with a way to invite someone.",
|
||||
"direction": "",
|
||||
"carried": ["colors", "fonts", "spacing", "components"],
|
||||
"freed": ["layout"],
|
||||
"notFound": [],
|
||||
"variants": [
|
||||
{ "letter": "A", "name": "Plain list", "file": "variant-a.html", "what": "One row per person, role on the right", "starts": {} },
|
||||
{ "letter": "B", "name": "Card grid", "file": "variant-b.html", "what": "One card per person, invite as the last card", "starts": {} }
|
||||
],
|
||||
"starts": {
|
||||
"screen": "Desktop 1280",
|
||||
"theme": "light",
|
||||
"accent": "#0f766e",
|
||||
"neutral": "#64748b",
|
||||
"fontSet": "System UI",
|
||||
"textSize": 16,
|
||||
"space": 1,
|
||||
"radius": 8,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [],
|
||||
"images": [],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<style>
|
||||
.team { padding: var(--p2c-space-5); font-family: var(--p2c-font); font-size: var(--p2c-text-size); color: var(--p2c-text); background: var(--p2c-bg); }
|
||||
.team h1 { font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); text-wrap: balance; }
|
||||
.team ul { list-style: none; margin: 0; padding: 0; background: var(--p2c-surface); border: 1px solid var(--p2c-border); border-radius: var(--p2c-radius); }
|
||||
.team li { display: flex; justify-content: space-between; gap: var(--p2c-space-3); padding: var(--p2c-space-3) var(--p2c-space-4); border-top: 1px solid var(--p2c-border); }
|
||||
.team li:first-child { border-top: 0; }
|
||||
.team .role { color: var(--p2c-muted); }
|
||||
.team .bar { height: calc(var(--p2c-text-size) * 1.2); margin: var(--p2c-space-3) var(--p2c-space-4); border-radius: var(--p2c-radius); background: color-mix(in oklab, var(--p2c-neutral) 18%, var(--p2c-surface)); }
|
||||
.team button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); font: inherit; }
|
||||
.team button:focus-visible { outline: 2px solid var(--p2c-accent); outline-offset: 2px; }
|
||||
</style>
|
||||
<section class="team">
|
||||
<h1>Team members</h1>
|
||||
<ul data-p2c-when="ready">
|
||||
<li>
|
||||
<span data-p2c-text="short">Ana Ruiz</span>
|
||||
<span data-p2c-text="typical">Ana Ruiz-Okafor</span>
|
||||
<span data-p2c-text="long">Anastasia Ruiz-Okafor, Regional Accounts Lead, Northern Office</span>
|
||||
<span class="role">Admin</span>
|
||||
</li>
|
||||
<li><span>Tomas Berg</span><span class="role">Editor</span></li>
|
||||
</ul>
|
||||
<div data-p2c-when="loading" aria-label="Loading team members"><div class="bar"></div><div class="bar"></div></div>
|
||||
<p data-p2c-when="empty">No one else is on this team yet. Invite a teammate to share the work.</p>
|
||||
<p data-p2c-when="error">The team list did not load. Check your connection, then reload this page.</p>
|
||||
<button data-p2c-when="ready empty">Invite a teammate</button>
|
||||
</section>
|
||||
@@ -0,0 +1,19 @@
|
||||
<style>
|
||||
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: var(--p2c-space-4); padding: var(--p2c-space-5); font-family: var(--p2c-font); font-size: var(--p2c-text-size); color: var(--p2c-text); }
|
||||
.cards article { background: var(--p2c-surface); border: 1px solid var(--p2c-border); border-radius: var(--p2c-radius); padding: var(--p2c-space-4); }
|
||||
.cards .role { color: var(--p2c-muted); }
|
||||
.cards .add { border-style: dashed; color: var(--p2c-accent); }
|
||||
</style>
|
||||
<div class="cards">
|
||||
<article data-p2c-when="ready">
|
||||
<strong data-p2c-text="short">Ana Ruiz</strong>
|
||||
<strong data-p2c-text="typical">Ana Ruiz-Okafor</strong>
|
||||
<strong data-p2c-text="long">Anastasia Ruiz-Okafor, Regional Accounts Lead, Northern Office</strong>
|
||||
<p class="role">Admin since March 2024</p>
|
||||
</article>
|
||||
<article data-p2c-when="ready"><strong>Tomas Berg</strong><p class="role">Editor since June 2025</p></article>
|
||||
<article data-p2c-when="loading"><p class="role">Loading team members…</p></article>
|
||||
<article data-p2c-when="empty"><p>Just you so far. Invite a teammate to share the work.</p></article>
|
||||
<article data-p2c-when="error"><p>The team did not load. Check your connection, then reload.</p></article>
|
||||
<article class="add" data-p2c-when="ready empty">Invite a teammate</article>
|
||||
</div>
|
||||
@@ -0,0 +1,20 @@
|
||||
Plan2Code UI prototype choice
|
||||
Prototype: signup-flow
|
||||
File: <FILE>
|
||||
Round: 1
|
||||
Chosen: A "Single column" (others: B "Side rail")
|
||||
Carried over: colors, fonts, spacing, components, layout
|
||||
Freed up: none
|
||||
Preset: Compact
|
||||
Screen size: Tablet 820 (changed from Phone 390)
|
||||
Theme: Dark
|
||||
Accent color: #1a7f37
|
||||
Neutral color: #5b6170
|
||||
Font set: Humanist
|
||||
Text size: 14px (changed from 15px)
|
||||
Spacing: 0.75 (changed from 1.25)
|
||||
Corners: 4px (changed from 12px)
|
||||
State: Empty (changed from Ready)
|
||||
Content length: Typical
|
||||
Extra, Progress bar: Off (changed from On)
|
||||
Note: keep the rail
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "signup-flow",
|
||||
"round": 1,
|
||||
"kind": "flow",
|
||||
"request": "The three screens of signing up: account, team, done.",
|
||||
"direction": "",
|
||||
"carried": ["colors", "fonts", "spacing", "components", "layout"],
|
||||
"freed": [],
|
||||
"notFound": [],
|
||||
"variants": [
|
||||
{ "letter": "A", "name": "Single column", "file": "variant-a.html", "what": "One centered form per step", "starts": {} },
|
||||
{ "letter": "B", "name": "Side rail", "file": "variant-b.html", "what": "Steps listed in a rail beside each form", "starts": {} }
|
||||
],
|
||||
"starts": {
|
||||
"screen": "Phone 390",
|
||||
"theme": "dark",
|
||||
"accent": "#1a7f37",
|
||||
"neutral": "#5b6170",
|
||||
"fontSet": "Humanist",
|
||||
"textSize": 15,
|
||||
"space": 1.25,
|
||||
"radius": 12,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [],
|
||||
"images": [],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<style>
|
||||
.step-a { background: var(--p2c-surface); color: var(--p2c-text); font-family: var(--p2c-font); padding: var(--p2c-space-4); border-radius: var(--p2c-radius); }
|
||||
.step-a button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; padding: var(--p2c-space-2); }
|
||||
</style>
|
||||
<section class="step-a" data-p2c-step="1. Account">
|
||||
<h2 data-p2c-text="short">Join</h2>
|
||||
<h2 data-p2c-text="typical">Create your account</h2>
|
||||
<h2 data-p2c-text="long">Create your account to start tracking the invoices of every customer you bill</h2>
|
||||
<p data-p2c-when="ready">Email and a password.</p>
|
||||
<p data-p2c-when="empty">Start with your work email.</p>
|
||||
<p data-p2c-when="loading">Checking...</p>
|
||||
<p data-p2c-when="error">That email is already taken.</p>
|
||||
<button>Continue</button>
|
||||
</section>
|
||||
<section class="step-a" data-p2c-step="2. Team">
|
||||
<h2>Invite your team</h2>
|
||||
<button>Send invites</button>
|
||||
</section>
|
||||
<section class="step-a" data-p2c-step="3. Done">
|
||||
<h2>You are all set</h2>
|
||||
</section>
|
||||
@@ -0,0 +1,21 @@
|
||||
<style>
|
||||
.step-b { background: var(--p2c-surface); color: var(--p2c-text); font-family: var(--p2c-font); padding: var(--p2c-space-4); border-radius: var(--p2c-radius); }
|
||||
.step-b button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; padding: var(--p2c-space-2); }
|
||||
</style>
|
||||
<section class="step-b" data-p2c-step="1. Account">
|
||||
<h2 data-p2c-text="short">Join</h2>
|
||||
<h2 data-p2c-text="typical">Create your account</h2>
|
||||
<h2 data-p2c-text="long">Create your account to start tracking the invoices of every customer you bill</h2>
|
||||
<p data-p2c-when="ready">Email and a password.</p>
|
||||
<p data-p2c-when="empty">Start with your work email.</p>
|
||||
<p data-p2c-when="loading">Checking...</p>
|
||||
<p data-p2c-when="error">That email is already taken.</p>
|
||||
<button>Continue</button>
|
||||
</section>
|
||||
<section class="step-b" data-p2c-step="2. Team">
|
||||
<h2>Invite your team</h2>
|
||||
<button>Send invites</button>
|
||||
</section>
|
||||
<section class="step-b" data-p2c-step="3. Done">
|
||||
<h2>You are all set</h2>
|
||||
</section>
|
||||
@@ -0,0 +1,23 @@
|
||||
Plan2Code UI prototype choice
|
||||
Prototype: invoices-screen
|
||||
File: <FILE>
|
||||
Round: 1
|
||||
Chosen: B "Split view" (others: A "Dense table", C "Cards")
|
||||
Carried over: colors, fonts, spacing
|
||||
Freed up: components
|
||||
Direction: calm, plenty of room around totals
|
||||
Preset: Airy
|
||||
Screen size: Desktop 1280
|
||||
Theme: Dark (changed from Light)
|
||||
Accent color: #d9480f (changed from #2f6fed)
|
||||
Neutral color: #6b7280
|
||||
Font set: System UI
|
||||
Text size: 17px (changed from 16px)
|
||||
Spacing: 1.5 (changed from 1)
|
||||
Corners: 12px (changed from 10px)
|
||||
State: Ready
|
||||
Content length: Typical
|
||||
Extra, Shadows: strong (changed from soft)
|
||||
Extra, Columns: 2
|
||||
Extra, Row dividers: On
|
||||
Note: header from A with these cards
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "invoices-screen",
|
||||
"round": 1,
|
||||
"kind": "screen",
|
||||
"request": "A screen listing a customer's invoices, with what is overdue easy to spot.",
|
||||
"direction": "calm, plenty of room around totals",
|
||||
"carried": ["colors", "fonts", "spacing"],
|
||||
"freed": ["components"],
|
||||
"notFound": ["layout"],
|
||||
"variants": [
|
||||
{ "letter": "A", "name": "Dense table", "file": "variant-a.html", "what": "A table with overdue rows tinted", "starts": { "radius": 4 } },
|
||||
{ "letter": "B", "name": "Split view", "file": "variant-b.html", "what": "A list on the left, the open invoice on the right", "starts": { "radius": 10 } },
|
||||
{ "letter": "C", "name": "Cards", "file": "variant-c.html", "what": "One card per invoice, overdue ones first", "starts": { "radius": 16 } }
|
||||
],
|
||||
"starts": {
|
||||
"screen": "Desktop 1280",
|
||||
"theme": "light",
|
||||
"accent": "#2f6fed",
|
||||
"neutral": "#6b7280",
|
||||
"fontSet": "System UI",
|
||||
"textSize": 16,
|
||||
"space": 1,
|
||||
"radius": 8,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [
|
||||
{ "name": "shadows", "label": "Shadows", "type": "pick", "choices": ["none", "soft", "strong"], "start": "soft", "look": true },
|
||||
{ "name": "columns", "label": "Columns", "type": "slider", "min": 1, "max": 4, "step": 1, "start": 2, "look": false },
|
||||
{ "name": "dividers", "label": "Row dividers", "type": "toggle", "start": true, "look": true }
|
||||
],
|
||||
"images": [],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<style>
|
||||
.inv { padding: var(--p2c-space-5); color: var(--p2c-text); }
|
||||
.inv h1 { font-family: var(--p2c-font); font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); }
|
||||
.inv table { width: 100%; border-collapse: collapse; background: var(--p2c-surface); border-radius: var(--p2c-radius); }
|
||||
.inv td { padding: var(--p2c-space-2) var(--p2c-space-3); border-bottom: 1px solid var(--p2c-border); }
|
||||
.inv .late { color: var(--p2c-accent); }
|
||||
.inv button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); }
|
||||
</style>
|
||||
<div class="inv">
|
||||
<h1>
|
||||
<span data-p2c-text="short">Bills</span>
|
||||
<span data-p2c-text="typical">Invoices for Harbor Supply</span>
|
||||
<span data-p2c-text="long">Invoices for Harbor Supply and Logistics Cooperative, Northern Region</span>
|
||||
</h1>
|
||||
<table data-p2c-when="ready">
|
||||
<tr><td>INV-1042</td><td class="late">Overdue 12 days</td><td>$1,240.00</td></tr>
|
||||
<tr><td>INV-1043</td><td>Due Dec 2</td><td>$310.50</td></tr>
|
||||
</table>
|
||||
<p data-p2c-when="empty">No invoices yet. The first one appears here once it is sent.</p>
|
||||
<p data-p2c-when="loading">Loading invoices...</p>
|
||||
<p data-p2c-when="error">The invoices could not be loaded. Try again in a minute.</p>
|
||||
<button>New invoice</button>
|
||||
</div>
|
||||
@@ -0,0 +1,22 @@
|
||||
<style>
|
||||
.split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--p2c-space-4); padding: var(--p2c-space-4); }
|
||||
.split nav, .split article { background: var(--p2c-surface); border: 1px solid var(--p2c-border); border-radius: var(--p2c-radius); padding: var(--p2c-space-3); }
|
||||
.split h2 { font-size: var(--p2c-text-size); color: var(--p2c-muted); }
|
||||
.split .total { color: var(--p2c-accent); font-weight: 700; }
|
||||
@media (max-width: 500px) { .split { grid-template-columns: 1fr; } }
|
||||
</style>
|
||||
<div class="split">
|
||||
<nav>
|
||||
<h2>Invoices</h2>
|
||||
<ul data-p2c-when="ready"><li>INV-1042</li><li>INV-1043</li></ul>
|
||||
<p data-p2c-when="empty">Nothing to show yet.</p>
|
||||
<p data-p2c-when="loading">Loading...</p>
|
||||
<p data-p2c-when="error">Could not load the list.</p>
|
||||
</nav>
|
||||
<article data-p2c-when="ready empty loading error">
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply, net 30</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, net 30, billed to the Northern Region office</p>
|
||||
<p class="total">$1,240.00</p>
|
||||
</article>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<style>
|
||||
.cards { display: grid; grid-template-columns: repeat(var(--p2c-x-columns), 1fr); gap: var(--p2c-space-4); padding: var(--p2c-space-5); }
|
||||
.card { background: var(--p2c-surface); border-radius: var(--p2c-radius); padding: var(--p2c-space-4); }
|
||||
:root[data-p2c-x-shadows="soft"] .card { box-shadow: 0 2px 8px color-mix(in srgb, var(--p2c-text) 12%, transparent); }
|
||||
.card strong { font-size: calc(var(--p2c-text-size) * 1.25); }
|
||||
.card .due { color: var(--p2c-accent); }
|
||||
</style>
|
||||
<div class="cards">
|
||||
<div class="card" data-p2c-when="ready">
|
||||
<strong>$1,240.00</strong>
|
||||
<p class="due">Overdue 12 days</p>
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, Northern Region office</p>
|
||||
</div>
|
||||
<div class="card" data-p2c-when="empty">No invoices yet.</div>
|
||||
<div class="card" data-p2c-when="loading">Loading invoices...</div>
|
||||
<div class="card" data-p2c-when="error">Something went wrong loading invoices.</div>
|
||||
</div>
|
||||
@@ -0,0 +1,17 @@
|
||||
Plan2Code UI prototype choice
|
||||
Prototype: deploy-status
|
||||
File: <FILE>
|
||||
Round: 2
|
||||
Chosen: A "Progress lines" (others: B "Table")
|
||||
Carried over: none
|
||||
Freed up: none
|
||||
Direction: quiet unless something fails
|
||||
Preset: Bold
|
||||
Window size: 80x24 (changed from 120x30)
|
||||
Theme: Dark
|
||||
Palette: Ocean (changed from Graphite)
|
||||
Density: 1.5 (changed from 1.4)
|
||||
State: Ready
|
||||
Content length: Typical
|
||||
Extra, Spinner: line (changed from dots)
|
||||
Note: fewer lines while it runs
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "deploy-status",
|
||||
"round": 2,
|
||||
"kind": "terminal",
|
||||
"request": "What the deploy command prints while it runs.",
|
||||
"direction": "quiet unless something fails",
|
||||
"carried": [],
|
||||
"freed": [],
|
||||
"notFound": ["colors", "fonts", "spacing", "components", "layout"],
|
||||
"variants": [
|
||||
{ "letter": "A", "name": "Progress lines", "file": "variant-a.html", "what": "One line per step with a check mark", "starts": {} },
|
||||
{ "letter": "B", "name": "Table", "file": "variant-b.html", "what": "A live table of services and their state", "starts": { "palette": "Amber" } }
|
||||
],
|
||||
"starts": {
|
||||
"window": "120x30",
|
||||
"theme": "dark",
|
||||
"palette": "Graphite",
|
||||
"density": 1.4,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [],
|
||||
"images": [],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<style>
|
||||
.t-a { color: var(--p2c-term-fg); line-height: var(--p2c-density); }
|
||||
.t-a .ok { color: var(--p2c-term-accent); }
|
||||
</style>
|
||||
<pre class="t-a"><span class="ok">deploy</span> <span data-p2c-text="short">api</span><span data-p2c-text="typical">api-gateway</span><span data-p2c-text="long">api-gateway-northern-region-billing-service-primary-cluster</span>
|
||||
<span data-p2c-when="ready"><span class="ok">ok</span> build 12s
|
||||
<span class="ok">ok</span> upload 4s</span><span data-p2c-when="empty">nothing to deploy</span><span data-p2c-when="loading">waiting for the build...</span><span data-p2c-when="error">failed: upload timed out (try again with --retry)</span></pre>
|
||||
@@ -0,0 +1,7 @@
|
||||
<style>
|
||||
.t-b { color: var(--p2c-term-fg); line-height: var(--p2c-density); }
|
||||
.t-b .ok { color: var(--p2c-term-accent); }
|
||||
</style>
|
||||
<pre class="t-b"><span class="ok">deploy</span> <span data-p2c-text="short">api</span><span data-p2c-text="typical">api-gateway</span><span data-p2c-text="long">api-gateway-northern-region-billing-service-primary-cluster</span>
|
||||
<span data-p2c-when="ready"><span class="ok">ok</span> build 12s
|
||||
<span class="ok">ok</span> upload 4s</span><span data-p2c-when="empty">nothing to deploy</span><span data-p2c-when="loading">waiting for the build...</span><span data-p2c-when="error">failed: upload timed out (try again with --retry)</span></pre>
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "invoices-screen",
|
||||
"round": 1,
|
||||
"kind": "screen",
|
||||
"request": "A screen listing a customer's invoices, with what is overdue easy to spot.",
|
||||
"direction": "calm, plenty of room around totals",
|
||||
"carried": ["colors", "fonts", "spacing"],
|
||||
"freed": ["components"],
|
||||
"notFound": ["layout"],
|
||||
"variants": [
|
||||
{ "letter": "A", "name": "Dense table", "file": "variant-a.html", "what": "A table with overdue rows tinted", "starts": { "radius": 4 } },
|
||||
{ "letter": "B", "name": "Split view", "file": "variant-b.html", "what": "A list on the left, the open invoice on the right", "starts": { "radius": 10 } },
|
||||
{ "letter": "C", "name": "Cards", "file": "variant-c.html", "what": "One card per invoice, overdue ones first", "starts": { "radius": 16 } }
|
||||
],
|
||||
"starts": {
|
||||
"screen": "Desktop 1280",
|
||||
"theme": "light",
|
||||
"accent": "#2f6fed",
|
||||
"neutral": "#6b7280",
|
||||
"fontSet": "System UI",
|
||||
"textSize": 16,
|
||||
"space": 1,
|
||||
"radius": 8,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [
|
||||
{ "name": "shadows", "label": "Shadows", "type": "pick", "choices": ["none", "soft", "strong"], "start": "soft", "look": true },
|
||||
{ "name": "columns", "label": "Columns", "type": "slider", "min": 1, "max": 4, "step": 1, "start": 2, "look": false },
|
||||
{ "name": "dividers", "label": "Row dividers", "type": "toggle", "start": true, "look": true }
|
||||
],
|
||||
"images": [],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
<style>
|
||||
.inv { padding: var(--p2c-space-5); color: var(--p2c-text); }
|
||||
.inv h1 { font-family: var(--p2c-font); font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); }
|
||||
.inv table { width: 100%; border-collapse: collapse; background: var(--p2c-surface); border-radius: var(--p2c-radius); }
|
||||
.inv td { padding: var(--p2c-space-2) var(--p2c-space-3); border-bottom: 1px solid var(--p2c-border); }
|
||||
.inv .late { color: var(--p2c-accent); }
|
||||
.inv button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); }
|
||||
</style>
|
||||
<div class="inv">
|
||||
<h1>
|
||||
<span data-p2c-text="short">Bills</span>
|
||||
<span data-p2c-text="typical">Invoices for Harbor Supply</span>
|
||||
<span data-p2c-text="long">Invoices for Harbor Supply and Logistics Cooperative, Northern Region</span>
|
||||
</h1>
|
||||
<table data-p2c-when="ready">
|
||||
<tr><td>INV-1042</td><td class="late">Overdue 12 days</td><td>$1,240.00</td></tr>
|
||||
<tr><td>INV-1043</td><td>Due Dec 2</td><td>$310.50</td></tr>
|
||||
</table>
|
||||
<p data-p2c-when="empty">No invoices yet. The first one appears here once it is sent.</p>
|
||||
<p data-p2c-when="loading">Loading invoices...</p>
|
||||
<p data-p2c-when="error">The invoices could not be loaded. Try again in a minute.</p>
|
||||
<p title="Say "hi" & wave">She said "pay now" & left; 3 < 4 > 2.</p>
|
||||
<p>Literal text: </script> and "></iframe> and <b> and 'single'.</p>
|
||||
<button>New invoice</button>
|
||||
</div>
|
||||
@@ -0,0 +1,21 @@
|
||||
<style>
|
||||
.split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--p2c-space-4); padding: var(--p2c-space-4); }
|
||||
.split nav, .split article { background: var(--p2c-surface); border: 1px solid var(--p2c-border); border-radius: var(--p2c-radius); padding: var(--p2c-space-3); }
|
||||
.split h2 { font-size: var(--p2c-text-size); color: var(--p2c-muted); }
|
||||
.split .total { color: var(--p2c-accent); font-weight: 700; }
|
||||
</style>
|
||||
<div class="split">
|
||||
<nav>
|
||||
<h2>Invoices</h2>
|
||||
<ul data-p2c-when="ready"><li>INV-1042</li><li>INV-1043</li></ul>
|
||||
<p data-p2c-when="empty">Nothing to show yet.</p>
|
||||
<p data-p2c-when="loading">Loading...</p>
|
||||
<p data-p2c-when="error">Could not load the list.</p>
|
||||
</nav>
|
||||
<article data-p2c-when="ready empty loading error">
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply, net 30</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, net 30, billed to the Northern Region office</p>
|
||||
<p class="total">$1,240.00</p>
|
||||
</article>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<style>
|
||||
.cards { display: grid; grid-template-columns: repeat(var(--p2c-x-columns), 1fr); gap: var(--p2c-space-4); padding: var(--p2c-space-5); }
|
||||
.card { background: var(--p2c-surface); border-radius: var(--p2c-radius); padding: var(--p2c-space-4); }
|
||||
:root[data-p2c-x-shadows="soft"] .card { box-shadow: 0 2px 8px color-mix(in srgb, var(--p2c-text) 12%, transparent); }
|
||||
.card strong { font-size: calc(var(--p2c-text-size) * 1.25); }
|
||||
.card .due { color: var(--p2c-accent); }
|
||||
</style>
|
||||
<div class="cards">
|
||||
<div class="card" data-p2c-when="ready">
|
||||
<strong>$1,240.00</strong>
|
||||
<p class="due">Overdue 12 days</p>
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, Northern Region office</p>
|
||||
</div>
|
||||
<div class="card" data-p2c-when="empty">No invoices yet.</div>
|
||||
<div class="card" data-p2c-when="loading">Loading invoices...</div>
|
||||
<div class="card" data-p2c-when="error">Something went wrong loading invoices.</div>
|
||||
</div>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 34 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="7" fill="#2f6fed"/></svg>
|
||||
|
After Width: | Height: | Size: 134 B |
Binary file not shown.
|
After Width: | Height: | Size: 134 B |
Binary file not shown.
|
After Width: | Height: | Size: 70 B |
@@ -0,0 +1 @@
|
||||
This is a text file with a .png name, not a picture.
|
||||
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"name": "team-page",
|
||||
"round": 1,
|
||||
"kind": "screen",
|
||||
"request": "A screen listing a customer's invoices, with what is overdue easy to spot.",
|
||||
"direction": "calm, plenty of room around totals",
|
||||
"carried": [
|
||||
"colors",
|
||||
"fonts",
|
||||
"spacing"
|
||||
],
|
||||
"freed": [
|
||||
"components"
|
||||
],
|
||||
"notFound": [
|
||||
"layout"
|
||||
],
|
||||
"variants": [
|
||||
{
|
||||
"letter": "A",
|
||||
"name": "Dense table",
|
||||
"file": "variant-a.html",
|
||||
"what": "A table with overdue rows tinted",
|
||||
"starts": {
|
||||
"radius": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"letter": "B",
|
||||
"name": "Split view",
|
||||
"file": "variant-b.html",
|
||||
"what": "A list on the left, the open invoice on the right",
|
||||
"starts": {
|
||||
"radius": 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"letter": "C",
|
||||
"name": "Cards",
|
||||
"file": "variant-c.html",
|
||||
"what": "One card per invoice, overdue ones first",
|
||||
"starts": {
|
||||
"radius": 16
|
||||
}
|
||||
}
|
||||
],
|
||||
"starts": {
|
||||
"screen": "Desktop 1280",
|
||||
"theme": "light",
|
||||
"accent": "#2f6fed",
|
||||
"neutral": "#6b7280",
|
||||
"fontSet": "System UI",
|
||||
"textSize": 16,
|
||||
"space": 1,
|
||||
"radius": 8,
|
||||
"state": "ready",
|
||||
"length": "typical"
|
||||
},
|
||||
"extras": [
|
||||
{
|
||||
"name": "shadows",
|
||||
"label": "Shadows",
|
||||
"type": "pick",
|
||||
"choices": [
|
||||
"none",
|
||||
"soft",
|
||||
"strong"
|
||||
],
|
||||
"start": "soft",
|
||||
"look": true
|
||||
},
|
||||
{
|
||||
"name": "columns",
|
||||
"label": "Columns",
|
||||
"type": "slider",
|
||||
"min": 1,
|
||||
"max": 4,
|
||||
"step": 1,
|
||||
"start": 2,
|
||||
"look": false
|
||||
},
|
||||
{
|
||||
"name": "dividers",
|
||||
"label": "Row dividers",
|
||||
"type": "toggle",
|
||||
"start": true,
|
||||
"look": true
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
{
|
||||
"name": "logo.png",
|
||||
"path": "../images/logo.png"
|
||||
},
|
||||
{
|
||||
"name": "hero.jpg",
|
||||
"path": "../images/hero.jpg"
|
||||
},
|
||||
{
|
||||
"name": "avatar.webp",
|
||||
"path": "../images/avatar.webp"
|
||||
},
|
||||
{
|
||||
"name": "badge.svg",
|
||||
"path": "../images/badge.svg"
|
||||
},
|
||||
{
|
||||
"name": "photo.png",
|
||||
"path": "../images/photo.png"
|
||||
}
|
||||
],
|
||||
"fonts": []
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
<style>
|
||||
.inv { background-image: url(badge.svg); background-repeat: no-repeat; background-position: right top; }
|
||||
.inv .hero { background: url("hero.jpg") center / cover; height: calc(var(--p2c-space-6) * 3); }
|
||||
.inv { padding: var(--p2c-space-5); color: var(--p2c-text); }
|
||||
.inv h1 { font-family: var(--p2c-font); font-size: calc(var(--p2c-text-size) * 1.5); margin: 0 0 var(--p2c-space-4); }
|
||||
.inv table { width: 100%; border-collapse: collapse; background: var(--p2c-surface); border-radius: var(--p2c-radius); }
|
||||
.inv td { padding: var(--p2c-space-2) var(--p2c-space-3); border-bottom: 1px solid var(--p2c-border); }
|
||||
.inv .late { color: var(--p2c-accent); }
|
||||
.inv button { background: var(--p2c-accent); color: var(--p2c-on-accent); border: 0; border-radius: var(--p2c-radius); padding: var(--p2c-space-2) var(--p2c-space-4); }
|
||||
</style>
|
||||
<div class="inv">
|
||||
<h1>
|
||||
<span data-p2c-text="short">Bills</span>
|
||||
<span data-p2c-text="typical">Invoices for Harbor Supply</span>
|
||||
<span data-p2c-text="long">Invoices for Harbor Supply and Logistics Cooperative, Northern Region</span>
|
||||
</h1>
|
||||
<table data-p2c-when="ready">
|
||||
<tr><td>INV-1042</td><td class="late">Overdue 12 days</td><td>$1,240.00</td></tr>
|
||||
<tr><td>INV-1043</td><td>Due Dec 2</td><td>$310.50</td></tr>
|
||||
</table>
|
||||
<p data-p2c-when="empty">No invoices yet. The first one appears here once it is sent.</p>
|
||||
<p data-p2c-when="loading">Loading invoices...</p>
|
||||
<p data-p2c-when="error">The invoices could not be loaded. Try again in a minute.</p>
|
||||
<button>New invoice</button>
|
||||
</div>
|
||||
<div class="inv-media">
|
||||
<img src="logo.png" alt="Acme logo">
|
||||
<img src="p2c-image:hero.jpg" alt="Office">
|
||||
<img src='avatar.webp' alt="Dana Ruiz">
|
||||
<img src="photo.png">
|
||||
<div class="hero"></div>
|
||||
</div>
|
||||
@@ -0,0 +1,22 @@
|
||||
<style>
|
||||
.split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--p2c-space-4); padding: var(--p2c-space-4); }
|
||||
.split nav, .split article { background: var(--p2c-surface); border: 1px solid var(--p2c-border); border-radius: var(--p2c-radius); padding: var(--p2c-space-3); }
|
||||
.split h2 { font-size: var(--p2c-text-size); color: var(--p2c-muted); }
|
||||
.split .total { color: var(--p2c-accent); font-weight: 700; }
|
||||
@media (max-width: 500px) { .split { grid-template-columns: 1fr; } }
|
||||
</style>
|
||||
<div class="split">
|
||||
<nav>
|
||||
<h2>Invoices</h2>
|
||||
<ul data-p2c-when="ready"><li>INV-1042</li><li>INV-1043</li></ul>
|
||||
<p data-p2c-when="empty">Nothing to show yet.</p>
|
||||
<p data-p2c-when="loading">Loading...</p>
|
||||
<p data-p2c-when="error">Could not load the list.</p>
|
||||
</nav>
|
||||
<article data-p2c-when="ready empty loading error">
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply, net 30</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, net 30, billed to the Northern Region office</p>
|
||||
<p class="total">$1,240.00</p>
|
||||
</article>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<style>
|
||||
.cards { display: grid; grid-template-columns: repeat(var(--p2c-x-columns), 1fr); gap: var(--p2c-space-4); padding: var(--p2c-space-5); }
|
||||
.card { background: var(--p2c-surface); border-radius: var(--p2c-radius); padding: var(--p2c-space-4); }
|
||||
:root[data-p2c-x-shadows="soft"] .card { box-shadow: 0 2px 8px color-mix(in srgb, var(--p2c-text) 12%, transparent); }
|
||||
.card strong { font-size: calc(var(--p2c-text-size) * 1.25); }
|
||||
.card .due { color: var(--p2c-accent); }
|
||||
</style>
|
||||
<div class="cards">
|
||||
<div class="card" data-p2c-when="ready">
|
||||
<strong>$1,240.00</strong>
|
||||
<p class="due">Overdue 12 days</p>
|
||||
<p data-p2c-text="short">Harbor</p>
|
||||
<p data-p2c-text="typical">Harbor Supply</p>
|
||||
<p data-p2c-text="long">Harbor Supply and Logistics Cooperative, Northern Region office</p>
|
||||
</div>
|
||||
<div class="card" data-p2c-when="empty">No invoices yet.</div>
|
||||
<div class="card" data-p2c-when="loading">Loading invoices...</div>
|
||||
<div class="card" data-p2c-when="error">Something went wrong loading invoices.</div>
|
||||
</div>
|
||||
Reference in new issue
Block a user