First commiut

This commit is contained in:
isUnknown 2026-04-13 11:26:00 +02:00
commit 8e81736a94
30 changed files with 1596 additions and 0 deletions

0
site/accounts/index.html Normal file
View file

View file

@ -0,0 +1,22 @@
title: Fiche
tabs:
content:
label: Contenu
columns:
- width: 1/2
sections:
mediaSection:
type: fields
fields:
vue3DSection:
type: files
label: Vue 3D
multiple: false
layout: cards
gallerySection:
type: files
label: Galerie
layout: cards
files: tabs/files
seo: seo/page

View file

@ -0,0 +1,7 @@
title: Base de données
tabs:
content:
label: Contenu
tabs: tabs/files
seo: seo/page

View file

@ -0,0 +1,21 @@
title: Default Page
columns:
main:
width: 2/3
sections:
fields:
type: fields
fields:
text:
type: textarea
size: huge
sidebar:
width: 1/3
sections:
pages:
type: pages
template: default
files:
type: files

View file

@ -0,0 +1,7 @@
title: Accueil
tabs:
content:
label: Contenu
files: tabs/files
seo: seo/page

14
site/blueprints/site.yml Normal file
View file

@ -0,0 +1,14 @@
title: Site
tabs:
content:
label: Contenu
sections:
database:
label: Base de données
type: pages
parent: page('base-de-donnees')
layout: cards
template: card
files: tabs/files
seo: seo/site

View file

@ -0,0 +1,16 @@
label: Fichiers
icon: attachment
columns:
- width: 1/4
fields:
manageFilesInfo:
label: false
type: info
text: À droite, tous les fichiers que stocke la page. Supprimez les fichiers inutilisés pour éviter de surcharger inutilement le serveur.
- width: 3/4
sections:
filesSection:
label: Fichiers
type: files
batch: true

0
site/cache/index.html vendored Normal file
View file

5
site/config/config.php Normal file
View file

@ -0,0 +1,5 @@
<?php
return [
'debug' => true
];

0
site/sessions/index.html Normal file
View file

8
site/snippets/card.php Normal file
View file

@ -0,0 +1,8 @@
<!--
- titre
- date
- image
- tags (cf. assets/materials/taxinomie.png)
- début description ?
- auteur de la fiche ?
-->

View file

@ -0,0 +1,4 @@
<!--
- cf. assets/materials/taxinomie.png
- ref : assets/materials/expanding-filters.png (https://expanding.adrien-payet.fr/en/database)
-->

4
site/snippets/footer.php Normal file
View file

@ -0,0 +1,4 @@
<?php snippet('seo/schemas'); ?>
</body>
</html>

10
site/snippets/header.php Normal file
View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<?php snippet('seo/head'); ?>
</head>
<body>
<?php snippet('nav') ?>

0
site/snippets/index.html Normal file
View file

4
site/snippets/nav.php Normal file
View file

@ -0,0 +1,4 @@
<!--
- logo
- menu
-->

2
site/templates/card.php Normal file
View file

@ -0,0 +1,2 @@
<?php snippet('header') ?>
<?php snippet('footer') ?>

View file

@ -0,0 +1,2 @@
<?php snippet('header') ?>
<?php snippet('footer') ?>

View file

@ -0,0 +1 @@
<h1><?= $page->title() ?></h1>

8
site/templates/home.php Normal file
View file

@ -0,0 +1,8 @@
<?php snippet('header') ?>
<!--
- section recherche / filtres
- grille d'éléments (card.php)
-->
<?php snippet('footer') ?>