Linked cards: drop the in-card hint label — the whole card is the link, hover already affords it (link_label fields retired from pages, CMS config and preview)
deploy / build-and-publish (push) Successful in 40s
deploy / build-and-publish (push) Successful in 40s
This commit is contained in:
@@ -66,8 +66,7 @@ collections:
|
||||
fields:
|
||||
- { label: Heading, name: heading, widget: string }
|
||||
- { label: Text, name: text, widget: text }
|
||||
- { label: Link (page path, e.g. /for-founders/), name: link, widget: string, required: false }
|
||||
- { label: Link label (empty = "Read more"), name: link_label, widget: string, required: false }
|
||||
- { label: Link (page path, e.g. /for-founders/ — makes the whole card a link), name: link, widget: string, required: false }
|
||||
- { label: Cards section heading, name: value_props_title, widget: string, required: false }
|
||||
- label: Journey steps (optional)
|
||||
name: journey
|
||||
|
||||
@@ -114,8 +114,7 @@ const PagePreview = ({ entry, widgetFor, widgetsFor }) => {
|
||||
html`<div class="pv-card" data-key-path={`value_props.${i}.heading`} tabindex="0">
|
||||
<strong>${v.get("heading")}</strong>
|
||||
<small>${v.get("text")}</small>
|
||||
${v.get("link") &&
|
||||
html`<span class="pv-link">→ ${v.get("link_label") || "Read more"}</span>`}
|
||||
${v.get("link") && html`<span class="pv-link">→</span>`}
|
||||
</div>`,
|
||||
)}
|
||||
</div>
|
||||
|
||||
+1
-2
@@ -27,6 +27,5 @@
|
||||
"field_name": "Your name",
|
||||
"field_organisation": "Organisation",
|
||||
"field_email": "Email",
|
||||
"field_message": "Message (optional)",
|
||||
"card_link_default": "Read more"
|
||||
"field_message": "Message (optional)"
|
||||
}
|
||||
|
||||
@@ -242,7 +242,6 @@ const hasForm = isAudiencePage;
|
||||
<a class="card linked" href={`${localePrefix(locale)}${v.link}`}>
|
||||
<h3>{v.heading}</h3>
|
||||
<p>{v.text}</p>
|
||||
<span class="card-hint">{v.link_label ?? strings.card_link_default}</span>
|
||||
</a>
|
||||
) : (
|
||||
<article class="card">
|
||||
@@ -521,13 +520,6 @@ const hasForm = isAudiencePage;
|
||||
}
|
||||
a.card.linked:hover h3,
|
||||
a.card.linked:focus-visible h3 { color: var(--accent); }
|
||||
.card-hint {
|
||||
display: inline-block;
|
||||
margin-top: 0.7rem;
|
||||
color: var(--accent);
|
||||
font-size: 0.92rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.pricing-note { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }
|
||||
|
||||
.cap-list, .price-list { grid-template-columns: 1fr; gap: 0.6rem; }
|
||||
|
||||
@@ -12,19 +12,15 @@ value_props:
|
||||
- heading: A start-to-finish validation process
|
||||
text: A guided process that turns your idea's assumptions into structured experiments with market evidence — every phase ends in a real, reusable document.
|
||||
link: /journey
|
||||
link_label: See the full journey
|
||||
- heading: Find the fatal flaw early
|
||||
text: We fall in love with our ideas and miss what would scupper them. Validation Lab turns assumptions into facts. The facts aren't always comfortable — but it is better to know sooner than to waste time, money and energy on the wrong thing.
|
||||
link: ''
|
||||
link_label: ''
|
||||
- heading: Will this get me ready for funding?
|
||||
text: Only an investor can tell you that for certain — but completing the process shows you have thought your idea through and left nothing to chance.
|
||||
link: ''
|
||||
link_label: ''
|
||||
- heading: How long will it take?
|
||||
text: The mechanics take a couple of hours; the thinking takes longer. Take a break between stages to let new learning settle in, and expect the interview stage to move at real people's pace — real people are busy.
|
||||
link: ''
|
||||
link_label: ''
|
||||
value_props_title: What you get
|
||||
journey: []
|
||||
journey_title: ''
|
||||
|
||||
@@ -11,11 +11,9 @@ value_props:
|
||||
- heading: Founders
|
||||
text: Skip the opinions — find out what your market actually thinks. A structured path from idea to scripted customer interviews, with real documents at every stage.
|
||||
link: /for-founders
|
||||
link_label: The founder's view
|
||||
- heading: Startup Support Organisations
|
||||
text: A structured validation layer between your mentoring sessions. Teams arrive with the stage completed and the document drafted.
|
||||
link: /for-innovation-hubs
|
||||
link_label: The support organisation's view
|
||||
capabilities: []
|
||||
capabilities_title: ''
|
||||
capabilities_note: ''
|
||||
|
||||
Reference in New Issue
Block a user