diff --git a/src/components/ProposeModal.astro b/src/components/ProposeModal.astro new file mode 100644 index 0000000..475a028 --- /dev/null +++ b/src/components/ProposeModal.astro @@ -0,0 +1,91 @@ + +
+
+

Qualifier la proposition

+ +
+ +

+ Optionnel : choisis une intention (pour tri & traitement éditorial). Sinon, continue sans préciser. +

+ +
+ + + + + + +
+ + +
+
+ + + + diff --git a/src/layouts/EditionLayout.astro b/src/layouts/EditionLayout.astro new file mode 100644 index 0000000..0095571 --- /dev/null +++ b/src/layouts/EditionLayout.astro @@ -0,0 +1,164 @@ +--- +import ProposeModal from "../components/ProposeModal.astro"; +import SiteNav from "../components/SiteNav.astro"; +import LevelToggle from "../components/LevelToggle.astro"; +import BuildStamp from "../components/BuildStamp.astro"; +import "../styles/global.css"; + +const { + title, + editionLabel, + editionKey, + statusLabel, + statusKey, + level, + version +} = Astro.props; + +const lvl = level ?? 1; + +const canonical = Astro.site + ? new URL(Astro.url.pathname, Astro.site).href + : Astro.url.href; + +// Cible Gitea (injectée au build) +const GITEA_BASE = import.meta.env.PUBLIC_GITEA_BASE ?? ""; +const GITEA_OWNER = import.meta.env.PUBLIC_GITEA_OWNER ?? ""; +const GITEA_REPO = import.meta.env.PUBLIC_GITEA_REPO ?? ""; +--- + + + + + + {title ? `${title} — Archicratie` : "Archicratie"} + + + + + + + + + + + + + + + +
+ +
+ Édition : {editionLabel} + Statut : {statusLabel} + Niveau : {lvl} + Version : {version} + +
+
+ +
+
+ + +
+
+ + + + + + +