the validationlab.eu marketing site: 3 audience pages (en) + legal skeletons, i18n scaffold (25 locales, subdirectory scheme), structured frontmatter blocks, Zoho Flow lead forms with capability tagging + honeypot, sitemap/hreflang/JSON-LD/robots, cookie-gated analytics plumbing
This commit is contained in:
@@ -0,0 +1,153 @@
|
||||
---
|
||||
// The lead form used by both audience pages. Labels come from the shared
|
||||
// per-locale strings; on submit a small fetch POSTs the payload to the
|
||||
// page's Zoho Flow webhook (token-in-URL authentication, no server code).
|
||||
// The hubs variant carries a hidden "capabilities" field the capability
|
||||
// blocks on the landing page append to when clicked — leads arrive in the
|
||||
// CRM already tagged with what interested them.
|
||||
const { type: pageId, locale, strings, site } = Astro.props;
|
||||
// pageId arrives as the route id ("for-founders"/"for-innovation-hubs")
|
||||
// — normalise to the form kind:
|
||||
const type = pageId === "for-founders" ? "founders" : "hubs";
|
||||
|
||||
const fields =
|
||||
type === "founders"
|
||||
? [
|
||||
{ name: "name", label: strings.field_name, input: "text", required: true },
|
||||
{ name: "email", label: strings.field_email, input: "email", required: true },
|
||||
{ name: "stage", label: strings.field_stage, input: "select", options: [
|
||||
["idea", strings.field_stage_idea],
|
||||
["prototype", strings.field_stage_prototype],
|
||||
["launch", strings.field_stage_launch],
|
||||
] },
|
||||
{ name: "sector", label: strings.field_sector, input: "text" },
|
||||
{ name: "country", label: strings.field_country, input: "text" },
|
||||
{ name: "heard", label: strings.field_heard, input: "text" },
|
||||
]
|
||||
: [
|
||||
{ name: "organisation", label: strings.field_organisation, input: "text", required: true },
|
||||
{ name: "name", label: strings.field_name, input: "text", required: true },
|
||||
{ name: "email", label: strings.field_email, input: "email", required: true },
|
||||
{ name: "country", label: strings.field_country, input: "text" },
|
||||
{ name: "programme", label: strings.field_programme, input: "select", options: [
|
||||
["incubator", strings.field_programme_incubator],
|
||||
["accelerator", strings.field_programme_accelerator],
|
||||
["edih", strings.field_programme_edih],
|
||||
["een", strings.field_programme_een],
|
||||
["agency", strings.field_programme_agency],
|
||||
["other", strings.field_programme_other],
|
||||
] },
|
||||
{ name: "message", label: strings.field_message, input: "textarea" },
|
||||
];
|
||||
|
||||
const webhook =
|
||||
type === "founders" ? site.zoho_webhook_founders : site.zoho_webhook_hubs;
|
||||
const title = type === "founders" ? strings.form_founders_title : strings.form_hubs_title;
|
||||
const note = type === "founders" ? strings.form_founders_note : strings.form_hubs_note;
|
||||
---
|
||||
<section class="lead-wrap">
|
||||
<form
|
||||
id="lead-form"
|
||||
class="lead"
|
||||
data-webhook={webhook}
|
||||
data-sending-label={strings.form_sending}
|
||||
data-locale={locale}
|
||||
data-type={type}
|
||||
data-i18n-success={strings.form_success}
|
||||
data-i18n-error={strings.form_error}
|
||||
data-contact-email={site.contact_email}
|
||||
>
|
||||
<h2 id="lead-form">{title}</h2>
|
||||
<p class="lead-note">{note}</p>
|
||||
{fields.map((f) => (
|
||||
<label>
|
||||
{f.label}{f.required ? " *" : ""}
|
||||
{f.input === "select" ? (
|
||||
<select name={f.name} required={f.required ?? false}>
|
||||
{f.options.map(([value, label]) => (
|
||||
<option value={value}>{label}</option>
|
||||
))}
|
||||
</select>
|
||||
) : f.input === "textarea" ? (
|
||||
<textarea name={f.name} required={f.required ?? false}></textarea>
|
||||
) : (
|
||||
<input type={f.input} name={f.name} required={f.required ?? false} />
|
||||
)}
|
||||
</label>
|
||||
))}
|
||||
<input
|
||||
class="hp"
|
||||
type="text"
|
||||
name="website"
|
||||
tabindex="-1"
|
||||
autocomplete="off"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
<input type="hidden" name="capabilities" value="" />
|
||||
<input type="hidden" name="locale" value={locale} />
|
||||
<input type="hidden" name="source" value={type} />
|
||||
<label class="consent">
|
||||
<input type="checkbox" name="consent" required />
|
||||
<span>{strings.form_consent}</span>
|
||||
</label>
|
||||
<button class="button" type="submit">{strings.form_send}</button>
|
||||
</form>
|
||||
<script is:inline>
|
||||
(() => {
|
||||
const form = document.getElementById("lead-form");
|
||||
if (!form || form.dataset.bound) return;
|
||||
form.dataset.bound = "1";
|
||||
|
||||
const STRINGS = {
|
||||
sending: form.dataset.sendingLabel,
|
||||
};
|
||||
|
||||
// capability blocks tag the form (analyst clicks are separate, via
|
||||
// data-umami-event attributes on the block links)
|
||||
const capField = form.querySelector('input[name="capabilities"]');
|
||||
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;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
form.addEventListener("submit", async (event) => {
|
||||
event.preventDefault();
|
||||
const button = form.querySelector('button[type="submit"]');
|
||||
const data = new FormData(form);
|
||||
const payload = {};
|
||||
data.forEach((v, k) => { payload[k] = v; });
|
||||
if (payload.website) return; // honeypot: pretend success, send nothing
|
||||
if (capField && !payload.capabilities) payload.capabilities = capField.value;
|
||||
button.disabled = true;
|
||||
button.textContent = STRINGS.sending || "Sending…";
|
||||
try {
|
||||
const res = await fetch(form.dataset.webhook, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify(payload),
|
||||
});
|
||||
if (!res.ok) throw new Error("HTTP " + res.status);
|
||||
form.innerHTML =
|
||||
'<p class="lead-ok"></p>';
|
||||
form.querySelector(".lead-ok").textContent = form.dataset.i18nSuccess;
|
||||
} catch {
|
||||
const p = document.createElement("p");
|
||||
p.className = "lead-err";
|
||||
p.textContent = form.dataset.i18nError + " ";
|
||||
const a = document.createElement("a");
|
||||
a.href = `mailto:${form.dataset.contactEmail}?subject=Validation%20Lab`;
|
||||
a.textContent = form.dataset.contactEmail;
|
||||
p.appendChild(a);
|
||||
form.innerHTML = "";
|
||||
form.appendChild(p);
|
||||
button.disabled = false;
|
||||
}
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
</section>
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"brand": "Validation Lab",
|
||||
"app_url": "https://app.validationlab.eu",
|
||||
"base_url": "https://validationlab.eu",
|
||||
"contact_email": "hello@app.validationlab.eu",
|
||||
"zoho_webhook_founders": "REPLACE_ZOHO_FLOW_WEBHOOK_FOUNDERS",
|
||||
"zoho_webhook_hubs": "REPLACE_ZOHO_FLOW_WEBHOOK_HUBS",
|
||||
"stats_script_url": "REPLACE_STATS_SCRIPT_URL",
|
||||
"stats_website_id": "REPLACE_STATS_WEBSITE_ID"
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"site_brand": "Validation Lab",
|
||||
"nav_home": "Home",
|
||||
"nav_for_founders": "For founders",
|
||||
"nav_for_innovation_hubs": "For innovation hubs",
|
||||
"nav_privacy": "Privacy",
|
||||
"nav_cookies": "Cookies",
|
||||
"lang_label": "Language",
|
||||
"footer_tagline": "Guided validation for early-stage startups — from Business Model Canvas to validated learning.",
|
||||
"footer_edit_hint": "This site is editable in the browser at /admin/ — no git knowledge required.",
|
||||
"footer_hosting_note": "Hosted on EU infrastructure (Aruba, Italy).",
|
||||
"cookie_notice": "We use a self-hosted, privacy-first analytics tool to understand which pages and languages matter. Nothing is loaded until you opt in.",
|
||||
"cookie_accept": "Allow analytics",
|
||||
"cookie_decline": "Decline",
|
||||
"switcher_label": "Read this page in:",
|
||||
"form_required": "required",
|
||||
"form_send": "Send",
|
||||
"form_sending": "Sending…",
|
||||
"form_consent": "I agree that my details may be used to contact me about Validation Lab.",
|
||||
"form_success": "Thank you — your request is on its way. We'll be in touch shortly.",
|
||||
"form_error": "Something went wrong sending your request. Please email us instead:",
|
||||
"form_founders_title": "Talk to us about your startup",
|
||||
"form_founders_note": "Tell us where you are on the journey — we'll get back to you within a few days.",
|
||||
"form_hubs_title": "Talk to us about your hub",
|
||||
"form_hubs_note": "No long forms, no survey — the capabilities you clicked above arrive with your message.",
|
||||
"field_name": "Name",
|
||||
"field_email": "Email",
|
||||
"field_stage": "Startup stage",
|
||||
"field_stage_idea": "Idea",
|
||||
"field_stage_prototype": "Prototype",
|
||||
"field_stage_launch": "Launched",
|
||||
"field_sector": "Sector",
|
||||
"field_country": "Country",
|
||||
"field_heard": "How did you hear about us?",
|
||||
"field_organisation": "Organisation",
|
||||
"field_programme": "Programme type",
|
||||
"field_programme_incubator": "Incubator",
|
||||
"field_programme_accelerator": "Accelerator",
|
||||
"field_programme_edih": "EDIH",
|
||||
"field_programme_een": "EEN node",
|
||||
"field_programme_agency": "Regional agency",
|
||||
"field_programme_other": "Other",
|
||||
"field_message": "Message (optional)"
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
// The site's locale set: 24 official EU languages + Arabic (RTL).
|
||||
// English is the base locale served at the root; every other locale is
|
||||
// served from its subdirectory (/de/…, /mt/…, /ar/…).
|
||||
// Source of truth for the hreflang tags, the language switcher, the nav,
|
||||
// and the translation pipeline (keys stay, values translate).
|
||||
|
||||
export const DEFAULT_LOCALE = "en";
|
||||
|
||||
export const LOCALES = [
|
||||
{ code: "en", name: "English" },
|
||||
{ code: "it", name: "Italiano" },
|
||||
{ code: "mt", name: "Malti" },
|
||||
{ code: "ar", name: "العربية", rtl: true },
|
||||
{ code: "bg", name: "Български" },
|
||||
{ code: "hr", name: "Hrvatski" },
|
||||
{ code: "cs", name: "Čeština" },
|
||||
{ code: "da", name: "Dansk" },
|
||||
{ code: "nl", name: "Nederlands" },
|
||||
{ code: "et", name: "Eesti" },
|
||||
{ code: "fi", name: "Suomi" },
|
||||
{ code: "fr", name: "Français" },
|
||||
{ code: "de", name: "Deutsch" },
|
||||
{ code: "el", name: "Ελληνικά" },
|
||||
{ code: "hu", name: "Magyar" },
|
||||
{ code: "ga", name: "Gaeilge" },
|
||||
{ code: "lv", name: "Latviešu" },
|
||||
{ code: "lt", name: "Lietuvių" },
|
||||
{ code: "pl", name: "Polski" },
|
||||
{ code: "pt", name: "Português" },
|
||||
{ code: "ro", name: "Română" },
|
||||
{ code: "sk", name: "Slovenčina" },
|
||||
{ code: "sl", name: "Slovenščina" },
|
||||
{ code: "es", name: "Español" },
|
||||
{ code: "sv", name: "Svenska" },
|
||||
];
|
||||
|
||||
export const localeByCode = (code) => LOCALES.find((l) => l.code === code);
|
||||
+433
-67
@@ -1,83 +1,449 @@
|
||||
---
|
||||
const pageFiles = import.meta.glob("../pages/**/*.md", { eager: true });
|
||||
const pages = Object.entries(pageFiles)
|
||||
.map(([file, mod]) => {
|
||||
const slug = file.replace("../pages", "").replace(/\.md$/, "");
|
||||
return {
|
||||
href: slug === "/index" ? "/" : slug,
|
||||
label: mod.frontmatter?.title ?? slug,
|
||||
};
|
||||
// Shared layout for every page. Markdown pages hand their frontmatter to
|
||||
// the layout as `frontmatter`; structured blocks (hero, cards, journey,
|
||||
// capabilities) render from frontmatter fields, long-form prose rides the
|
||||
// body slot. Locale derives from the URL's first segment (subdirectory
|
||||
// scheme: base English at root, every other locale under /<code>/…).
|
||||
import LeadForm from "../components/LeadForm.astro";
|
||||
import { DEFAULT_LOCALE, LOCALES, localeByCode } from "../i18n/locales.js";
|
||||
import site from "../data/site.json";
|
||||
|
||||
const stringsModules = import.meta.glob("../i18n/*.json", { eager: true });
|
||||
const pageModules = import.meta.glob("../pages/**/*.md", { eager: true });
|
||||
|
||||
const segments = Astro.url.pathname.split("/").filter(Boolean);
|
||||
const maybeLocale = localeByCode(segments[0] ?? "");
|
||||
const locale = maybeLocale ? maybeLocale.code : DEFAULT_LOCALE;
|
||||
const dir = maybeLocale?.rtl ? "rtl" : "ltr";
|
||||
const strings = (stringsModules[`../i18n/${locale}.json`] ?? stringsModules[`../i18n/${DEFAULT_LOCALE}.json`]).default ?? {};
|
||||
|
||||
// pageId is the path with the locale prefix and trailing index stripped —
|
||||
// the key that joins the hreflang alternates across languages.
|
||||
const rest = maybeLocale ? segments.slice(1) : segments;
|
||||
const pageId =
|
||||
rest.length === 0 || (rest.length === 1 && rest[0] === "index")
|
||||
? ""
|
||||
: rest[0].replace(/\.html$/, "");
|
||||
|
||||
const baseUrl = site.base_url;
|
||||
const localePrefix = (code) => (code === DEFAULT_LOCALE ? "" : `/${code}`);
|
||||
const pageUrl = (code, id) => `${baseUrl}${localePrefix(code)}${id === "" ? "/" : `/${id}/`}`;
|
||||
|
||||
// hreflang alternates: only the locales that actually carry this page.
|
||||
const alternates = Object.keys(pageModules)
|
||||
.map((file) => {
|
||||
const m = file.match(/\.\.\/pages\/(?:([^/]+)\/)?([^/]+)\.md$/);
|
||||
if (!m) return null;
|
||||
const [, code, name] = m;
|
||||
const id = name === "index" ? "" : name;
|
||||
return { code: code ?? DEFAULT_LOCALE, id };
|
||||
})
|
||||
.sort((a, b) => a.href.localeCompare(b.href));
|
||||
// Markdown pages hand their frontmatter to the layout as `frontmatter`.
|
||||
const { title } = Astro.props.frontmatter ?? Astro.props;
|
||||
.filter((v) => v && v.id === pageId && (localeByCode(v.code) || v.code === DEFAULT_LOCALE));
|
||||
|
||||
const canonical = `${baseUrl}${Astro.url.pathname}`;
|
||||
const fm = Astro.props.frontmatter ?? {};
|
||||
const description = fm.description ?? strings.footer_tagline;
|
||||
const ogImage = fm.og_image; // optional; pages may override
|
||||
|
||||
// nav: this locale's pages only, ordered by the fixed page order.
|
||||
const order = ["", "for-founders", "for-innovation-hubs", "privacy", "cookies"];
|
||||
const navEntries = alternates
|
||||
.filter((a) => order.includes(a.id))
|
||||
.map((a) => ({
|
||||
id: a.id,
|
||||
href: `${localePrefix(locale)}${a.id === "" ? "/" : `/${a.id}/`}`,
|
||||
label:
|
||||
a.id === "" ? strings.nav_home
|
||||
: a.id === "for-founders" ? strings.nav_for_founders
|
||||
: a.id === "for-innovation-hubs" ? strings.nav_for_innovation_hubs
|
||||
: a.id === "privacy" ? strings.nav_privacy
|
||||
: strings.nav_cookies,
|
||||
}))
|
||||
.sort((a, b) => order.indexOf(a.id) - order.indexOf(b.id));
|
||||
|
||||
const jsonLd =
|
||||
pageId === ""
|
||||
? {
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Organization",
|
||||
name: site.brand,
|
||||
url: baseUrl,
|
||||
description,
|
||||
}
|
||||
: {
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Service",
|
||||
serviceType: pageId === "for-founders" ? "Startup validation guidance" : "Innovation hub programmes",
|
||||
provider: { "@type": "Organization", name: site.brand, url: baseUrl },
|
||||
areaServed: "EU",
|
||||
url: canonical,
|
||||
description,
|
||||
};
|
||||
|
||||
const hasForm = pageId === "for-founders" || pageId === "for-innovation-hubs";
|
||||
---
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<html lang={locale} dir={dir}>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>{title}</title>
|
||||
<style is:global>
|
||||
:root {
|
||||
--ink: #1f2937;
|
||||
--muted: #6b7280;
|
||||
--accent: #4f46e5;
|
||||
--line: #e5e7eb;
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
||||
color: var(--ink);
|
||||
line-height: 1.65;
|
||||
}
|
||||
nav {
|
||||
display: flex;
|
||||
gap: 1.25rem;
|
||||
align-items: center;
|
||||
padding: 0.9rem 2rem;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
nav .brand { font-weight: 700; margin-right: auto; }
|
||||
nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
|
||||
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }
|
||||
main { max-width: 44rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
|
||||
main :is(h1, h2, h3) { line-height: 1.25; }
|
||||
main h1 { font-size: 2.1rem; margin: 0 0 1.25rem; }
|
||||
main h2 { font-size: 1.45rem; margin-top: 2.25rem; }
|
||||
main img { max-width: 100%; height: auto; border-radius: 0.5rem; }
|
||||
main blockquote {
|
||||
margin: 1.5rem 0;
|
||||
padding: 0.5rem 1.25rem;
|
||||
border-left: 3px solid var(--accent);
|
||||
color: var(--muted);
|
||||
}
|
||||
main ul, main ol { padding-inline-start: 1.5rem; }
|
||||
footer {
|
||||
border-top: 1px solid var(--line);
|
||||
color: var(--muted);
|
||||
font-size: 0.85rem;
|
||||
padding: 1.25rem 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
<title>{fm.title}</title>
|
||||
<meta name="description" content={description} />
|
||||
<link rel="canonical" href={canonical} />
|
||||
{alternates.map((a) => (
|
||||
<link rel="alternate" hreflang={a.code} href={pageUrl(a.code, a.id)} />
|
||||
))}
|
||||
<link rel="alternate" hreflang="x-default" href={pageUrl(DEFAULT_LOCALE, pageId)} />
|
||||
{ogImage && <meta property="og:image" content={`${baseUrl}${ogImage}`} />}
|
||||
<meta property="og:title" content={fm.title} />
|
||||
<meta property="og:description" content={description} />
|
||||
<meta property="og:url" content={canonical} />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:locale" content={locale} />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<script type="application/ld+json" set:html={JSON.stringify(jsonLd)} />
|
||||
<script
|
||||
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;
|
||||
const KEY = "vl-consent";
|
||||
const STATS_URL = ${JSON.stringify(site.stats_script_url)};
|
||||
const STATS_ID = ${JSON.stringify(site.stats_website_id)};
|
||||
const injectStats = () => {
|
||||
if (STATS_URL.indexOf("REPLACE_") === 0 || document.getElementById("vl-stats")) return;
|
||||
const s = document.createElement("script");
|
||||
s.id = "vl-stats";
|
||||
s.defer = true;
|
||||
s.src = STATS_URL + "";
|
||||
s.setAttribute("data-website-id", STATS_ID);
|
||||
document.head.appendChild(s);
|
||||
};
|
||||
const decide = (allow) => {
|
||||
try { localStorage.setItem(KEY, allow ? "granted" : "denied"); } catch {}
|
||||
banner.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();
|
||||
}
|
||||
})();`}
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<span class="brand">{title}</span>
|
||||
{pages.map((p) => (
|
||||
<a href={p.href} aria-current={Astro.url.pathname === p.href ? "page" : undefined}>
|
||||
{p.label}
|
||||
</a>
|
||||
))}
|
||||
</nav>
|
||||
<header class="site-header">
|
||||
<nav>
|
||||
<a class="brand" href={`${localePrefix(locale)}/`}>{site.brand}</a>
|
||||
{navEntries.map((p) => (
|
||||
<a href={p.href} aria-current={Astro.url.pathname === p.href ? "page" : undefined}>{p.label}</a>
|
||||
))}
|
||||
<label class="switcher">
|
||||
<span aria-hidden="true">{strings.switcher_label}</span>
|
||||
<select
|
||||
aria-label={strings.lang_label}
|
||||
onchange={`const u=new URL(this.value, location.origin); location.href = u.href;`}
|
||||
>
|
||||
{alternates.map((a) => (
|
||||
<option value={pageUrl(a.code, a.id)} selected={a.code === locale}>
|
||||
{localeByCode(a.code)?.name ?? a.code}
|
||||
</option>
|
||||
))}
|
||||
</select>
|
||||
</label>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
{
|
||||
fm.hero_headline && (
|
||||
<section class="hero">
|
||||
<h1>{fm.hero_headline}</h1>
|
||||
{fm.hero_sub && <p class="hero-sub">{fm.hero_sub}</p>}
|
||||
{
|
||||
(fm.cta_founders || fm.cta_hubs) && (
|
||||
<p class="cta-row">
|
||||
{fm.cta_founders && <a class="button" href={`${localePrefix(locale)}/for-founders/`}>{fm.cta_founders}</a>}
|
||||
{fm.cta_hubs && <a class="button button-secondary" href={`${localePrefix(locale)}/for-innovation-hubs/`}>{fm.cta_hubs}</a>}
|
||||
</p>
|
||||
)
|
||||
}
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
{
|
||||
Array.isArray(fm.value_props) && fm.value_props.length > 0 && (
|
||||
<section class="cards" aria-label={fm.value_props_title}>
|
||||
{fm.value_props.map((v) => (
|
||||
<article class="card">
|
||||
<h2>{v.heading}</h2>
|
||||
<p>{v.text}</p>
|
||||
</article>
|
||||
))}
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
{
|
||||
Array.isArray(fm.journey) && fm.journey.length > 0 && (
|
||||
<section class="journey">
|
||||
<h2>{strings?.journey_title ?? fm.journey_title ?? "The journey"}</h2>
|
||||
{fm.journey_note && <p class="journey-note">{fm.journey_note}</p>}
|
||||
<ol>
|
||||
{fm.journey.map((step, i) => (
|
||||
<li value={i + 1}><strong>{step.title}</strong>{step.text && <span> — {step.text}</span>}</li>
|
||||
))}
|
||||
</ol>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
{
|
||||
Array.isArray(fm.capabilities) && fm.capabilities.length > 0 && (
|
||||
<section class="capabilities">
|
||||
<h2>{fm.capabilities_title}</h2>
|
||||
{fm.capabilities_note && <p class="capabilities-note">{fm.capabilities_note}</p>}
|
||||
<div class="cards">
|
||||
{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}`}
|
||||
data-cap={c.key}
|
||||
href={`${localePrefix(locale)}/for-innovation-hubs/#lead-form`}
|
||||
>{c.cta}</a>
|
||||
</article>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
{fm.pricing_note && <section class="note"><p>{fm.pricing_note}</p></section>}
|
||||
|
||||
<slot />
|
||||
|
||||
{hasForm && <LeadForm type={pageId} locale={locale} strings={strings} site={site} />}
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
This page is editable in the browser at
|
||||
<a href="/admin/">/admin/</a> — no git knowledge required.
|
||||
<p>{strings.footer_tagline}</p>
|
||||
<p>
|
||||
<a href={`${localePrefix(locale)}/privacy/`}>{strings.nav_privacy}</a> ·
|
||||
<a href={`${localePrefix(locale)}/cookies/`}>{strings.nav_cookies}</a> ·
|
||||
<a href="/admin/">{strings.footer_edit_hint}</a>
|
||||
</p>
|
||||
<p>{strings.footer_hosting_note}</p>
|
||||
</footer>
|
||||
|
||||
<div id="cookie-consent" role="region" aria-label={strings.cookie_notice}>
|
||||
<p>{strings.cookie_notice}</p>
|
||||
<button data-answer="yes">{strings.cookie_accept}</button>
|
||||
<button data-answer="no">{strings.cookie_decline}</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<style is:global>
|
||||
:root {
|
||||
--ink: #16213a;
|
||||
--muted: #5b6478;
|
||||
--accent: #3a55d9;
|
||||
--accent-soft: #eef1fd;
|
||||
--line: #e3e7f2;
|
||||
--bg: #fbfcfe;
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
html { scrollbar-gutter: stable; }
|
||||
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;
|
||||
}
|
||||
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
|
||||
h1 { font-size: 2.3rem; line-height: 1.15; margin: 0 0 1rem; letter-spacing: -0.02em; }
|
||||
h2 { font-size: 1.45rem; margin: 2.5rem 0 1rem; letter-spacing: -0.01em; }
|
||||
h3 { font-size: 1.12rem; margin: 0 0 0.5rem; }
|
||||
p { margin: 0 0 1rem; }
|
||||
img { max-width: 100%; height: auto; border-radius: 0.5rem; }
|
||||
|
||||
.site-header nav {
|
||||
display: flex;
|
||||
gap: 1.25rem;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
padding: 0.9rem 2rem;
|
||||
border-bottom: 1px solid var(--line);
|
||||
background: #fff;
|
||||
}
|
||||
.site-header .brand {
|
||||
font-weight: 700;
|
||||
margin-inline-end: auto;
|
||||
color: var(--ink);
|
||||
text-decoration: none;
|
||||
}
|
||||
.site-header nav a:not(.brand) {
|
||||
color: var(--muted);
|
||||
text-decoration: none;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
.site-header nav a:hover { color: var(--accent); }
|
||||
.switcher { display: flex; gap: 0.45rem; align-items: center; font-size: 0.85rem; color: var(--muted); }
|
||||
.switcher span { display: none; }
|
||||
.switcher select {
|
||||
font: inherit;
|
||||
font-size: 0.85rem;
|
||||
padding: 0.3rem 0.4rem;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 0.4rem;
|
||||
background: #fff;
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
main {
|
||||
max-width: 46rem;
|
||||
margin: 0 auto;
|
||||
padding: 2.5rem 1.25rem 4rem;
|
||||
}
|
||||
.hero {
|
||||
margin-inline: -1.25rem;
|
||||
margin-top: -2.5rem;
|
||||
padding: 3.2rem 1.25rem 2.6rem;
|
||||
background: linear-gradient(180deg, var(--accent-soft), var(--bg));
|
||||
}
|
||||
.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; }
|
||||
.button {
|
||||
display: inline-block;
|
||||
background: var(--accent);
|
||||
color: #fff !important;
|
||||
border-radius: 0.5rem;
|
||||
padding: 0.6rem 1.1rem;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
font-size: 0.95rem;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
.button:hover { filter: brightness(1.08); }
|
||||
.button-secondary {
|
||||
background: #fff;
|
||||
color: var(--accent) !important;
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
.cards { margin-top: 2rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
|
||||
.card {
|
||||
background: #fff;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 0.7rem;
|
||||
padding: 1.1rem 1.2rem;
|
||||
margin: 0;
|
||||
}
|
||||
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
|
||||
.card h2, .card h3 { margin: 0 0 0.5rem; }
|
||||
|
||||
.journey ol { padding: 0; margin: 0; list-style: none; counter-reset: none; display: grid; gap: 0.55rem; }
|
||||
.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.97rem;
|
||||
}
|
||||
.journey li strong { color: var(--ink); margin-inline-end: 0.2rem; }
|
||||
|
||||
.note {
|
||||
margin-top: 1.5rem;
|
||||
padding: 0.9rem 1.2rem;
|
||||
background: var(--accent-soft);
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
.note p { margin: 0; }
|
||||
|
||||
form.lead {
|
||||
margin-top: 2.5rem;
|
||||
padding: 1.5rem 1.6rem;
|
||||
background: #fff;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 0.8rem;
|
||||
}
|
||||
form.lead h2 { margin-top: 0; }
|
||||
form.lead label { display: block; font-size: 0.9rem; margin-bottom: 1rem; }
|
||||
form.lead input[type="text"], form.lead input[type="email"], form.lead select, form.lead textarea {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-top: 0.3rem;
|
||||
font: inherit;
|
||||
padding: 0.55rem 0.65rem;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 0.45rem;
|
||||
color: var(--ink);
|
||||
background: #fff;
|
||||
}
|
||||
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; }
|
||||
|
||||
footer {
|
||||
border-top: 1px solid var(--line);
|
||||
color: var(--muted);
|
||||
font-size: 0.85rem;
|
||||
padding: 1.5rem 2rem 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#cookie-consent {
|
||||
position: fixed;
|
||||
inset-inline: 0;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
padding: 0.8rem 1.5rem;
|
||||
background: var(--ink);
|
||||
color: #fff;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
#cookie-consent p { margin: 0; }
|
||||
#cookie-consent button {
|
||||
font: inherit;
|
||||
font-size: 0.85rem;
|
||||
border-radius: 0.4rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.5);
|
||||
background: transparent;
|
||||
color: #fff;
|
||||
padding: 0.35rem 0.8rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
#cookie-consent button[data-answer="yes"] { background: #fff; color: var(--ink); border-color: #fff; }
|
||||
|
||||
blockquote {
|
||||
margin: 1.5rem 0;
|
||||
padding: 0.5rem 1.25rem;
|
||||
border-inline-start: 3px solid var(--accent);
|
||||
color: var(--muted);
|
||||
}
|
||||
ul, ol { padding-inline-start: 1.5rem; }
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.hero { transition: none; }
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
---
|
||||
layout: ../layouts/Site.astro
|
||||
title: About
|
||||
---
|
||||
<h1>About this site</h1>
|
||||
<p>A static <a href="https://astro.build">Astro</a> site whose content is edited by a <a href="/admin/">browser-based visual editor</a>, with <strong>no git knowledge needed</strong>.</p>
|
||||
<blockquote>
|
||||
Behind every save is a normal git commit in an auditable repository on this server — editors never see that part.
|
||||
</blockquote>
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
layout: ../layouts/Site.astro
|
||||
title: Cookies
|
||||
description: This site uses no cookies; the only local storage is your analytics choice, and analytics loads only after you opt in.
|
||||
---
|
||||
|
||||
**DRAFT — this notice needs review before launch.**
|
||||
|
||||
This website sets no cookies of any kind. The only thing stored in your
|
||||
browser is a single local entry recording your answer to the analytics
|
||||
banner (allow / decline) so we don't ask you again.
|
||||
|
||||
The analytics itself is a self-hosted, privacy-first tool on our own
|
||||
server. It is not loaded — not even its script — until you explicitly
|
||||
allow it, and no third-party trackers or advertising networks run on this
|
||||
site.
|
||||
@@ -0,0 +1,24 @@
|
||||
---
|
||||
layout: ../layouts/Site.astro
|
||||
title: For founders — validate before you build
|
||||
description: Validation Lab guides founding teams from idea to depth interviews in fifteen structured stages, with an AI facilitator drafting the documents and the team keeping the decisions. Early access for founding teams.
|
||||
hero_headline: Skip the opinions. Find out what your market thinks.
|
||||
hero_sub: You have an idea. Everyone around you has opinions. The only answers that count come from outside the building — and there is a right order to go get them.
|
||||
pricing_note: We're onboarding founding teams in small cohorts. Early-access terms for the first teams through the door.
|
||||
---
|
||||
|
||||
Founders rarely fail for lack of ideas — they fail from building before
|
||||
validating. Validation Lab walks your team through the full journey, one
|
||||
focused stage at a time: frame the idea, build and stress-test the Business
|
||||
Model Canvas, decide what you know versus what you're merely assuming, and
|
||||
only then explore which market opportunity to pursue. Later stages get
|
||||
concrete: persona matrices, a positioning statement, a depth-interview panel
|
||||
with a scripted interview guide, and a systematic analysis of what you heard.
|
||||
|
||||
You stay in the driving seat: the AI facilitator asks the hard questions,
|
||||
drafts each document and challenges weak answers — but the team decides.
|
||||
Everything you produce is a real, reusable document your accelerator,
|
||||
institute or investor can read.
|
||||
|
||||
Mentors fit in naturally: hand them a stage to review, and their feedback
|
||||
lands in the same documents.
|
||||
@@ -0,0 +1,50 @@
|
||||
---
|
||||
layout: ../layouts/Site.astro
|
||||
title: For innovation hubs — a validation layer for your programme
|
||||
description: Validation Lab gives incubators, EDIHs and accelerators an asynchronous, structured validation layer between mentoring sessions, with a cohort overview on the roadmap. Tell us which capabilities matter to you.
|
||||
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:
|
||||
- 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
|
||||
agencies — run on two scarce resources: mentor hours and reviewer
|
||||
attention. Validation Lab is designed to complement your programme, not
|
||||
replace it: it is the structured layer a startup works through *between*
|
||||
your sessions, producing documents your mentors and selection committees can
|
||||
actually assess.
|
||||
|
||||
Use cases we're building for:
|
||||
|
||||
- **Between mentor sessions.** Teams arrive at each session with the stage
|
||||
completed and the document drafted — the session starts from substance,
|
||||
not from status updates.
|
||||
- **A selection funnel.** Run candidates through the early stages and
|
||||
read the canvas, focus and opportunity documents before you award a
|
||||
place in your programme.
|
||||
- **White-label programmes.** For hubs that want the journey under their own
|
||||
brand and on their own infrastructure (roadmap capability above).
|
||||
|
||||
The journey today is the fifteen-stage validation path — from the Business
|
||||
Model Canvas, through market opportunities and personas, to scripted depth
|
||||
interviews with systematic analysis. The hub-facing capabilities above are
|
||||
the roadmap; the cohort overview and mentor sign-off gates are sequenced
|
||||
first, and your signal below helps us sequence the rest.
|
||||
+33
-3
@@ -1,6 +1,36 @@
|
||||
---
|
||||
layout: ../layouts/Site.astro
|
||||
title: Home
|
||||
title: Validation Lab — guided startup validation, from canvas to validated learning
|
||||
description: "A guided, AI-facilitated validation journey for early-stage startups: fifteen structured stages, real documents, from Business Model Canvas to validated learning. EU-hosted."
|
||||
hero_headline: Validate your startup before you build it.
|
||||
hero_sub: Validation Lab walks founding teams through a fifteen-stage validation journey — from the Business Model Canvas to depth interviews and validated learning — with an AI facilitator that drafts, questions and challenges every step.
|
||||
cta_founders: I'm a founder
|
||||
cta_hubs: I run an innovation hub
|
||||
value_props_title: Why teams use it
|
||||
value_props:
|
||||
- heading: A guided path, not guesswork
|
||||
text: Fifteen structured stages replace ad-hoc mentoring checklists. Every stage ends with a real document — canvas, assessment, persona set, positioning statement, interview script.
|
||||
- heading: AI-facilitated, human-steered
|
||||
text: The agent interviews the team, drafts the documents and challenges weak assumptions. You and your mentor keep every decision.
|
||||
- heading: EU-hosted, GDPR-aligned
|
||||
text: Served and stored on European infrastructure. Your startup's documents stay in the EU.
|
||||
journey_title: How the journey works
|
||||
journey_note: Fifteen guided stages in six phases — each producing documents the team keeps.
|
||||
journey:
|
||||
- title: Frame the Startup Idea
|
||||
text: the idea, the problem it solves, a validation self-rating.
|
||||
- title: Model the business
|
||||
text: build or normalise the Business Model Canvas, then assess it against Osterwalder's seven questions.
|
||||
- title: Define the validation focus
|
||||
text: turn the assessment into priorities — what is knowledge, what is assumption.
|
||||
- title: Explore market opportunities
|
||||
text: rank the segments, evaluate the shortlist, choose the focus opportunity.
|
||||
- title: Personas and positioning
|
||||
text: persona matrices, a focus persona, and a positioning statement on the Geoffrey Moore template.
|
||||
- title: Interviews and analysis
|
||||
text: plan and script depth interviews, then analyse the findings systematically.
|
||||
---
|
||||
<h1>Welcome</h1>
|
||||
<p><strong>An editable static site.</strong> This page is a plain astro page — everything below this line is written by a <em>non-technical person in a browser</em> at <a href="/admin/">/admin/</a> and committed to the site's git repository behind the scenes.</p>
|
||||
|
||||
Guided validation for early-stage startups: from Business Model Canvas to
|
||||
validated learning. Piloted with early-stage teams and mentors in Italy and
|
||||
Malta — tell us which language you're reading this in, and you'll hear from us.
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
---
|
||||
layout: ../layouts/Site.astro
|
||||
title: Privacy notice
|
||||
description: How this website handles personal data — hosting, forms, analytics and your rights.
|
||||
---
|
||||
|
||||
**DRAFT — this notice needs legal review before launch.**
|
||||
|
||||
This website is operated by Validation Lab. The pages you read are served
|
||||
from a self-managed server hosted by Aruba S.p.A. in Italy — all hosting,
|
||||
storage and content stay on EU infrastructure.
|
||||
|
||||
**What we process.** Reading this site processes no personal data beyond
|
||||
standard server logs. If you send a message through one of our forms, we
|
||||
receive the details you type (name, email, and whichever optional fields
|
||||
you complete) plus the page language, and pass them to our CRM provider,
|
||||
Zoho (EU data centres), to reply to you. If you allow analytics, a
|
||||
self-hosted, privacy-first analytics tool records page views, the referrer
|
||||
and the language you read — without cookies and without sharing data with
|
||||
third parties. Analytics loads only after you opt in via the banner.
|
||||
|
||||
**Your data rights.** You may request access to, correction of, or
|
||||
erasure of your data at any time — write to us and we will action it.
|
||||
|
||||
**Email:** [hello@app.validationlab.eu](mailto:hello@app.validationlab.eu)
|
||||
Reference in New Issue
Block a user