refactor(editorial): recentrer le site sur le noyau archicratique
This commit is contained in:
42
src/pages/cas-ia/[slug].astro
Normal file
42
src/pages/cas-ia/[slug].astro
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
import EditionLayout from "../../layouts/EditionLayout.astro";
|
||||
import EditionToc from "../../components/EditionToc.astro";
|
||||
import LocalToc from "../../components/LocalToc.astro";
|
||||
import { getCollection } from "astro:content";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const entries = await getCollection("cas-ia");
|
||||
|
||||
return entries.map((entry) => ({
|
||||
params: { slug: entry.slug },
|
||||
props: { entry }
|
||||
}));
|
||||
}
|
||||
|
||||
const { entry } = Astro.props;
|
||||
const { Content, headings } = await entry.render();
|
||||
---
|
||||
|
||||
<EditionLayout
|
||||
title={entry.data.title}
|
||||
editionLabel="Cas pratique"
|
||||
editionKey="cas-ia"
|
||||
statusLabel="Application"
|
||||
statusKey="application"
|
||||
level={entry.data.level ?? 1}
|
||||
version={entry.data.version}
|
||||
>
|
||||
<Fragment slot="aside">
|
||||
<EditionToc
|
||||
currentSlug={entry.slug}
|
||||
collection="cas-ia"
|
||||
basePath="/cas-ia"
|
||||
label="Table des matières — Cas pratique IA"
|
||||
/>
|
||||
<LocalToc headings={headings} />
|
||||
</Fragment>
|
||||
|
||||
<h1>{entry.data.title}</h1>
|
||||
|
||||
<Content />
|
||||
</EditionLayout>
|
||||
20
src/pages/cas-ia/index.astro
Normal file
20
src/pages/cas-ia/index.astro
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
import SiteLayout from "../../layouts/SiteLayout.astro";
|
||||
import { getCollection } from "astro:content";
|
||||
|
||||
const entries = await getCollection("cas-ia");
|
||||
|
||||
entries.sort((a, b) => (a.data.order ?? 9999) - (b.data.order ?? 9999));
|
||||
|
||||
const href = (slug: string) => `/cas-ia/${slug}/`;
|
||||
---
|
||||
|
||||
<SiteLayout title="Cas pratique — Gouvernance des systèmes IA">
|
||||
<h1>Cas pratique — Gouvernance des systèmes IA</h1>
|
||||
|
||||
<ul>
|
||||
{entries.map((e) => (
|
||||
<li><a href={href(e.slug)}>{e.data.title}</a></li>
|
||||
))}
|
||||
</ul>
|
||||
</SiteLayout>
|
||||
18
src/pages/commencer/index.astro
Normal file
18
src/pages/commencer/index.astro
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
import EditionLayout from "../../layouts/EditionLayout.astro";
|
||||
import DocumentDePresentation from "../../content/commencer/document-de-presentation.mdx";
|
||||
---
|
||||
|
||||
<EditionLayout
|
||||
title="Document de présentation"
|
||||
editionLabel="Document d’entrée"
|
||||
editionKey="commencer"
|
||||
statusLabel="Présentation"
|
||||
statusKey="presentation"
|
||||
level={1}
|
||||
version="0.1.0"
|
||||
>
|
||||
<h1>Document de présentation</h1>
|
||||
|
||||
<DocumentDePresentation />
|
||||
</EditionLayout>
|
||||
@@ -1,19 +1,57 @@
|
||||
---
|
||||
import SiteLayout from "../layouts/SiteLayout.astro";
|
||||
---
|
||||
<SiteLayout title="Accueil">
|
||||
<h1>Archicratie — Édition web</h1>
|
||||
|
||||
<SiteLayout title="Archicratie — Édition web">
|
||||
|
||||
<h1>Archicratie</h1>
|
||||
|
||||
<p>
|
||||
Portail d’accès aux éditions : Traité (Ontodynamique générative), Essai-thèse (ArchiCraT-IA),
|
||||
Cas pratique (IA), Glossaire, Atlas.
|
||||
Ce site présente le noyau conceptuel du paradigme archicratique :
|
||||
une théorie des architectures de régulation qui rendent possible la co-viabilité
|
||||
des sociétés complexes.
|
||||
</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<h2>Document d’entrée</h2>
|
||||
|
||||
<p>
|
||||
Le document suivant propose une première entrée dans le paradigme archicratique.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
👉 <a href="/commencer/">Lire le document de présentation</a>
|
||||
</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<h2>Accès principaux</h2>
|
||||
|
||||
<ul>
|
||||
<li><a href="/editions/">Carte des œuvres</a></li>
|
||||
<li><a href="/archicrat-ia/">Essai-thèse — ArchiCraT-IA</a></li>
|
||||
<li><a href="/traite/">Traité — Ontodynamique générative</a></li>
|
||||
<li><a href="/ia/">Cas pratique — Gouvernance des systèmes IA</a></li>
|
||||
<li><a href="/glossaire/">Glossaire archicratique</a></li>
|
||||
<li><a href="/atlas/">Atlas archicratique</a></li>
|
||||
<li>
|
||||
<a href="/archicrat-ia/">
|
||||
Essai-thèse — ArchiCraT-IA
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/cas-ia/">
|
||||
Cas pratique — Gouvernance des systèmes IA
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/glossaire/">
|
||||
Glossaire archicratique
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/recherche/">
|
||||
Recherche dans les textes
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</SiteLayout>
|
||||
|
||||
</SiteLayout>
|
||||
Reference in New Issue
Block a user