Site UX round: fix the consent banner (script ran in <head> before the banner existed — attach on DOMContentLoaded); hubs capabilities become a multi-select checklist + one Request Access CTA (selection rides the lead payload, echoed in the form]; logo mark (nav + favicon) + decorative hero banner; Sveltia custom preview template mirroring the layout
deploy / build-and-publish (push) Successful in 40s
deploy / build-and-publish (push) Successful in 40s
This commit is contained in:
1 parent
28e4f78e2a
commit
06a46c37b3
7 files changed
+325
-43
No files matched your search
@@ -70,7 +70,7 @@ collections:
|
||||
- { label: Step text (optional), name: text, widget: string, required: false }
|
||||
- { label: Journey heading, name: journey_title, widget: string, required: false }
|
||||
- { label: Journey note, name: journey_note, widget: text, required: false }
|
||||
- label: Capability blocks (hubs page, optional)
|
||||
- label: Capability checklist (hubs page, optional)
|
||||
name: capabilities
|
||||
widget: list
|
||||
required: false
|
||||
@@ -78,9 +78,9 @@ collections:
|
||||
- { label: Key (lowercase_with_underscores), name: key, widget: string }
|
||||
- { label: Heading, name: heading, widget: string }
|
||||
- { label: Text, name: text, widget: text }
|
||||
- { label: CTA label, name: cta, widget: string }
|
||||
- { label: Capabilities heading, name: capabilities_title, widget: string, required: false }
|
||||
- { label: Capabilities note, name: capabilities_note, widget: text, required: false }
|
||||
- { label: Request Access button label, name: capabilities_cta, widget: string, required: false, default: Request Access }
|
||||
- { label: Pricing note, name: pricing_note, widget: text, required: false }
|
||||
- label: Body
|
||||
name: body
|
||||
|
||||
@@ -7,5 +7,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<script src="sveltia-cms.js"></script>
|
||||
<script src="preview.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,149 @@
|
||||
// Custom preview template for Sveltia CMS: mirrors the site's
|
||||
// Site.astro layout so the preview pane shows what the published page
|
||||
// will look like (hero banner, cards, journey, capability checklist),
|
||||
// instead of Sveltia's generic field dump.
|
||||
//
|
||||
// Runs in the browser as-is: the CMS bundle exposes the globals `CMS`
|
||||
// and `html` (HTM, bound to the CMS's React copy). Markup elements can
|
||||
// carry data-key-path so click-to-highlight keeps working — clicking
|
||||
// a section in the preview focuses that field in the edit pane.
|
||||
|
||||
const css = `
|
||||
:root { --ink:#16213a; --muted:#5b6478; --accent:#3a55d9; --accent-soft:#eef1fd; --line:#e3e7f2; --bg:#fbfcfe; }
|
||||
* { box-sizing:border-box; }
|
||||
body { margin:0; font-family:ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif; color:var(--ink); background:var(--bg); line-height:1.65; }
|
||||
.pv-nav { display:flex; gap:0.75rem; align-items:center; padding:0.9rem 1.5rem; border-bottom:1px solid var(--line); background:#fff; color:var(--muted); font-size:0.85rem; }
|
||||
.pv-nav strong { color:var(--ink); display:flex; gap:0.45rem; align-items:center; }
|
||||
main { max-width:46rem; margin:0 auto; padding:0 1.25rem 3rem; }
|
||||
.pv-hero { position:relative; overflow:hidden; margin:0 -1.25rem; padding:3rem 1.25rem 2.6rem;
|
||||
background:radial-gradient(42rem 20rem at 85% -10%, rgba(135,87,216,0.12), transparent 60%),
|
||||
linear-gradient(180deg, var(--accent-soft), var(--bg)); border-bottom:1px solid var(--line); }
|
||||
.pv-hero h1 { font-size:2.2rem; line-height:1.15; margin:0 0 1rem; letter-spacing:-0.02em; max-width:26rem; }
|
||||
.pv-hero p { font-size:1.1rem; color:var(--muted); max-width:34rem; margin:0; }
|
||||
.pv-cta { margin-top:1.4rem; display:flex; gap:0.6rem; flex-wrap:wrap; }
|
||||
.pv-cta span { background:var(--accent); color:#fff; border-radius:0.5rem; padding:0.55rem 1rem; font-weight:600; font-size:0.95rem; }
|
||||
.pv-cta span.sec { background:#fff; color:var(--accent); border:1px solid var(--accent); }
|
||||
h2 { font-size:1.35rem; margin:2.2rem 0 0.8rem; letter-spacing:-0.01em; }
|
||||
.pv-cards { margin-top:1rem; display:grid; gap:1rem; grid-template-columns:repeat(auto-fit,minmax(14rem,1fr)); }
|
||||
.pv-card { background:#fff; border:1px solid var(--line); border-radius:0.7rem; padding:1rem 1.1rem; }
|
||||
.pv-card strong { display:block; margin-bottom:0.4rem; }
|
||||
.pv-card small { color:var(--muted); font-size:0.93rem; line-height:1.5; }
|
||||
.pv-journey ol { list-style:none; padding:0; margin:0.5rem 0 0; display:grid; gap:0.55rem; }
|
||||
.pv-journey li { padding:0.55rem 0.9rem; background:#fff; border:1px solid var(--line); border-inline-start:3px solid var(--accent); border-radius:0.45rem; color:var(--muted); font-size:0.95rem; }
|
||||
.pv-journey li b { color:var(--ink); }
|
||||
.pv-cap { display:flex; gap:0.8rem; align-items:flex-start; background:var(--accent-soft); border:1px solid var(--line); border-radius:0.7rem; padding:0.85rem 1rem; margin-bottom:0.6rem; }
|
||||
.pv-cap .tick { width:1.05rem; height:1.05rem; border:2px solid var(--accent); border-radius:0.3rem; flex:none; margin-top:0.2rem; }
|
||||
.pv-cap strong { display:block; }
|
||||
.pv-cap small { color:var(--muted); }
|
||||
.pv-request { display:inline-block; background:var(--accent); color:#fff; border-radius:0.5rem; padding:0.55rem 1rem; font-weight:600; font-size:0.95rem; margin-top:0.6rem; }
|
||||
.pv-body { margin-top:1.6rem; }
|
||||
.pv-body h1, .pv-body h2, .pv-body h3 { margin-top:1.5rem; }
|
||||
.pv-body img { max-width:100%; height:auto; border-radius:0.5rem; }
|
||||
.pv-body ul { padding-inline-start:1.5rem; }
|
||||
.pv-body blockquote { margin:1.2rem 0; padding:0.4rem 1rem; border-inline-start:3px solid var(--accent); color:var(--muted); }
|
||||
.pv-empty { color:var(--muted); font-size:0.9rem; padding:1rem; text-align:center; }
|
||||
`;
|
||||
|
||||
const items = (widgets) =>
|
||||
(Array.isArray(widgets) ? widgets : []).map((w) => w.getIn(["data"]));
|
||||
|
||||
const PagePreview = ({ entry, widgetFor, widgetsFor }) => {
|
||||
const d = (key) => entry.getIn(["data", key]);
|
||||
const valueProps = items(widgetsFor("value_props"));
|
||||
const journey = items(widgetsFor("journey"));
|
||||
const caps = items(widgetsFor("capabilities"));
|
||||
const hasHero = d("hero_headline") || d("hero_sub");
|
||||
|
||||
return html`
|
||||
<div>
|
||||
<div class="pv-nav">
|
||||
<strong>
|
||||
<svg width="18" height="18" viewBox="0 0 32 32" aria-hidden="true">
|
||||
<defs>
|
||||
<linearGradient id="pv-mark" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0" stop-color="#3a55d9" />
|
||||
<stop offset="1" stop-color="#8757d8" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect width="32" height="32" rx="8" fill="url(#pv-mark)" />
|
||||
<path
|
||||
d="M8.5 20.5c1.4-9.6 6.6-10.7 7-10.7 2.3 0-1.6 8.6 1.2 8.6 1.7 0 3.9-4.5 6.8-6.9"
|
||||
fill="none" stroke="#fff" stroke-width="2.4" stroke-linecap="round"
|
||||
/>
|
||||
</svg>
|
||||
Validation Lab — preview
|
||||
</strong>
|
||||
</div>
|
||||
<main>
|
||||
${hasHero &&
|
||||
html`
|
||||
<section class="pv-hero">
|
||||
<h1 data-key-path="hero_headline" tabindex="0">${d("hero_headline")}</h1>
|
||||
${d("hero_sub") &&
|
||||
html`<p data-key-path="hero_sub" tabindex="0">${d("hero_sub")}</p>`}
|
||||
${(d("cta_founders") || d("cta_hubs")) &&
|
||||
html`
|
||||
<p class="pv-cta">
|
||||
${d("cta_founders") && html`<span data-key-path="cta_founders">${d("cta_founders")}</span>`}
|
||||
${d("cta_hubs") && html`<span class="sec" data-key-path="cta_hubs">${d("cta_hubs")}</span>`}
|
||||
</p>
|
||||
`}
|
||||
</section>
|
||||
`}
|
||||
${valueProps.length > 0 &&
|
||||
html`
|
||||
<section>
|
||||
<h2>${d("value_props_title") || "Cards"}</h2>
|
||||
<div class="pv-cards">
|
||||
${valueProps.map((v, i) =>
|
||||
html`<div class="pv-card" data-key-path={`value_props.${i}.heading`} tabindex="0">
|
||||
<strong>${v.get("heading")}</strong>
|
||||
<small>${v.get("text")}</small>
|
||||
</div>`,
|
||||
)}
|
||||
</div>
|
||||
</section>
|
||||
`}
|
||||
${journey.length > 0 &&
|
||||
html`
|
||||
<section class="pv-journey">
|
||||
<h2>${d("journey_title") || "The journey"}</h2>
|
||||
${d("journey_note") &&
|
||||
html`<p data-key-path="journey_note" tabindex="0">${d("journey_note")}</p>`}
|
||||
<ol>
|
||||
${journey.map((s, i) =>
|
||||
html`<li data-key-path={`journey.${i}.title`} tabindex="0">
|
||||
<b>${s.get("title")}</b>${s.get("text") ? html` — ${s.get("text")}` : null}
|
||||
</li>`,
|
||||
)}
|
||||
</ol>
|
||||
</section>
|
||||
`}
|
||||
${caps.length > 0 &&
|
||||
html`
|
||||
<section>
|
||||
<h2>${d("capabilities_title")}</h2>
|
||||
${d("capabilities_note") &&
|
||||
html`<p data-key-path="capabilities_note" tabindex="0">${d("capabilities_note")}</p>`}
|
||||
${caps.map((c, i) =>
|
||||
html`<div class="pv-cap" data-key-path={`capabilities.${i}.heading`} tabindex="0">
|
||||
<span class="tick"></span>
|
||||
<span>
|
||||
<strong>${c.get("heading")}</strong>
|
||||
<small>${c.get("text")}</small>
|
||||
</span>
|
||||
</div>`,
|
||||
)}
|
||||
<span class="pv-request">${d("capabilities_cta") || "Request Access"}</span>
|
||||
</section>
|
||||
`}
|
||||
<div class="pv-body" data-key-path="body">${widgetFor("body")}</div>
|
||||
${!hasHero && valueProps.length === 0 && journey.length === 0 && caps.length === 0 &&
|
||||
html`<p class="pv-empty">No structured sections — the preview shows the body only.</p>`}
|
||||
</main>
|
||||
</div>
|
||||
`;
|
||||
};
|
||||
|
||||
CMS.registerPreviewStyle(css, { raw: true });
|
||||
CMS.registerPreviewTemplate("pages", PagePreview);
|
||||
@@ -0,0 +1,11 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<defs>
|
||||
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0" stop-color="#3a55d9"/>
|
||||
<stop offset="1" stop-color="#8757d8"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect width="32" height="32" rx="8" fill="url(#g)"/>
|
||||
<path d="M8.5 20.5c1.4-9.6 6.6-10.7 7-10.7 2.3 0-1.6 8.6 1.2 8.6 1.7 0 3.9-4.5 6.8-6.9"
|
||||
fill="none" stroke="#fff" stroke-width="2.4" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 476 B |
@@ -61,6 +61,7 @@ const note = type === "founders" ? strings.form_founders_note : strings.form_hub
|
||||
>
|
||||
<h2 id="lead-form">{title}</h2>
|
||||
<p class="lead-note">{note}</p>
|
||||
<p class="cap-selection" id="cap-selection" hidden></p>
|
||||
{fields.map((f) => (
|
||||
<label>
|
||||
{f.label}{f.required ? " *" : ""}
|
||||
@@ -104,16 +105,24 @@ const note = type === "founders" ? strings.form_founders_note : strings.form_hub
|
||||
sending: form.dataset.sendingLabel,
|
||||
};
|
||||
|
||||
// capability blocks tag the form (analyst clicks are separate, via
|
||||
// data-umami-event attributes on the block links)
|
||||
// capability CHECKLIST (the multi-select above the form): collect the
|
||||
// checked boxes at submit time so the selection rides the payload —
|
||||
// both as machine keys and as a human-readable line in the message.
|
||||
const capField = form.querySelector('input[name="capabilities"]');
|
||||
const capsHover = document.getElementById("cap-selection");
|
||||
const refreshCaps = () => {
|
||||
const checked = [...document.querySelectorAll("[data-cap]:checked")];
|
||||
if (!capsHover) return;
|
||||
capsHover.textContent = checked.length
|
||||
? checked.map((c) => c.dataset.capLabel || c.dataset.cap).join(", ")
|
||||
: "";
|
||||
capsHover.hidden = !checked.length;
|
||||
};
|
||||
document.querySelectorAll("[data-cap]").forEach((el) => {
|
||||
el.addEventListener("click", () => {
|
||||
if (!capField.value.split(",").includes(el.dataset.cap)) {
|
||||
capField.value = capField.value
|
||||
? capField.value + "," + el.dataset.cap
|
||||
: el.dataset.cap;
|
||||
}
|
||||
el.addEventListener("change", () => {
|
||||
const boxes = [...document.querySelectorAll("[data-cap]:checked")];
|
||||
if (capField) capField.value = boxes.map((c) => c.dataset.cap).join(",");
|
||||
refreshCaps();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -127,7 +136,7 @@ const note = type === "founders" ? strings.form_founders_note : strings.form_hub
|
||||
// not the checkbox's literal "on"; an unchecked box never arrives)
|
||||
payload.consent = data.get("consent") === "on";
|
||||
if (payload.website) return; // honeypot: pretend success, send nothing
|
||||
if (capField && !payload.capabilities) payload.capabilities = capField.value;
|
||||
if (capField) payload.capabilities = capField.value;
|
||||
button.disabled = true;
|
||||
button.textContent = STRINGS.sending || "Sending…";
|
||||
try {
|
||||
|
||||
+142
-27
@@ -87,6 +87,7 @@ const hasForm = pageId === "for-founders" || pageId === "for-innovation-hubs";
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<title>{fm.title}</title>
|
||||
<meta name="description" content={description} />
|
||||
<link rel="canonical" href={canonical} />
|
||||
@@ -106,9 +107,10 @@ const hasForm = pageId === "for-founders" || pageId === "for-innovation-hubs";
|
||||
is:inline
|
||||
set:html={`(() => {
|
||||
// Cookie-gated analytics: nothing loads until the visitor opts in,
|
||||
// and the choice is remembered in localStorage.
|
||||
const banner = document.getElementById("cookie-consent");
|
||||
if (!banner) return;
|
||||
// and the choice is remembered in localStorage. The banner lives at
|
||||
// the END of <body> while this script runs in <head> — attach on
|
||||
// DOMContentLoaded, not at parse time (found live 2026-11-21: the
|
||||
// banner never dismissed because it did not exist yet on lookup).
|
||||
const KEY = "vl-consent";
|
||||
const STATS_URL = ${JSON.stringify(site.stats_script_url)};
|
||||
const STATS_ID = ${JSON.stringify(site.stats_website_id)};
|
||||
@@ -123,19 +125,28 @@ const hasForm = pageId === "for-founders" || pageId === "for-innovation-hubs";
|
||||
};
|
||||
const decide = (allow) => {
|
||||
try { localStorage.setItem(KEY, allow ? "granted" : "denied"); } catch {}
|
||||
banner.remove();
|
||||
document.getElementById("cookie-consent")?.remove();
|
||||
if (allow) injectStats();
|
||||
};
|
||||
banner.addEventListener("click", (event) => {
|
||||
const b = event.target.closest("button");
|
||||
if (!b) return;
|
||||
decide(b.dataset.answer === "yes");
|
||||
});
|
||||
let stored = null;
|
||||
try { stored = localStorage.getItem(KEY); } catch {}
|
||||
if (stored) {
|
||||
banner.remove();
|
||||
if (stored === "granted") injectStats();
|
||||
const init = () => {
|
||||
const banner = document.getElementById("cookie-consent");
|
||||
if (!banner) return;
|
||||
banner.addEventListener("click", (event) => {
|
||||
const b = event.target.closest("button");
|
||||
if (!b) return;
|
||||
decide(b.dataset.answer === "yes");
|
||||
});
|
||||
let stored = null;
|
||||
try { stored = localStorage.getItem(KEY); } catch {}
|
||||
if (stored) {
|
||||
banner.remove();
|
||||
if (stored === "granted") injectStats();
|
||||
}
|
||||
};
|
||||
if (document.readyState === "loading") {
|
||||
document.addEventListener("DOMContentLoaded", init);
|
||||
} else {
|
||||
init();
|
||||
}
|
||||
})();`}
|
||||
/>
|
||||
@@ -143,7 +154,25 @@ const hasForm = pageId === "for-founders" || pageId === "for-innovation-hubs";
|
||||
<body>
|
||||
<header class="site-header">
|
||||
<nav>
|
||||
<a class="brand" href={`${localePrefix(locale)}/`}>{site.brand}</a>
|
||||
<a class="brand" href={`${localePrefix(locale)}/`}>
|
||||
<svg class="brand-mark" viewBox="0 0 32 32" aria-hidden="true">
|
||||
<defs>
|
||||
<linearGradient id="vl-mark" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0" stop-color="#3a55d9" />
|
||||
<stop offset="1" stop-color="#8757d8" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect width="32" height="32" rx="8" fill="url(#vl-mark)" />
|
||||
<path
|
||||
d="M8.5 20.5c1.4-9.6 6.6-10.7 7-10.7 2.3 0-1.6 8.6 1.2 8.6 1.7 0 3.9-4.5 6.8-6.9"
|
||||
fill="none"
|
||||
stroke="#fff"
|
||||
stroke-width="2.4"
|
||||
stroke-linecap="round"
|
||||
/>
|
||||
</svg>
|
||||
<span>{site.brand}</span>
|
||||
</a>
|
||||
{navEntries.map((p) => (
|
||||
<a href={p.href} aria-current={Astro.url.pathname === p.href ? "page" : undefined}>{p.label}</a>
|
||||
))}
|
||||
@@ -167,6 +196,27 @@ const hasForm = pageId === "for-founders" || pageId === "for-innovation-hubs";
|
||||
{
|
||||
fm.hero_headline && (
|
||||
<section class="hero">
|
||||
<svg class="hero-deco" viewBox="0 0 320 240" aria-hidden="true">
|
||||
<defs>
|
||||
<linearGradient id="vl-hero" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0" stop-color="#3a55d9" stop-opacity="0.9" />
|
||||
<stop offset="1" stop-color="#8757d8" stop-opacity="0.7" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g fill="none" stroke="url(#vl-hero)" stroke-linecap="round">
|
||||
<path d="M40 200 A110 110 0 0 1 240 40" stroke-width="2" />
|
||||
<path d="M70 210 A140 140 0 0 1 270 60" stroke-width="2" stroke-opacity="0.5" />
|
||||
<path d="M100 220 A160 160 0 0 1 300 100" stroke-width="2" stroke-opacity="0.25" />
|
||||
</g>
|
||||
<g fill="url(#vl-hero)">
|
||||
<circle cx="240" cy="40" r="7" />
|
||||
<circle cx="270" cy="60" r="4" fill-opacity="0.5" />
|
||||
<circle cx="300" cy="100" r="3" fill-opacity="0.3" />
|
||||
</g>
|
||||
<g stroke-width="3" stroke-linecap="round">
|
||||
<path d="M235 40 l4 4 l7 -8" fill="none" stroke="#fff" />
|
||||
</g>
|
||||
</svg>
|
||||
<h1>{fm.hero_headline}</h1>
|
||||
{fm.hero_sub && <p class="hero-sub">{fm.hero_sub}</p>}
|
||||
{
|
||||
@@ -213,20 +263,27 @@ const hasForm = pageId === "for-founders" || pageId === "for-innovation-hubs";
|
||||
<section class="capabilities">
|
||||
<h2>{fm.capabilities_title}</h2>
|
||||
{fm.capabilities_note && <p class="capabilities-note">{fm.capabilities_note}</p>}
|
||||
<div class="cards">
|
||||
<div class="cards cap-list">
|
||||
{fm.capabilities.map((c) => (
|
||||
<article class="card">
|
||||
<h3>{c.heading}</h3>
|
||||
<p>{c.text}</p>
|
||||
<a
|
||||
class="button button-secondary"
|
||||
data-umami-event={`capability-${c.key}`}
|
||||
<label class="card cap" data-umami-event={`capability-${c.key}`}>
|
||||
<input
|
||||
id={`cap-${c.key}`}
|
||||
type="checkbox"
|
||||
data-cap={c.key}
|
||||
href={`${localePrefix(locale)}/for-innovation-hubs/#lead-form`}
|
||||
>{c.cta}</a>
|
||||
</article>
|
||||
data-cap-label={c.heading}
|
||||
/>
|
||||
<span class="cap-body">
|
||||
<strong>{c.heading}</strong>
|
||||
<small>{c.text}</small>
|
||||
</span>
|
||||
</label>
|
||||
))}
|
||||
</div>
|
||||
<p class="cta-row">
|
||||
<a class="button" href="#lead-form">
|
||||
{fm.capabilities_cta ?? "Request Access"}
|
||||
</a>
|
||||
</p>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
@@ -295,6 +352,14 @@ const hasForm = pageId === "for-founders" || pageId === "for-innovation-hubs";
|
||||
margin-inline-end: auto;
|
||||
color: var(--ink);
|
||||
text-decoration: none;
|
||||
display: inline-flex;
|
||||
gap: 0.5rem;
|
||||
align-items: center;
|
||||
}
|
||||
.brand-mark {
|
||||
width: 1.65rem;
|
||||
height: 1.65rem;
|
||||
flex: none;
|
||||
}
|
||||
.site-header nav a:not(.brand) {
|
||||
color: var(--muted);
|
||||
@@ -320,10 +385,24 @@ const hasForm = pageId === "for-founders" || pageId === "for-innovation-hubs";
|
||||
padding: 2.5rem 1.25rem 4rem;
|
||||
}
|
||||
.hero {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
margin-inline: -1.25rem;
|
||||
margin-top: -2.5rem;
|
||||
padding: 3.2rem 1.25rem 2.6rem;
|
||||
background: linear-gradient(180deg, var(--accent-soft), var(--bg));
|
||||
padding: 3.2rem 1.25rem 2.8rem;
|
||||
background:
|
||||
radial-gradient(42rem 20rem at 85% -10%, rgba(135, 87, 216, 0.12), transparent 60%),
|
||||
linear-gradient(180deg, var(--accent-soft), var(--bg));
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.hero h1 { max-width: 30rem; }
|
||||
.hero .hero-deco {
|
||||
position: absolute;
|
||||
inset-inline-end: -2.5rem;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
max-width: 60%;
|
||||
pointer-events: none;
|
||||
}
|
||||
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
|
||||
.cta-row { margin-top: 1.6rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
|
||||
@@ -356,6 +435,33 @@ const hasForm = pageId === "for-founders" || pageId === "for-innovation-hubs";
|
||||
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
|
||||
.card h2, .card h3 { margin: 0 0 0.5rem; }
|
||||
|
||||
.cap-list { grid-template-columns: 1fr; gap: 0.6rem; }
|
||||
.card.cap {
|
||||
display: flex;
|
||||
gap: 0.8rem;
|
||||
align-items: flex-start;
|
||||
padding: 0.9rem 1.1rem;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
||||
}
|
||||
.card.cap:hover { border-color: var(--accent); }
|
||||
.card.cap:has(input:checked) {
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 1px var(--accent) inset;
|
||||
background: var(--accent-soft);
|
||||
}
|
||||
.card.cap input {
|
||||
width: 1.15rem;
|
||||
height: 1.15rem;
|
||||
margin-top: 0.2rem;
|
||||
accent-color: var(--accent);
|
||||
flex: none;
|
||||
}
|
||||
.cap-body { display: flex; flex-direction: column; gap: 0.2rem; }
|
||||
.cap-body strong { color: var(--ink); }
|
||||
.cap-body small { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
|
||||
.capabilities .cta-row { margin-top: 1.2rem; }
|
||||
|
||||
.journey ol { padding: 0; margin: 0; list-style: none; counter-reset: none; display: grid; gap: 0.55rem; }
|
||||
.journey li {
|
||||
padding: 0.55rem 0.9rem;
|
||||
@@ -399,6 +505,15 @@ const hasForm = pageId === "for-founders" || pageId === "for-innovation-hubs";
|
||||
form.lead textarea { min-height: 6rem; resize: vertical; }
|
||||
form.lead label.consent { display: flex; gap: 0.5rem; align-items: start; }
|
||||
form.lead .hp { position: absolute; inset-inline-start: -9999px; }
|
||||
form.lead .cap-selection {
|
||||
margin: 0 0 1rem;
|
||||
padding: 0.45rem 0.7rem;
|
||||
background: var(--accent-soft);
|
||||
border-inline-start: 3px solid var(--accent);
|
||||
border-radius: 0.4rem;
|
||||
color: var(--ink);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
footer {
|
||||
border-top: 1px solid var(--line);
|
||||
|
||||
@@ -5,24 +5,21 @@ description: Validation Lab gives incubators, EDIHs and accelerators an asynchro
|
||||
hero_headline: Your programme, with a validation spine.
|
||||
hero_sub: "Mentoring hours are scarce. Validation Lab is the asynchronous layer between your sessions: a structured, fifteen-stage journey each startup works through — while your mentors intervene where they add most."
|
||||
capabilities_title: The capabilities we're building towards
|
||||
capabilities_note: These are on our near-term roadmap, sequenced by what teams and hubs actually ask for. Click what matters to you — your click and your message arrive together in our CRM.
|
||||
capabilities_note: These are on our near-term roadmap, sequenced by what teams and hubs actually ask for. Tick as many as matter to you — your selection and your message arrive together in our CRM.
|
||||
capabilities_cta: Request Access
|
||||
capabilities:
|
||||
- key: white_label
|
||||
heading: White-labelling
|
||||
text: Run the journey as your own branded programme, on your own server instance — your data, your look.
|
||||
cta: I'm interested in this
|
||||
- key: instructor_led
|
||||
heading: Instructor-led breakpoints
|
||||
text: Your mentors step in at defined break-points in the journey — reviewing and signing off each stage for each team.
|
||||
cta: I'm interested in this
|
||||
- key: team_collaboration
|
||||
heading: Team collaboration
|
||||
text: "Founding teams work the journey together: shared documents, shared edits, one team view."
|
||||
cta: I'm interested in this
|
||||
- key: cohort_dashboards
|
||||
heading: Cohort grouping and overview
|
||||
text: Group startups into cohorts and see where each team stands across your programme — one overview for programme managers.
|
||||
cta: I'm interested in this
|
||||
---
|
||||
|
||||
Innovation hubs — incubators, accelerators, EDIHs, EEN nodes, regional
|
||||
|
||||
Reference in new issue
Block a user