synchro du labo (0bf0da65) : app.blade.php, README.md
This commit is contained in:
22
README.md
22
README.md
@@ -1,3 +1,21 @@
|
|||||||
# ploxion-onboarding
|
# 🪜 Onboarding
|
||||||
|
|
||||||
PLOXION · L'ÉCHELLE D'EXISTENCE du xerboxion (spec braindump #31) — les 9 paliers (bion→kion→ploxion→xerkion→zion→Mion→xerion→xerboxion→xeroction) = une échelle d'hébergement/confiance (où vivent tes données + qui t'a invité), pas de skill. Invitation toujours en personne (QR par niveau). Tape un palier : c'est quoi, comment y arriver, le manuel. Xeroction→MWF. · fournit: onboarding, niveaux, invitation, manuel, mwf
|
L'ÉCHELLE D'EXISTENCE du xerboxion (spec braindump #31) — les 9 paliers (bion→kion→ploxion→xerkion→zion→Mion→xerion→xerboxion→xeroction) = une échelle d'hébergement/confiance (où vivent tes données + qui t'a invité), pas de skill. Invitation toujours en personne (QR par niveau). Tape un palier : c'est quoi, comment y arriver, le manuel. Xeroction→MWF.
|
||||||
|
|
||||||
|
| | |
|
||||||
|
| --- | --- |
|
||||||
|
| id | `onboarding` |
|
||||||
|
| fournit | `onboarding` `niveaux` `invitation` `manuel` `mwf` |
|
||||||
|
| bions qu'il nomme | `jOSApps` `jOSBoxion` |
|
||||||
|
| fichiers | `app.blade.php` |
|
||||||
|
| dans le labo | `resources/views/ploxions/onboarding/` (dépôt `my_website2`) |
|
||||||
|
|
||||||
|
## Contribuer
|
||||||
|
|
||||||
|
- **Dans le xer** : https://labo.j0bot.ch/px/atelier?ploxion=onboarding — prends-le, modifie-le, vois-le tourner, « ⧗ envoyer le tsoin ».
|
||||||
|
- **Dans VS Code** : `xb prendre onboarding` (ou l'extension xerboxion › ⇩ Prendre), puis ⧗ Envoyer.
|
||||||
|
- Le chemin complet : https://labo.j0bot.ch/px/contribuer
|
||||||
|
|
||||||
|
Ce dépôt est un **miroir** du labo (synchronisé par `bin/ploxions-forge.mjs`, depuis le commit `0bf0da65`) : une modif se propose par un tsoin ou une branche du labo, pas directement ici.
|
||||||
|
|
||||||
|
© 2026 chill-tekk · ne pas nuire
|
||||||
|
|||||||
75
app.blade.php
Normal file
75
app.blade.php
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
{{-- PL0XION onboarding 🪜 — L'ÉCHELLE D'EXISTENCE du xerboxion (spec braindump #31). Les 9 niveaux
|
||||||
|
= une échelle d'HÉBERGEMENT/CONFIANCE (où vivent tes données + qui t'a invité), pas de skill.
|
||||||
|
Invitation TOUJOURS en personne (QR par niveau). Tape un palier → c'est quoi · comment y arriver ·
|
||||||
|
le manuel. Xeroction → membre MWF. Mobile-first, self-contained, zéro dépendance. --}}
|
||||||
|
<style>
|
||||||
|
.ob{position:absolute;inset:0;overflow-y:auto;-webkit-overflow-scrolling:touch;background:radial-gradient(120% 80% at 50% -10%,#141c38,#05060e 62%);color:#e7eefb;font-family:var(--xr-font-ui,ui-sans-serif,system-ui)}
|
||||||
|
.ob *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
|
||||||
|
.ob__wrap{max-width:640px;margin:0 auto;padding:calc(env(safe-area-inset-top,0px) + 16px) 14px calc(env(safe-area-inset-bottom,0px) + 100px)}
|
||||||
|
.ob__hd{text-align:center;margin-bottom:6px}
|
||||||
|
.ob__hd b{font-size:1.3rem;color:#c9aaff}
|
||||||
|
.ob__hd p{font-size:.76rem;color:#9fb0e0;margin:4px 0 0;line-height:1.45}
|
||||||
|
.ob__lvl{border:1px solid rgba(120,160,230,.2);border-left:4px solid var(--c,#5fe0c0);border-radius:13px;margin:9px 0;background:rgba(10,14,26,.66);overflow:hidden}
|
||||||
|
.ob__lvl.here{border-color:rgba(180,140,255,.6);box-shadow:0 0 0 1px rgba(180,140,255,.25)}
|
||||||
|
.ob__row{display:flex;align-items:center;gap:12px;padding:14px 14px;cursor:pointer;min-height:60px}
|
||||||
|
.ob__g{width:34px;height:34px;flex:0 0 auto;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.05);font-size:1.15rem;color:var(--c,#5fe0c0);font-weight:800}
|
||||||
|
.ob__nm{font-weight:800;font-size:1rem}
|
||||||
|
.ob__nm small{display:block;font-weight:400;font-size:.7rem;color:#9fb0e0;margin-top:1px}
|
||||||
|
.ob__badge{margin-left:auto;font-size:.62rem;padding:2px 8px;border-radius:99px;background:rgba(180,140,255,.2);color:#d9c7ff;white-space:nowrap}
|
||||||
|
.ob__body{max-height:0;overflow:hidden;transition:max-height .25s ease;padding:0 14px}
|
||||||
|
.ob__lvl.open .ob__body{max-height:420px;padding:0 14px 14px}
|
||||||
|
.ob__body h5{margin:10px 0 3px;font-size:.68rem;text-transform:uppercase;letter-spacing:.05em;color:#7f9ec2}
|
||||||
|
.ob__body p{margin:0;font-size:.82rem;line-height:1.5;color:#cdd8f0}
|
||||||
|
.ob__qr{display:inline-block;margin-top:4px;font-size:.72rem;color:#9df3c8}
|
||||||
|
.ob__mwf{margin:14px 0 0;border:1px dashed rgba(255,207,106,.5);border-radius:13px;padding:13px 15px;background:rgba(255,207,106,.06);font-size:.8rem;line-height:1.5}
|
||||||
|
.ob__mwf b{color:#ffcf6a}
|
||||||
|
</style>
|
||||||
|
<script>
|
||||||
|
(function () {
|
||||||
|
'use strict';
|
||||||
|
var L = [
|
||||||
|
{ id:'bion', g:'·', c:'#5a6b8a', t:'Niveau de base', d:"Tu n'as encore rien fait. Le point de départ : un simple visiteur. Tout le monde est un bion au début.", h:"Rien à faire — tu y es déjà.", q:'' },
|
||||||
|
{ id:'kion', g:'△', c:'#5fe0c0', t:'Utilise le xerboxion en local', d:"Tu utilises le xerboxion sur ta machine, en local. Ton monde à toi, sans compte nexus.", h:"Scanne un QR kion (illimité, collé partout). Installe le xerboxion en local.", q:'QR kion · illimité' },
|
||||||
|
{ id:'ploxion', g:'▢', c:'#63e08a', t:'Utilise des ploxions du nexus', d:"Tu utilises des ploxions qui viennent du nexus (le réseau). Tu goûtes au partagé.", h:"Ouvre des ploxions du marketplace / du nexus.", q:'' },
|
||||||
|
{ id:'xerkion', g:'✦', c:'#8fd0ff', t:'Tu forges des xerkions', d:"Tu as commencé à créer tes propres xerkions (formes/blocs vivants de ton interface).", h:"Forge ton premier xerkion (l'éditeur de glyphes / la forge).", q:'' },
|
||||||
|
{ id:'zion', g:'z', c:'#5b8bff', t:'Compte public sur le nexus (Steam)', d:"Le compte public, invité par un autre zion. Réseau social + RepoVerse en écriture (forks/commits/PR/marketplace). On peut vivre toute sa vie comme un zion — c'est le niveau du partage en soirée.", h:"Sois invité EN PERSONNE par un zion (QR). Ou achète le xerboxion 2.- sur Steam → tu deviens zion connecté au nexus.", q:'QR zion · invitation en personne' },
|
||||||
|
{ id:'Mion', g:'M', c:'#a78bfa', t:'Connecté à plusieurs boxions', d:"Tu es connecté à plusieurs boxions sans avoir le tien. Tes fichiers vivent sur le nexus, chiffrés.", h:"Sois relié par des xeroctions à leurs boxions.", q:'' },
|
||||||
|
{ id:'xerion', g:'✕', c:'#c084fc', t:'Compte SSO d\'un boxion', d:"Tu as un compte SSO d'un boxion (comme un compte Google, mais le boxion comme proxy). Tu fais confiance à un xeroction.", h:"Un xeroction te crée un QR unique (SSO de son boxion).", q:'QR xerion · unique' },
|
||||||
|
{ id:'xerboxion', g:'▣', c:'#8f7bff', t:'Power user « /op »', d:"Ton espace/filesystem perso sur le boxion, TOUS les ploxions admin. Niveau développeur / meilleur ami.", h:"Un xeroction te partage son QR xerboxion — EN PERSONNE uniquement.", q:'QR xerboxion · en personne' },
|
||||||
|
{ id:'xeroction', g:'◆', c:'#ffcf6a', t:'Partage complet du boxion — l\'étape finale', d:"Le partage complet du boxion. Le plus libre et le plus dur psychologiquement : tu peux changer le réel. Devenir xeroction = membre automatique de la MWF.", h:"QR xeroction, partageable avec UNE personne pour la vie. Ou installe ton propre VPS → tu deviens xeroction automatiquement. 50 quêtes nexus + 50 missions MWF + votes pour la MWF — jamais en payant.", q:'QR xeroction · 1 personne, à vie' }
|
||||||
|
];
|
||||||
|
function esc(s){ return String(s==null?'':s).replace(/[<>&]/g,function(c){return{'<':'<','>':'>','&':'&'}[c];}); }
|
||||||
|
function describe(){
|
||||||
|
var here=null;
|
||||||
|
try { if (window.jOSBoxion) { var st = jOSBoxion.get ? jOSBoxion.get('onboarding','level') : null; if (st) here = st; } } catch(e){}
|
||||||
|
return { v:1, id:'onboarding', title:'Onboarding', icon:'🪜', items:[
|
||||||
|
{ p:1, kind:'stat', label:'étape', value: here||'départ' }
|
||||||
|
]};
|
||||||
|
}
|
||||||
|
function mount(container) {
|
||||||
|
var here = 'kion'; // TODO: lire le niveau réel du compte (#64) ; défaut kion
|
||||||
|
try { if (window.jOSBoxion) { var st = jOSBoxion.get ? jOSBoxion.get('onboarding','level') : null; if (st) here = st; } } catch(e){}
|
||||||
|
var rows = L.map(function (x) {
|
||||||
|
return '<div class="ob__lvl' + (x.id === here ? ' here' : '') + '" data-id="' + x.id + '" style="--c:' + x.c + '">'
|
||||||
|
+ '<div class="ob__row"><span class="ob__g">' + x.g + '</span>'
|
||||||
|
+ '<span class="ob__nm">' + x.id + '<small>' + esc(x.t) + '</small></span>'
|
||||||
|
+ (x.id === here ? '<span class="ob__badge">tu es ici</span>' : '') + '</div>'
|
||||||
|
+ '<div class="ob__body"><h5>c\'est quoi</h5><p>' + esc(x.d) + '</p>'
|
||||||
|
+ '<h5>comment y arriver</h5><p>' + esc(x.h) + '</p>'
|
||||||
|
+ (x.q ? '<span class="ob__qr">🔑 ' + esc(x.q) + '</span>' : '') + '</div></div>';
|
||||||
|
}).join('');
|
||||||
|
container.innerHTML = '<div class="ob"><div class="ob__wrap">'
|
||||||
|
+ '<div class="ob__hd"><b>🪜 L\'échelle d\'existence</b><p>Les 9 paliers du xerboxion. Ce qui monte, c\'est <b>où vivent tes données</b> et <b>qui t\'a invité</b> — pas ta compétence. Les invitations sont TOUJOURS en personne.</p></div>'
|
||||||
|
+ rows
|
||||||
|
+ '<div class="ob__mwf">◆ <b>Xeroction → Milky Way Foundation.</b> L\'étape finale te rend membre de la MWF (l\'organisation réelle). Tu ne peux PAS payer pour l\'atteindre : tu dois l\'earn (50 quêtes du nexus + 50 missions MWF) et voir RS-7 en personne. Membres : Josion (1er), Lorion (2e).</div>'
|
||||||
|
+ '</div></div>';
|
||||||
|
container.querySelector('.ob__wrap').addEventListener('click', function (e) {
|
||||||
|
var lvl = e.target.closest('.ob__lvl'); if (!lvl) return;
|
||||||
|
lvl.classList.toggle('open');
|
||||||
|
});
|
||||||
|
return { unmount: function () { container.innerHTML = ''; } };
|
||||||
|
}
|
||||||
|
window.jOSApps = window.jOSApps || {};
|
||||||
|
window.jOSApps['onboarding'] = { manifest: { id: 'onboarding', name: 'Onboarding', icon: '🪜' }, mount: mount, describe: describe };
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
Reference in New Issue
Block a user