/**
* Portal-functies – centrale lijst van alle programmeerbare functies op portal.itlive.nl en itlive.nl
*
* Gebruik: overal waar je links naar domein, sitechat, visuals, klantportaal etc. bouwt.
* Zo blijven itlive.nl-pagina's normaal en hebben we één plek voor paden en namen.
*
* Voorbeelden:
* $f = itlive_portal_functies();
* $f['domein']['url_portal'] → https://https://examples.itlive.nl/domein/
* $f['sitechat']['url_itlive'] → https://itlive.nl/maak-iets-geweldigs (of sitechat op portal)
*
* Workflow: nieuwe functie toevoegen = één regel in $REGISTRY, daarna overal beschikbaar.
*/
if (!function_exists('itlive_portal_functies')) {
function itlive_portal_functies() {
static $cache = null;
if ($cache !== null) return $cache;
$host_itlive = 'https://itlive.nl';
$host_portal = 'https://portal.itlive.nl';
/**
* Registry: slug => [ path_portal, path_itlive, title, description ]
* path_portal = pad op portal.itlive.nl (zonder leading slash in key, we voegen toe)
* path_itlive = pad op itlive.nl; null = alleen op portal of zelfde als portal
*/
$REGISTRY = [
'customer_portal' => [
'path_portal' => 'customer_portal/',
'path_itlive' => null,
'title' => 'Klantportaal',
'description' => 'Inloggen, dashboard, projecten, AI-chat, domeinen.',
],
'domein' => [
'path_portal' => 'domein/',
'path_itlive' => 'domein/',
'title' => 'Domein checken',
'description' => 'Domein beschikbaarheid en registratie.',
],
'domeinnaam' => [
'path_portal' => 'domeinnaam/',
'path_itlive' => 'domein/',
'title' => 'Domeinnaam check',
'description' => 'Eenvoudige domeincheck.',
],
'sitechat' => [
'path_portal' => 'sitechat/',
'path_itlive' => 'maak-iets-geweldigs/',
'title' => 'SiteChat',
'description' => 'Website bouwen met AI-chat.',
],
'maak_iets_geweldigs' => [
'path_portal' => 'maak-iets-geweldigs/', // 301 → itlive.nl (canonical)
'path_itlive' => 'maak-iets-geweldigs/',
'title' => 'Maak iets geweldigs',
'description' => 'Kiezer: website, webapp, visuals, idee.',
],
'webapp' => [
'path_portal' => 'webapp/',
'path_itlive' => 'webapp/',
'title' => 'Webapp Builder',
'description' => 'Webapps en CRMs bouwen met AI.',
],
'visuals' => [
'path_portal' => 'visuals/',
'path_itlive' => 'visuals/',
'title' => 'Visuals & Logo',
'description' => 'Logo, branding en social media met AI.',
],
'idee' => [
'path_portal' => 'idee/',
'path_itlive' => 'idee/',
'title' => 'Idee',
'description' => 'Idee uitwerken met AI.',
],
'website_wizard' => [
'path_portal' => 'website-wizard.php',
'path_itlive' => null,
'title' => 'Website Wizard',
'description' => 'Stapsgewijs website opzetten.',
],
'website_met_kvk' => [
'path_portal' => 'customer_portal/website-met-kvk.php',
'path_itlive' => null,
'title' => 'Website met KVK',
'description' => 'Website starten met KVK-gegevens.',
],
'website_quickscan' => [
'path_portal' => 'website-quickscan/',
'path_itlive' => 'website-quickscan/',
'title' => 'Website Quickscan',
'description' => 'Gratis scan op SEO en snelheid.',
],
'gratis_website_scan' => [
'path_portal' => 'gratis-website-scan/',
'path_itlive' => 'gratis-website-scan/',
'title' => 'Gratis website scan',
'description' => 'Gratis website scan.',
],
'gratis_kennismaking' => [
'path_portal' => 'gratis-kennismaking/',
'path_itlive' => 'gratis-kennismaking/',
'title' => 'Gratis kennismaking',
'description' => 'Gratis kennismakingsgesprek.',
],
'mijn_bedrijf' => [
'path_portal' => 'customer_portal/mijn-bedrijf.php',
'path_itlive' => 'mijn-bedrijf/',
'title' => 'Mijn bedrijf',
'description' => 'Bedrijf zoeken en koppelen (KVK).',
],
'nextjs_builder' => [
'path_portal' => 'nextjs-builder/',
'path_itlive' => null,
'title' => 'Next.js Builder',
'description' => 'Next.js website bouwer.',
],
'admin_portal' => [
'path_portal' => 'admin_portal/',
'path_itlive' => null,
'title' => 'Admin portaal',
'description' => 'Beheer voor IT Live.',
],
'login' => [
'path_portal' => 'customer_portal/login.php',
'path_itlive' => null,
'title' => 'Inloggen',
'description' => 'Klantportaal inloggen.',
],
'register' => [
'path_portal' => 'customer_portal/register.php',
'path_itlive' => null,
'title' => 'Registreren',
'description' => 'Account aanmaken.',
],
'unified_agent_chat' => [
'path_portal' => 'customer_portal/unified-agent-chat.php',
'path_itlive' => null,
'title' => 'AI-chat',
'description' => 'Unified Agent AI-chat.',
],
'kennis' => [
'path_portal' => 'kennis/',
'path_itlive' => 'kennis/',
'title' => 'Kennis',
'description' => 'Kennispagina\'s.',
],
];
$out = [];
foreach ($REGISTRY as $slug => $row) {
$path_portal = $row['path_portal'] ?? '';
$path_itlive = $row['path_itlive'] ?? $path_portal;
$out[$slug] = [
'slug' => $slug,
'title' => $row['title'] ?? $slug,
'description'=> $row['description'] ?? '',
'path_portal'=> $path_portal,
'path_itlive'=> $path_itlive,
'url_portal' => $host_portal . '/' . ltrim($path_portal, '/'),
'url_itlive'=> $path_itlive !== null ? $host_itlive . '/' . ltrim($path_itlive, '/') : $host_portal . '/' . ltrim($path_portal, '/'),
];
}
$cache = $out;
return $out;
}
/**
* Eén functie-URL ophalen (portal of itlive).
* @param string $slug Bijv. 'domein', 'sitechat', 'visuals'
* @param string $host 'portal' | 'itlive'
* @return string URL
*/
function itlive_portal_functie_url($slug, $host = 'portal') {
$f = itlive_portal_functies();
if (!isset($f[$slug])) return '';
return $host === 'itlive' ? $f[$slug]['url_itlive'] : $f[$slug]['url_portal'];
}
/**
* Alle slugs (voor menus, sitemap, programmeerbaar).
* @return string[]
*/
function itlive_portal_functie_slugs() {
return array_keys(itlive_portal_functies());
}
}
Maak iets geweldigs — SiteChat, Webapp & Visuals | IT Live
Maak iets geweldigs
Bouw websites, webapps, logo's of social content door te chatten met AI. Kies hieronder waar je mee wilt – we sturen je naar de juiste builder.
Typ je wens → wij sturen je naar SiteChat , Webapp of Visuals . Elke builder heeft zijn eigen AI-assistent.
?
1 Kies wat je wilt maken: website, webapp, logo of alleen je idee
2 Een paar korte vragen: we sturen je plan naar SiteChat, Webapp of Visuals
3 Verder in de builder: live preview, deelbare link of Website Wizard
Drie korte vragen, daarna sturen we je met een concreet plan naar de juiste builder. Geen directe redirect – we bepalen eerst samen wat je nodig hebt.
Geen vragenlijst? Vertel je idee in de chat → (offerte of meer uitleg). Liever anoniem? Ga naar Idee en typ bij bedrijfsnaam overslaan – dan geef je alleen je wens door.
Templates · live maken · opties
Kies een template en bouw direct live in SiteChat – aanpasbaar met kleuren, logo en content. Geen code nodig.
📐 Templates
👁️ Live preview
🎨 Kleuren aanpassen
📷 Logo & foto's
✍️ Content door AI
🔗 Deelbare link
📋 Website Wizard
Wij gebruiken cookies om je ervaring te verbeteren en je data veilig te houden. Cookie-instellingen
Accepteer alle
Alleen essentieel
🚀 IT Live
Complete IT-oplossingen voor uw bedrijf. Web development, software en meer.
© 2026 IT Live. Alle rechten voorbehouden.