first commit
Déploiement / deploy (push) Failing after 6m40s

This commit is contained in:
Romulus21 committed 2026-10-29 15:36:23 +01:00
commit 9cc1530f2e
58 files changed
+5631

No files matched your search

+49
View File
@@ -0,0 +1,49 @@
# Build Astro puis envoi par rsync/SSH sur l'hébergement mutualisé OVH.
# Déclenché à chaque commit sur main (y compris ceux faits depuis /admin).
#
# Secrets du dépôt à créer (Settings → Secrets and variables → Actions) :
# SSH_HOST ex. ssh.clusterXXX.hosting.ovh.net
# SSH_USER identifiant FTP/SSH OVH
# SSH_PRIVATE_KEY clé privée dédiée au déploiement (la clé publique va dans ~/.ssh/authorized_keys chez OVH)
# SSH_KNOWN_HOSTS sortie de `ssh-keyscan <SSH_HOST>`
# Variable (facultative) :
# DEPLOY_PATH dossier cible, par défaut www/
name: Déploiement
on:
push:
branches: [main]
workflow_dispatch:
concurrency:
group: deploiement
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- run: npm ci
- run: npm run build
- name: Envoi sur OVH
env:
SSH_HOST: ${{ secrets.SSH_HOST }}
SSH_USER: ${{ secrets.SSH_USER }}
DEPLOY_PATH: ${{ vars.DEPLOY_PATH || 'www/' }}
run: |
install -m 700 -d ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_deploy
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
chmod 600 ~/.ssh/id_deploy
rsync -rlz --delete --checksum \
-e "ssh -i ~/.ssh/id_deploy" \
dist/ "$SSH_USER@$SSH_HOST:$DEPLOY_PATH"
+27
View File
@@ -0,0 +1,27 @@
# build output
dist/
# generated types
.astro/
# dependencies
node_modules/
# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# environment variables
.env
.env.production
# macOS-specific files
.DS_Store
# jetbrains setting folder
.idea/
# maquette Claude Design (référence locale, non publiée)
design/
+1
View File
@@ -0,0 +1 @@
24
+22
View File
@@ -0,0 +1,22 @@
## Development
When starting the dev server, use background mode:
```
astro dev --background
```
Manage the background server with `astro dev stop`, `astro dev status`, and `astro dev logs`.
## Documentation
Full documentation: https://docs.astro.build
Consult these guides before working on related tasks:
- [Adding pages, dynamic routes, or middleware](https://docs.astro.build/en/guides/routing/)
- [Working with Astro components](https://docs.astro.build/en/basics/astro-components/)
- [Using React, Vue, Svelte, or other framework components](https://docs.astro.build/en/guides/framework-components/)
- [Adding or managing content](https://docs.astro.build/en/guides/content-collections/)
- [Adding styles or using Tailwind](https://docs.astro.build/en/guides/styling/)
- [Supporting multiple languages](https://docs.astro.build/en/guides/internationalization/)
+51
View File
@@ -0,0 +1,51 @@
# Site de la MSP du Vallon de Marcillac
Site statique [Astro](https://astro.build) édité par le client via [Sveltia CMS](https://sveltiacms.app) (`/admin`), déployé sur l'hébergement mutualisé OVH par GitHub Actions.
```
Client ─► /admin (Sveltia) ─► commit sur GitHub ─► Action : build Astro ─► rsync SSH ─► OVH
```
## Développement
```sh
nvm use # Node 24 (cf. .nvmrc)
npm install
npm run dev # http://localhost:4321
```
Pour tester l'admin sans GitHub : ouvrir `http://localhost:4321/admin/` dans Chrome ou Edge → « Travailler avec un dépôt local » → choisir ce dossier.
## Où est quoi
| Contenu | Fichiers | Dans l'admin |
|---|---|---|
| Accueil, intros des pages Équipes / Actualité, coordonnées | `src/content/reglages/*.yml` | Pages principales & réglages |
| Métiers (couleur, pictogramme, soins, encart RDV) | `src/content/metiers/*.md` | Métiers |
| Praticiens | `src/content/professionnels/*.md` | Praticiens |
| Actualités | `src/content/actualites/*.md` | Actualités |
| Pages libres à blocs (À propos, Mentions légales…) | `src/content/pages/*.md` | Pages |
| Images envoyées depuis l'admin | `src/assets/uploads/` | Médias |
Un champ ajouté au contenu doit être déclaré à deux endroits : `src/content.config.ts` (schéma) et `public/admin/config.yml` (formulaire de l'admin).
`design/` contient la maquette Claude Design d'origine. Elle sert de référence et n'est pas versionnée.
## Mise en production (à faire une seule fois)
1. **Dépôt GitHub** : créer le dépôt, pousser, puis renseigner `backend.repo` dans `public/admin/config.yml`.
2. **Authentification de l'admin** : déployer le Worker Cloudflare [sveltia-cms-auth](https://github.com/sveltia/sveltia-cms-auth), créer une *OAuth App* GitHub dont l'URL de callback est `https://<worker>/callback`, puis renseigner `backend.base_url`.
3. **Déploiement OVH** : générer une clé SSH dédiée (`ssh-keygen -t ed25519 -f msp-deploy`), ajouter la clé publique dans `~/.ssh/authorized_keys` chez OVH, puis créer les secrets décrits en tête de `.github/workflows/deploy.yml`.
4. **Domaine** : remplacer `https://www.msp-marcillac.fr` dans `astro.config.mjs` et `public/admin/config.yml`.
5. **Client** : l'inviter comme collaborateur (droit *Write*) sur le dépôt GitHub.
## Mode d'emploi pour le client
1. Aller sur **https://www.msp-marcillac.fr/admin/** puis cliquer sur « Se connecter avec GitHub ».
2. Choisir une rubrique à gauche (Actualités, Praticiens…) et ouvrir une fiche, ou cliquer sur « Nouveau ».
3. Modifier les textes. Pour une image, cliquer sur le champ puis « Envoyer » (JPG ou PNG ; le site les redimensionne tout seul).
4. Cliquer sur **Enregistrer**. Le site en ligne est mis à jour environ 2 minutes plus tard.
- **Ajouter un praticien** : Praticiens → Nouveau, puis choisir son métier. Il apparaît automatiquement sur « Nos équipes » et sur la page de son métier.
- **Ajouter une page** : Pages → Nouveau, puis ajouter des blocs (texte, texte + image, encarts, grande image, bouton). Cocher « Afficher dans le menu » pour qu'elle apparaisse dans le menu.
- **Ne jamais publier de données de santé** sur le site.
+9
View File
@@ -0,0 +1,9 @@
// @ts-check
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({
// TODO : remplacer par le domaine définitif
site: 'https://www.msp-marcillac.fr',
trailingSlash: 'always',
});
+3797
View File
File diff suppressed because it is too large. Load diff
+20
View File
@@ -0,0 +1,20 @@
{
"name": "site",
"type": "module",
"version": "0.0.1",
"engines": {
"node": ">=22.23.4"
},
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@fontsource-variable/inter": "^5.3.0",
"@fontsource/source-serif-4": "^5.3.1",
"astro": "^7.4.2",
"marked": "^18.1.1"
}
}
+19
View File
@@ -0,0 +1,19 @@
# Apache (hébergement mutualisé OVH)
ErrorDocument 404 /404.html
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
<IfModule mod_headers.c>
# Fichiers générés par Astro : nom avec empreinte, donc immuables
<If "%{REQUEST_URI} =~ m#^/_astro/#">
Header set Cache-Control "public, max-age=31536000, immutable"
</If>
Header always set X-Content-Type-Options "nosniff"
Header always set Referrer-Policy "strict-origin-when-cross-origin"
</IfModule>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/css application/javascript image/svg+xml application/json
</IfModule>
+219
View File
@@ -0,0 +1,219 @@
# Configuration de l'interface d'édition (Sveltia CMS) — https://sveltiacms.app
# Les champs doivent correspondre aux schémas de src/content.config.ts.
backend:
name: github
repo: PROPRIETAIRE/msp-marcillac # TODO : dépôt GitHub définitif
branch: main
base_url: https://sveltia-cms-auth.EXEMPLE.workers.dev # TODO : Worker d'authentification
commit_messages:
create: "Création : {{collection}} « {{slug}} »"
update: "Modification : {{collection}} « {{slug}} »"
delete: "Suppression : {{collection}} « {{slug}} »"
uploadMedia: "Ajout d'image : {{path}}"
deleteMedia: "Suppression d'image : {{path}}"
site_url: https://www.msp-marcillac.fr
display_url: https://www.msp-marcillac.fr
logo_url: /favicon.svg
# Images optimisées par Astro : chemin depuis la racine du projet (résolu par Vite).
media_folder: src/assets/uploads
public_folder: /src/assets/uploads
slug:
encoding: ascii
clean_accents: true
collections:
# ---------------------------------------------------------------- Actualités
- name: actualites
label: Actualités
label_singular: actualité
icon: newspaper
folder: src/content/actualites
create: true
slug: "{{year}}-{{month}}-{{titre}}"
identifier_field: titre
summary: "{{date | date('DD/MM/YYYY')}} — {{titre}}"
sortable_fields: { fields: [date, titre], default: { field: date, direction: descending } }
fields:
- { name: titre, label: Titre, widget: string }
- { name: date, label: Date, widget: datetime, time_format: false, date_format: DD/MM/YYYY, format: YYYY-MM-DD, hint: "Sert au tri : la plus récente apparaît en premier." }
- { name: date_affichee, label: Date affichée (facultatif), widget: string, required: false, hint: "Pour un texte libre, ex. « 22 et 23 septembre 2026 ». Sinon la date ci-dessus est affichée." }
- { name: resume, label: Résumé, widget: text, hint: "2 lignes maximum, affiché sur les cartes." }
- { name: image, label: Image, widget: image, required: false }
- { name: image_alt, label: Description de l'image, widget: string, required: false, hint: "Pour les personnes malvoyantes : décrivez ce que montre la photo." }
- { name: body, label: Texte complet, widget: markdown }
# ---------------------------------------------------------------- Praticiens
- name: professionnels
label: Praticiens
label_singular: praticien
icon: badge
folder: src/content/professionnels
create: true
slug: "{{nom}}"
identifier_field: nom
summary: "{{nom}} ({{metier}})"
sortable_fields: { fields: [nom, metier, ordre], default: { field: metier } }
view_groups: [{ label: Métier, field: metier }]
fields:
- { name: nom, label: Nom, widget: string }
- name: metier
label: Métier
widget: relation
collection: metiers
value_field: "{{slug}}"
search_fields: [titre]
display_fields: [titre]
- { name: description, label: Description, widget: text, required: false, hint: "Spécialités, diplômes… Un retour à la ligne = une nouvelle ligne sur le site." }
- { name: photo, label: Photo (facultatif), widget: image, required: false, hint: "Photo carrée de préférence. Sans photo, le pictogramme du métier est affiché." }
- { name: ordre, label: Ordre d'affichage, widget: number, value_type: int, default: 99, hint: "1 = en premier dans son métier." }
# ---------------------------------------------------------------- Métiers
- name: metiers
label: Métiers
label_singular: métier
icon: medical_services
folder: src/content/metiers
create: true
slug: "{{titre}}"
identifier_field: titre
summary: "{{ordre}}. {{titre}}"
sortable_fields: { fields: [ordre, titre], default: { field: ordre } }
fields:
- { name: titre, label: Nom du métier, widget: string }
- { name: ordre, label: Ordre d'affichage, widget: number, value_type: int, default: 99 }
- name: couleur
label: Couleur
widget: select
options:
- { label: Bleu canard, value: teal }
- { label: Vert, value: vert }
- { label: Violet, value: violet }
- { label: Orange, value: orange }
- { label: Rose, value: rose }
- { label: Turquoise, value: turquoise }
- { label: Émeraude, value: emeraude }
- name: icone
label: Pictogramme
widget: select
options:
- { label: Stéthoscope (médecin), value: medecin }
- { label: Seringue (infirmier), value: infirmier }
- { label: Presse-papier (Asalée), value: asalee }
- { label: Bras (kiné), value: kine }
- { label: Pieds (podologue), value: podologue }
- { label: Bulle (psychologue), value: psychologue }
- { label: Croix (pharmacie), value: pharmacie }
- { name: intro, label: Phrase d'introduction, widget: text }
- { name: body, label: Présentation du métier, widget: markdown }
- { name: soins, label: Soins proposés, widget: list, field: { name: soin, label: Soin, widget: string } }
- name: rdv
label: Encart « Prendre rendez-vous » (facultatif)
widget: object
required: false
collapsed: true
fields:
- { name: texte, label: Texte, widget: string, hint: "Mettez un nom en **gras** avec deux astérisques de chaque côté." }
- { name: telephone, label: Téléphone, widget: string }
- { name: horaires, label: Horaires, widget: string, required: false }
- { name: note, label: Remarque, widget: string, required: false }
# ---------------------------------------------------------------- Pages libres
- name: pages
label: Pages
label_singular: page
icon: description
folder: src/content/pages
create: true
slug: "{{titre}}"
identifier_field: titre
summary: "{{titre}}"
fields:
- { name: titre, label: Titre, widget: string }
- { name: description, label: Description pour Google, widget: text, required: false }
- { name: menu, label: Afficher dans le menu, widget: boolean, default: false }
- { name: ordre_menu, label: Position dans le menu, widget: number, value_type: int, default: 99, hint: "Après Accueil, Nos équipes et Actualité." }
- name: blocs
label: Contenu de la page
label_singular: bloc
widget: list
types:
- name: texte
label: Texte
fields:
- { name: titre, label: Titre (facultatif), widget: string, required: false }
- { name: contenu, label: Texte, widget: markdown }
- name: texte_image
label: Texte + image
fields:
- { name: titre, label: Titre (facultatif), widget: string, required: false }
- { name: contenu, label: Texte, widget: markdown }
- { name: image, label: Image, widget: image }
- { name: image_alt, label: Description de l'image, widget: string, required: false }
- { name: position, label: Image à, widget: select, default: droite, options: [{ label: droite, value: droite }, { label: gauche, value: gauche }] }
- name: encarts
label: Encarts (adresse, horaires…)
fields:
- { name: titre, label: Titre (facultatif), widget: string, required: false }
- name: encarts
label: Encarts
label_singular: encart
widget: list
fields:
- { name: titre, label: Titre, widget: string }
- { name: texte, label: Texte, widget: text }
- name: image
label: Grande image
fields:
- { name: image, label: Image, widget: image }
- { name: image_alt, label: Description de l'image, widget: string, required: false }
- { name: legende, label: Légende, widget: string, required: false }
- name: bouton
label: Bouton
fields:
- { name: libelle, label: Texte du bouton, widget: string }
- { name: lien, label: Lien, widget: string, hint: "Ex. /equipes/ ou https://…" }
# ---------------------------------------------------------------- Réglages
- name: reglages
label: Pages principales & réglages
icon: settings
files:
- name: accueil
label: Page d'accueil
file: src/content/reglages/accueil.yml
fields:
- { name: surtitre, label: Surtitre, widget: string }
- { name: titre, label: Grand titre, widget: string }
- { name: texte, label: Texte d'introduction, widget: text }
- { name: bouton, label: Texte du bouton, widget: string }
- { name: image, label: Photo principale, widget: image }
- { name: image_alt, label: Description de la photo, widget: string }
- { name: professions_titre, label: Titre « professions », widget: string }
- { name: professions_texte, label: Sous-titre « professions », widget: string }
- { name: actus_titre, label: Titre « actualités », widget: string }
- name: equipes
label: Page « Nos équipes »
file: src/content/reglages/equipes.yml
fields:
- { name: titre, label: Titre, widget: string }
- { name: texte, label: Introduction, widget: text }
- name: actualites
label: Page « Actualité »
file: src/content/reglages/actualites.yml
fields:
- { name: titre, label: Titre, widget: string }
- { name: texte, label: Introduction, widget: text }
- name: site
label: Informations générales
file: src/content/reglages/site.yml
fields:
- { name: nom, label: Nom complet, widget: string }
- { name: nom_court, label: Nom court, widget: string }
- { name: adresse, label: Adresse, widget: text }
- { name: telephone, label: Téléphone du standard, widget: string }
- { name: horaires_standard, label: Horaires du standard, widget: string }
- { name: description, label: Description pour Google, widget: text }
+13
View File
@@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024" role="img" aria-label="Logo MSP du Vallon de Marcillac">
<title>MSP du Vallon de Marcillac</title>
<g transform="translate(0,1024) scale(0.1,-0.1)">
<path id="vague" fill="#009CA4" d="M1644 5418 c-16 -3 -90 -12 -164 -18 -74 -7 -171 -18 -215 -26 -44 -8 -99 -14 -122 -14 -23 0 -44 -4 -47 -9 -3 -5 -64 -27 -136 -50 -167 -53 -273 -99 -364 -155 -79 -49 -102 -80 -92 -121 10 -41 42 -49 138 -37 88 11 288 2 413 -18 463 -74 853 -247 1470 -649 195 -128 232 -150 435 -264 326 -182 548 -281 853 -382 731 -242 1549 -339 2287 -271 267 24 589 78 790 133 528 143 1108 465 1486 827 59 56 65 66 62 97 -5 57 -39 52 -202 -29 -277 -138 -726 -274 -981 -297 -27 -3 -97 -12 -155 -20 -202 -28 -337 -35 -560 -31 -332 6 -390 10 -428 31 -28 14 -38 15 -57 5 -29 -15 -282 13 -328 37 -15 8 -37 11 -47 8 -23 -7 -170 20 -215 40 -16 7 -55 16 -85 19 -72 8 -253 60 -296 86 -20 11 -46 20 -60 20 -14 0 -42 9 -64 20 -22 11 -48 20 -59 20 -45 0 -817 375 -867 421 -11 10 -27 19 -35 19 -8 0 -40 15 -71 34 -31 18 -67 36 -79 39 -13 4 -50 22 -83 42 -32 19 -62 35 -67 35 -4 0 -70 27 -146 61 -324 143 -665 258 -973 330 -151 35 -204 43 -385 54 -255 16 -512 22 -551 13z"/>
<path id="soleil" fill="#FAA300" d="M3648 9275 c-362 -60 -692 -286 -839 -577 -38 -75 -37 -98 11 -196 53 -111 106 -180 217 -288 94 -91 94 -91 62 -118 -18 -15 -50 -34 -71 -43 -21 -8 -43 -24 -48 -34 -6 -10 -10 -149 -10 -335 l0 -318 78 -75 c222 -217 395 -372 442 -396 124 -63 444 -74 640 -22 584 156 948 648 927 1252 -24 660 -509 1143 -1167 1160 -104 2 -183 -1 -242 -10z M6717 6883 c-4 -3 -7 -21 -7 -40 0 -40 -2 -40 -44 -8 -45 34 -65 32 -123 -14 -66 -53 -103 -108 -103 -152 0 -19 -5 -40 -11 -46 -19 -19 -6 -190 18 -244 54 -121 164 -189 304 -189 48 0 95 3 104 6 22 9 55 77 55 114 0 31 0 31 22 10 32 -29 60 -25 105 18 53 51 68 96 67 210 -1 179 -100 301 -266 328 -95 16 -112 17 -121 7z"/>
<path id="eglise-corps" fill="#008A96" d="M2197 8112 c-15 -17 -17 -65 -17 -481 0 -329 -3 -469 -12 -484 -6 -12 -104 -117 -218 -233 -235 -241 -350 -368 -350 -388 0 -8 15 -30 34 -48 35 -33 35 -33 38 -551 3 -509 3 -518 23 -522 11 -2 124 -7 250 -10 127 -3 268 -10 314 -14 135 -13 122 -52 119 343 -2 300 0 348 16 399 59 198 312 250 433 89 59 -79 63 -107 63 -497 0 -324 1 -353 18 -368 20 -18 558 -187 596 -187 14 0 28 6 33 13 4 6 8 296 8 644 0 504 3 635 13 645 7 8 47 15 95 18 82 5 82 5 85 35 3 28 -11 43 -160 175 -89 80 -235 213 -323 295 -88 83 -201 188 -252 233 -70 63 -94 91 -98 115 -3 18 -2 201 3 407 6 260 5 377 -2 382 -6 4 -164 8 -352 8 -318 0 -342 -1 -357 -18z m363 -298 c61 -52 65 -70 65 -276 0 -228 3 -223 -114 -223 -118 0 -116 -2 -124 203 -7 175 -1 229 31 271 41 55 94 65 142 25z"/>
<path id="feuilles" fill="#4AA623" d="M8059 9548 c-96 -52 -96 -52 -128 -25 -18 15 -42 27 -54 27 -25 0 -115 -57 -164 -102 -30 -29 -32 -30 -54 -14 -48 33 -103 -2 -168 -106 -27 -45 -39 -47 -71 -13 -38 41 -73 34 -115 -22 -107 -146 -130 -305 -76 -525 36 -149 40 -229 11 -275 -38 -63 -88 -63 -126 0 -20 35 -21 58 -13 322 5 192 -23 283 -123 391 -86 94 -156 117 -178 59 -13 -33 -16 -32 -63 22 -80 90 -156 126 -187 88 -20 -24 -38 -18 -109 34 -114 84 -162 99 -195 62 -21 -23 -46 -138 -46 -211 0 -63 -13 -84 -42 -69 -31 17 -71 7 -86 -21 -12 -23 -12 -65 1 -200 2 -21 -3 -26 -28 -28 -57 -7 -68 -27 -62 -117 3 -44 12 -100 21 -124 19 -53 15 -61 -33 -61 -54 0 -76 -26 -67 -82 23 -142 131 -245 362 -343 142 -61 189 -88 210 -120 27 -41 -16 -82 -55 -53 -10 7 -37 27 -61 45 -58 44 -141 74 -226 80 -71 6 -71 6 -98 -29 -22 -30 -34 -36 -76 -41 -61 -7 -187 -44 -217 -63 -49 -31 -23 -95 83 -205 74 -75 74 -75 49 -99 -36 -34 -33 -74 8 -111 36 -33 141 -89 168 -89 55 0 60 -19 19 -67 -34 -38 -38 -72 -12 -96 30 -27 126 -67 178 -73 56 -8 84 -27 84 -60 0 -33 28 -44 117 -44 226 0 369 102 449 319 30 81 83 145 129 157 48 12 47 -8 -10 -121 -104 -208 -170 -426 -141 -470 32 -49 96 -26 111 40 25 112 123 354 183 449 21 34 25 37 39 23 33 -33 27 -96 -17 -172 -91 -159 -95 -170 -95 -285 0 -97 3 -111 33 -182 60 -138 79 -156 148 -133 18 6 27 -2 57 -52 86 -141 209 -197 256 -117 21 36 21 36 58 4 52 -46 130 -80 183 -80 57 0 70 12 70 65 0 62 9 65 103 37 45 -13 110 -26 145 -29 112 -10 126 35 64 219 -27 83 -27 83 -7 120 20 38 20 38 -9 93 -39 76 -137 165 -211 193 -91 35 -118 69 -74 92 26 14 101 -20 172 -79 101 -84 176 -111 312 -111 89 0 105 8 105 51 0 33 14 44 55 41 102 -9 305 74 305 125 0 8 -9 26 -20 40 -24 31 -22 35 47 79 31 20 80 58 109 86 61 57 68 87 33 132 -22 28 -22 28 43 94 185 191 187 233 12 273 -122 29 -131 33 -151 76 -21 45 -60 61 -166 70 -70 6 -93 21 -68 46 6 6 11 24 11 40 0 45 -49 60 -195 60 -164 1 -196 -13 -379 -161 -144 -117 -208 -134 -252 -67 -41 63 38 125 236 185 216 66 324 141 389 271 47 95 42 160 -14 171 -17 3 -19 10 -16 43 12 113 7 169 -17 181 -42 21 -45 30 -43 123 3 108 -7 131 -54 131 -47 0 -65 22 -65 80 0 57 -45 217 -67 242 -26 29 -62 21 -164 -34z m-378 -1058 c8 0 -20 -22 -62 -49 -73 -46 -77 -52 -124 -142 -26 -52 -74 -139 -105 -194 -137 -239 -169 -323 -128 -337 7 -3 65 -1 128 3 63 4 195 8 292 8 152 1 184 4 227 21 32 12 52 16 56 9 12 -18 -4 -39 -28 -39 -14 0 -31 -10 -40 -22 -13 -20 -18 -21 -36 -10 -24 14 -187 16 -430 5 -148 -6 -153 -7 -164 -30 -9 -20 -6 -28 19 -55 29 -32 29 -32 -9 0 -42 35 -83 41 -121 17 -21 -14 -23 -13 -44 26 -13 23 -21 42 -20 43 48 19 59 53 29 94 -11 15 -50 84 -87 152 -96 180 -142 248 -176 266 -26 13 -29 20 -24 44 3 18 -2 45 -14 72 -19 43 -19 43 1 52 29 14 42 -5 50 -72 5 -47 17 -74 61 -143 30 -46 89 -145 131 -220 113 -202 126 -205 206 -52 28 54 85 156 126 227 41 71 76 141 79 155 3 14 7 43 11 64 5 34 8 37 40 37 28 0 38 7 70 51 34 47 38 50 54 35 10 -9 24 -16 32 -16z m-731 -740 c0 -5 -8 -10 -18 -10 -11 0 -45 -9 -77 -20 -32 -11 -60 -20 -62 -20 -9 0 -1 49 10 53 23 10 147 7 147 -3z m495 -312 c29 -44 32 -54 19 -61 -26 -15 -37 -2 -49 56 -6 31 -10 57 -8 57 1 0 18 -23 38 -52z M8920 7034 c-30 -14 -69 -36 -87 -50 -42 -32 -45 -31 -68 19 -19 41 -21 42 -67 41 -61 0 -117 -37 -164 -109 -35 -52 -39 -55 -80 -55 -41 0 -43 -1 -68 -52 -84 -173 -66 -342 49 -478 42 -50 65 -97 65 -134 0 -43 -19 -39 -88 22 -172 153 -333 212 -573 212 -298 0 -552 -101 -461 -183 25 -23 46 -21 132 8 320 109 587 64 823 -139 61 -52 67 -60 54 -74 -20 -20 -54 -7 -139 51 -117 79 -230 88 -297 23 -22 -22 -57 -42 -88 -51 -87 -26 -131 -83 -103 -135 8 -16 3 -24 -30 -51 -78 -63 -117 -149 -89 -200 8 -15 6 -32 -6 -67 -9 -26 -18 -81 -22 -123 -8 -104 2 -110 142 -100 112 8 121 12 196 76 56 48 76 55 85 30 4 -10 -27 -47 -94 -113 -94 -91 -102 -101 -121 -166 -32 -103 -29 -161 9 -181 27 -14 30 -20 31 -68 0 -28 8 -77 17 -107 18 -55 21 -58 89 -76 7 -2 28 -36 47 -77 74 -155 100 -160 211 -42 81 84 81 85 113 73 40 -15 73 12 97 81 9 27 31 60 54 81 47 43 57 103 46 264 -5 84 -4 104 9 121 16 20 16 20 37 -5 20 -23 20 -31 14 -186 -9 -183 6 -254 66 -327 33 -40 53 -45 86 -22 20 14 24 12 76 -39 65 -66 95 -76 138 -48 31 19 31 19 87 -15 60 -35 158 -69 236 -79 74 -11 86 6 86 126 0 98 0 98 35 124 39 30 48 87 24 156 -11 31 -10 34 26 64 37 31 38 33 31 80 -4 26 -14 66 -22 88 -12 33 -12 47 -2 75 31 86 -115 215 -320 284 -132 44 -195 108 -140 142 30 19 89 -9 178 -84 122 -103 170 -124 294 -124 100 0 100 0 120 37 15 30 27 39 55 43 90 15 101 21 110 66 5 24 19 43 51 67 112 82 120 91 120 132 0 43 -37 95 -129 185 -54 53 -60 65 -36 85 8 7 15 27 15 46 0 38 -25 59 -117 101 -81 36 -86 41 -68 66 33 47 11 76 -79 102 -105 31 -205 7 -296 -70 -60 -50 -118 -77 -142 -64 -39 21 -10 59 80 104 68 33 136 95 179 162 49 76 51 102 14 137 -30 29 -30 29 -10 67 45 90 61 215 29 244 -25 22 -146 16 -224 -11 -49 -17 -49 -17 -75 15 -33 40 -74 41 -151 5z m-360 -938 c0 -37 17 -44 150 -60 221 -26 301 -29 346 -13 39 14 41 14 37 -3 -5 -18 22 -53 48 -62 8 -3 11 -9 7 -13 -5 -5 -16 -1 -25 8 -32 28 -66 35 -233 46 -91 7 -194 16 -229 22 -70 11 -91 3 -91 -35 1 -37 19Line truncated
<path id="nervures" fill="#028032" d="M7612 8541 c-60 -81 -76 -98 -95 -94 -35 6 -47 -9 -57 -71 -9 -55 -46 -132 -130 -271 -20 -33 -58 -102 -85 -153 -34 -66 -52 -92 -64 -90 -9 2 -53 68 -98 148 -45 80 -105 181 -134 224 -34 53 -53 93 -56 120 -10 93 -25 111 -82 100 -36 -7 -40 -32 -16 -90 8 -19 12 -48 9 -63 -5 -22 -1 -34 15 -47 60 -52 82 -80 141 -188 36 -64 86 -152 111 -196 48 -81 48 -88 7 -103 -19 -7 -24 -42 -8 -52 5 -3 17 -21 26 -40 18 -39 45 -45 82 -19 32 22 52 12 124 -65 64 -67 98 -140 98 -208 0 -33 22 -44 74 -37 58 8 57 14 -4 100 -27 38 -62 88 -77 112 -16 24 -45 66 -67 94 -21 28 -34 54 -29 59 4 4 123 11 263 15 255 7 255 7 304 -20 62 -33 67 -33 64 6 -3 29 0 33 26 38 39 7 53 31 38 64 -14 31 -34 33 -99 7 -67 -26 -623 -40 -623 -16 0 19 65 150 140 280 31 55 79 142 105 193 48 93 48 93 160 167 61 41 133 84 158 96 26 13 47 29 47 36 0 19 -14 16 -83 -18 -118 -60 -142 -57 -107 10 55 108 9 92 -78 -28z M6710 8560 c0 -21 45 -100 57 -100 18 0 16 13 -9 65 -20 40 -48 61 -48 35z M6776 7764 c-9 -8 -16 -26 -16 -39 0 -14 -9 -29 -20 -35 -25 -14 -26 -40 -1 -40 10 0 43 11 74 25 30 14 78 31 106 38 46 11 51 14 51 39 0 28 0 28 -89 28 -68 0 -93 -4 -105 -16z M8632 6348 c-40 -20 -45 -110 -7 -116 15 -2 27 8 44 38 37 66 19 105 -37 78z M8498 6115 c-54 -42 -108 -110 -108 -136 0 -6 8 -24 17 -39 16 -28 15 -34 -17 -152 -18 -68 -37 -149 -43 -180 -7 -42 -19 -68 -43 -97 -39 -45 -45 -86 -13 -96 27 -9 69 29 69 62 0 14 11 48 24 76 32 71 81 228 96 307 23 120 26 118 125 -65 21 -38 78 -136 126 -217 49 -81 89 -158 89 -171 0 -50 74 -70 86 -22 10 39 -2 69 -48 123 -67 78 -274 469 -258 485 4 5 70 4 146 -3 295 -24 315 -27 345 -49 43 -32 79 -28 79 7 0 21 -7 32 -25 40 -23 11 -25 16 -19 47 7 41 6 41 -71 15 -61 -21 -131 -19 -365 10 -101 13 -113 21 -104 66 9 48 -17 45 -88 -11z"/>
<path id="silhouette-rose" fill="#DB0380" d="M4343 6650 c-203 -43 -313 -254 -243 -466 94 -282 524 -289 628 -11 100 267 -115 534 -385 477z M4280 5894 c-195 -38 -326 -147 -432 -359 -69 -136 -139 -404 -142 -537 -1 -71 -1 -71 59 -104 107 -60 118 -55 160 84 49 161 90 265 105 270 7 3 10 1 7 -4 -3 -5 -13 -109 -23 -232 -18 -219 -18 -223 2 -242 23 -23 517 -273 707 -358 141 -63 193 -75 204 -46 15 40 -67 1023 -103 1243 -19 112 -52 160 -163 238 -65 45 -65 45 -211 49 -80 1 -156 0 -170 -2z"/>
<path id="silhouette-jaune" fill="#FBAE04" d="M6633 6878 c-33 -16 -28 -32 19 -67 68 -50 84 -42 86 47 1 31 0 32 -41 31 -23 0 -52 -5 -64 -11z M6760 6876 c0 -14 42 -26 91 -26 35 0 40 25 7 34 -43 11 -98 7 -98 -8z M6890 6338 c-1 -24 -7 -54 -15 -68 -25 -43 -19 -60 19 -60 49 0 166 104 166 147 0 17 -36 17 -47 1 -24 -38 -40 -39 -69 -8 -40 42 -54 39 -54 -12z M6551 6059 c-119 -42 -111 -72 50 -176 42 -28 110 -62 150 -77 141 -52 187 -112 148 -192 -23 -48 -48 -69 -99 -84 -87 -25 -313 74 -506 219 -79 60 -81 60 -120 20 -33 -35 -121 -89 -145 -89 -9 0 -20 -8 -24 -17 -8 -23 5 -307 16 -324 15 -26 176 38 272 109 27 19 52 31 56 26 5 -5 5 -63 0 -129 -72 -1039 -83 -1258 -64 -1271 21 -15 280 -20 302 -6 7 4 19 41 27 82 24 122 66 344 96 519 46 258 48 254 130 -180 86 -453 71 -409 140 -409 57 0 197 16 233 26 26 8 24 70 -34 1049 -15 265 -13 283 27 175 18 -47 48 -143 69 -215 20 -71 44 -145 52 -163 31 -66 119 -83 175 -33 33 29 33 29 32 148 -1 139 -26 271 -84 444 -106 319 -245 479 -476 548 -98 29 -341 29 -423 0z"/>
<path id="petrole-fonce" fill="#006C7E" d="M2396 9671 c-3 -5 -12 -40 -20 -79 -9 -38 -29 -127 -46 -198 -17 -71 -40 -169 -52 -219 -90 -386 -157 -628 -191 -685 -31 -53 -158 -208 -221 -270 -81 -78 -77 -120 10 -120 75 0 75 2 72 -375 -3 -321 -4 -335 -24 -362 -21 -28 -108 -101 -578 -486 -419 -343 -428 -351 -394 -385 7 -7 38 -12 69 -12 51 0 60 -3 79 -27 22 -28 22 -29 20 -558 -1 -291 -1 -535 -1 -541 2 -21 46 -24 117 -9 65 13 266 38 393 48 30 2 57 10 63 18 5 9 7 212 3 534 -6 520 -6 520 -36 547 -16 15 -29 31 -29 34 0 12 133 156 341 368 113 116 211 221 217 233 9 15 12 155 12 486 0 447 1 465 19 481 18 17 48 18 388 15 202 -2 374 0 381 4 25 16 11 49 -51 120 -120 138 -173 223 -211 337 -31 93 -171 648 -231 920 -43 191 -43 190 -70 190 -13 0 -26 -4 -29 -9z M5459 7416 c-182 -52 -283 -192 -283 -391 0 -171 81 -304 226 -371 94 -43 254 -43 343 0 147 72 209 182 210 367 0 113 -1 116 -38 191 -45 91 -114 157 -197 190 -68 26 -196 33 -261 14z M5410 6523 c-197 -33 -329 -111 -461 -270 -101 -123 -222 -245 -301 -305 -81 -59 -82 -69 -20 -111 26 -17 75 -61 109 -96 56 -59 64 -64 85 -54 37 18 159 106 216 158 72 65 85 58 78 -42 -3 -43 -8 -154 -11 -248 -6 -204 -20 -461 -46 -888 -24 -401 -25 -363 13 -383 100 -52 368 -107 368 -75 0 3 18 143 40 311 22 168 46 356 54 418 13 106 26 145 43 129 8 -8 11 -32 53 -392 66 -570 60 -532 89 -544 31 -12 246 -41 307 -41 71 0 69 -22 45 483 -22 438 -37 770 -47 1007 -2 63 -7 170 -10 237 -9 166 -1 169 115 47 220 -230 541 -395 690 -354 84 22 136 111 112 189 -15 53 -65 93 -158 126 -144 53 -240 127 -512 391 -236 230 -285 262 -461 300 -61 13 -326 18 -390 7z M1910 3101 c-180 -64 -222 -327 -66 -422 17 -10 73 -33 125 -49 142 -46 185 -84 157 -139 -40 -76 -146 -77 -249 -1 -49 36 -82 38 -128 7 -80 -53 -19 -166 117 -216 85 -32 246 -28 318 9 92 47 146 140 146 251 0 120 -70 187 -252 244 -84 26 -138 61 -138 90 0 19 47 65 67 66 47 3 72 -5 119 -37 58 -39 86 -42 132 -14 70 43 61 100 -26 167 -78 60 -222 79 -322 44z M8104 3106 c-194 -44 -314 -203 -314 -415 0 -230 138 -397 357 -433 276 -46 516 180 489 462 -25 277 -261 447 -532 386z m192 -197 c162 -78 191 -295 55 -410 -149 -128 -364 -19 -363 184 0 178 162 297 308 226z M817 3082 c-15 -17 -17 -59 -17 -399 0 -435 -5 -413 87 -413 81 0 82 2 85 241 2 112 7 204 11 204 4 0 37 -65 73 -145 75 -166 87 -180 154 -180 62 0 71 11 151 188 36 80 71 148 77 150 13 4 18 -127 12 -316 -3 -122 8 -142 84 -142 94 0 90 -20 83 416 -6 443 2 414 -114 414 -95 0 -104 -9 -168 -160 -80 -191 -113 -260 -125 -260 -6 0 -25 30 -42 68 -91 204 -143 309 -161 330 -28 30 -164 33 -190 4z M2452 3085 c-21 -15 -21 -18 -19 -401 2 -440 -4 -414 92 -414 77 0 85 13 85 143 0 128 7 137 105 137 176 0 295 95 311 248 13 120 -46 226 -155 275 -61 28 -382 37 -419 12z m335 -173 c47 -26 63 -84 38 -132 -30 -58 -154 -91 -194 -51 -40 40 -27 190 18 203 22 6 114 -7 138 -20z M3376 3088 c-27 -15 -24 -793 3 -808 28 -14 262 -12 352 4 136 25 245 103 298 216 42 90 39 289 -6 381 -41 82 -103 141 -191 182 -67 31 -68 31 -254 32 -102 1 -193 -2 -202 -7z m370 -186 c190 -97 167 -377 -35 -436 -70 -21 -135 -21 -155 0 -24 24 -24 409 0 443 22 30 125 26 190 -7z M4657 3087 c-16 -11 -18 -40 -21 -261 -4 -236 -5 -250 -28 -293 -54 -106 -187 -109 -245 -7 -22 37 -23 49 -23 290 0 181 -3 253 -12 262 -16 16 -150 16 -166 0 -19 -19 -17 -529 3 -595 39 -132 140 -209 288 -220 157 -12 282 54 338 179 23 51 24 63 27 336 4 332 7 322 -88 322 -31 0 -64 -6 -73 -13z M5162 3088 c-20 -20 -15 -41 108 -419 93 -284 126 -372 143 -384 31 -22 174 -21 199 2 10 9 68 167 140 385 143 433 142 421 39 426 -103 5 -90 29 -226 -413 -36 -119 -48 -145 -61 -132 -4 4 -42 120 -85 258 -44 139 -86 261 -96 271 -19 21 -141 26 -161 6z M6107 3088 c-21 -16 -47 -85 -177 -470 -102 -302 -104 -307 -86 -327 15 -17 31 -21 81 -21 72 0 86 11 111 82 25 73 41 82 154 86 123 5 149 -7 175 -75 29 -79 48 -93 125 -93 71 0 90 10 90 46 0 40 -249 737 -272 761 -19 20 -31 23 -103 23 -49 0 -88 -5 -98 -12z m138 -366 c39 -109 35 -122 -44 -122 -75 0 -79 12 -41 125 18 53 37 94 42 93 6 -2 25 -45 43 -96z M6697 3082 c-27 -30 -25 -771 1 -795 16 -15 48 -17 239 -17 256 0 253 -1 253 92 0 84 -11 90 -159 87 -175 -4 -161 -32 -161 326 0 340 4 325 -97 325 -45 0 -64 -4 -76 -18z M7300 3080 c-30 -30 -31 -767 -2 -793 22 -20 407 -26 443 -7 16 9 19 22 19 75 0 91 -6 95 -141 95 -161 0 -149 -25 -149 329 0 335 4 321 -91 321 -46 0 -63 -4 -79 -20z M8735 3080 c-16 -18 -17 -44 -11 -402 7 -436 1 -408 96 -408 94 0 93 -1 88 255 -3 149 -1 215 7 215 6 0 69 -95 140 -211 155 -252 162 -259 254 -259 108 0 101 -28 101 417 0 440 6 413 -97 413 -96 0 -96 0 -92 -239 2 -110 1 -202 -2 -205 -9 -10 -30 19 -154 219 -65 105 -127 198 -139 207 -32 27 -166 25 -191 -2z M5535 1947 c-123 -33 -220 -109 -278 -221 -31 -60 -32 -64 -32 -197 0 -134 0 -135 35 -203 130 -257 460 -318 649 -122 83 88 84 124 4 165 -60 30 -75 27 -139 -29 -83 -72 -166 -80 -248 -23 -117 81 -148 228 -73 340 85 127 213 148 331 54 48 -38 98 -41 147 -8 77 51 31 145 -104 212 -85 42 -203 55 -292 32z M8740 1946 c-396 -86 -449 -651 -76 -822 161 -74 375 -22 470 114 38 53 29 86 -29 119 -59 34 -86 30 -146 -22 -89 -76 -150 -80 -243 -16 -121 84Line truncated
</g>
</svg>

After

Width:  |  Height:  |  Size: 18 KiB

+13
View File
@@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024" role="img" aria-label="Logo MSP du Vallon de Marcillac">
<title>MSP du Vallon de Marcillac</title>
<g transform="translate(0,1024) scale(0.1,-0.1)">
<path id="vague" fill="#009CA4" d="M1644 5418 c-16 -3 -90 -12 -164 -18 -74 -7 -171 -18 -215 -26 -44 -8 -99 -14 -122 -14 -23 0 -44 -4 -47 -9 -3 -5 -64 -27 -136 -50 -167 -53 -273 -99 -364 -155 -79 -49 -102 -80 -92 -121 10 -41 42 -49 138 -37 88 11 288 2 413 -18 463 -74 853 -247 1470 -649 195 -128 232 -150 435 -264 326 -182 548 -281 853 -382 731 -242 1549 -339 2287 -271 267 24 589 78 790 133 528 143 1108 465 1486 827 59 56 65 66 62 97 -5 57 -39 52 -202 -29 -277 -138 -726 -274 -981 -297 -27 -3 -97 -12 -155 -20 -202 -28 -337 -35 -560 -31 -332 6 -390 10 -428 31 -28 14 -38 15 -57 5 -29 -15 -282 13 -328 37 -15 8 -37 11 -47 8 -23 -7 -170 20 -215 40 -16 7 -55 16 -85 19 -72 8 -253 60 -296 86 -20 11 -46 20 -60 20 -14 0 -42 9 -64 20 -22 11 -48 20 -59 20 -45 0 -817 375 -867 421 -11 10 -27 19 -35 19 -8 0 -40 15 -71 34 -31 18 -67 36 -79 39 -13 4 -50 22 -83 42 -32 19 -62 35 -67 35 -4 0 -70 27 -146 61 -324 143 -665 258 -973 330 -151 35 -204 43 -385 54 -255 16 -512 22 -551 13z"/>
<path id="soleil" fill="#FAA300" d="M3648 9275 c-362 -60 -692 -286 -839 -577 -38 -75 -37 -98 11 -196 53 -111 106 -180 217 -288 94 -91 94 -91 62 -118 -18 -15 -50 -34 -71 -43 -21 -8 -43 -24 -48 -34 -6 -10 -10 -149 -10 -335 l0 -318 78 -75 c222 -217 395 -372 442 -396 124 -63 444 -74 640 -22 584 156 948 648 927 1252 -24 660 -509 1143 -1167 1160 -104 2 -183 -1 -242 -10z M6717 6883 c-4 -3 -7 -21 -7 -40 0 -40 -2 -40 -44 -8 -45 34 -65 32 -123 -14 -66 -53 -103 -108 -103 -152 0 -19 -5 -40 -11 -46 -19 -19 -6 -190 18 -244 54 -121 164 -189 304 -189 48 0 95 3 104 6 22 9 55 77 55 114 0 31 0 31 22 10 32 -29 60 -25 105 18 53 51 68 96 67 210 -1 179 -100 301 -266 328 -95 16 -112 17 -121 7z"/>
<path id="eglise-corps" fill="#008A96" d="M2197 8112 c-15 -17 -17 -65 -17 -481 0 -329 -3 -469 -12 -484 -6 -12 -104 -117 -218 -233 -235 -241 -350 -368 -350 -388 0 -8 15 -30 34 -48 35 -33 35 -33 38 -551 3 -509 3 -518 23 -522 11 -2 124 -7 250 -10 127 -3 268 -10 314 -14 135 -13 122 -52 119 343 -2 300 0 348 16 399 59 198 312 250 433 89 59 -79 63 -107 63 -497 0 -324 1 -353 18 -368 20 -18 558 -187 596 -187 14 0 28 6 33 13 4 6 8 296 8 644 0 504 3 635 13 645 7 8 47 15 95 18 82 5 82 5 85 35 3 28 -11 43 -160 175 -89 80 -235 213 -323 295 -88 83 -201 188 -252 233 -70 63 -94 91 -98 115 -3 18 -2 201 3 407 6 260 5 377 -2 382 -6 4 -164 8 -352 8 -318 0 -342 -1 -357 -18z m363 -298 c61 -52 65 -70 65 -276 0 -228 3 -223 -114 -223 -118 0 -116 -2 -124 203 -7 175 -1 229 31 271 41 55 94 65 142 25z"/>
<path id="feuilles" fill="#4AA623" d="M8059 9548 c-96 -52 -96 -52 -128 -25 -18 15 -42 27 -54 27 -25 0 -115 -57 -164 -102 -30 -29 -32 -30 -54 -14 -48 33 -103 -2 -168 -106 -27 -45 -39 -47 -71 -13 -38 41 -73 34 -115 -22 -107 -146 -130 -305 -76 -525 36 -149 40 -229 11 -275 -38 -63 -88 -63 -126 0 -20 35 -21 58 -13 322 5 192 -23 283 -123 391 -86 94 -156 117 -178 59 -13 -33 -16 -32 -63 22 -80 90 -156 126 -187 88 -20 -24 -38 -18 -109 34 -114 84 -162 99 -195 62 -21 -23 -46 -138 -46 -211 0 -63 -13 -84 -42 -69 -31 17 -71 7 -86 -21 -12 -23 -12 -65 1 -200 2 -21 -3 -26 -28 -28 -57 -7 -68 -27 -62 -117 3 -44 12 -100 21 -124 19 -53 15 -61 -33 -61 -54 0 -76 -26 -67 -82 23 -142 131 -245 362 -343 142 -61 189 -88 210 -120 27 -41 -16 -82 -55 -53 -10 7 -37 27 -61 45 -58 44 -141 74 -226 80 -71 6 -71 6 -98 -29 -22 -30 -34 -36 -76 -41 -61 -7 -187 -44 -217 -63 -49 -31 -23 -95 83 -205 74 -75 74 -75 49 -99 -36 -34 -33 -74 8 -111 36 -33 141 -89 168 -89 55 0 60 -19 19 -67 -34 -38 -38 -72 -12 -96 30 -27 126 -67 178 -73 56 -8 84 -27 84 -60 0 -33 28 -44 117 -44 226 0 369 102 449 319 30 81 83 145 129 157 48 12 47 -8 -10 -121 -104 -208 -170 -426 -141 -470 32 -49 96 -26 111 40 25 112 123 354 183 449 21 34 25 37 39 23 33 -33 27 -96 -17 -172 -91 -159 -95 -170 -95 -285 0 -97 3 -111 33 -182 60 -138 79 -156 148 -133 18 6 27 -2 57 -52 86 -141 209 -197 256 -117 21 36 21 36 58 4 52 -46 130 -80 183 -80 57 0 70 12 70 65 0 62 9 65 103 37 45 -13 110 -26 145 -29 112 -10 126 35 64 219 -27 83 -27 83 -7 120 20 38 20 38 -9 93 -39 76 -137 165 -211 193 -91 35 -118 69 -74 92 26 14 101 -20 172 -79 101 -84 176 -111 312 -111 89 0 105 8 105 51 0 33 14 44 55 41 102 -9 305 74 305 125 0 8 -9 26 -20 40 -24 31 -22 35 47 79 31 20 80 58 109 86 61 57 68 87 33 132 -22 28 -22 28 43 94 185 191 187 233 12 273 -122 29 -131 33 -151 76 -21 45 -60 61 -166 70 -70 6 -93 21 -68 46 6 6 11 24 11 40 0 45 -49 60 -195 60 -164 1 -196 -13 -379 -161 -144 -117 -208 -134 -252 -67 -41 63 38 125 236 185 216 66 324 141 389 271 47 95 42 160 -14 171 -17 3 -19 10 -16 43 12 113 7 169 -17 181 -42 21 -45 30 -43 123 3 108 -7 131 -54 131 -47 0 -65 22 -65 80 0 57 -45 217 -67 242 -26 29 -62 21 -164 -34z m-378 -1058 c8 0 -20 -22 -62 -49 -73 -46 -77 -52 -124 -142 -26 -52 -74 -139 -105 -194 -137 -239 -169 -323 -128 -337 7 -3 65 -1 128 3 63 4 195 8 292 8 152 1 184 4 227 21 32 12 52 16 56 9 12 -18 -4 -39 -28 -39 -14 0 -31 -10 -40 -22 -13 -20 -18 -21 -36 -10 -24 14 -187 16 -430 5 -148 -6 -153 -7 -164 -30 -9 -20 -6 -28 19 -55 29 -32 29 -32 -9 0 -42 35 -83 41 -121 17 -21 -14 -23 -13 -44 26 -13 23 -21 42 -20 43 48 19 59 53 29 94 -11 15 -50 84 -87 152 -96 180 -142 248 -176 266 -26 13 -29 20 -24 44 3 18 -2 45 -14 72 -19 43 -19 43 1 52 29 14 42 -5 50 -72 5 -47 17 -74 61 -143 30 -46 89 -145 131 -220 113 -202 126 -205 206 -52 28 54 85 156 126 227 41 71 76 141 79 155 3 14 7 43 11 64 5 34 8 37 40 37 28 0 38 7 70 51 34 47 38 50 54 35 10 -9 24 -16 32 -16z m-731 -740 c0 -5 -8 -10 -18 -10 -11 0 -45 -9 -77 -20 -32 -11 -60 -20 -62 -20 -9 0 -1 49 10 53 23 10 147 7 147 -3z m495 -312 c29 -44 32 -54 19 -61 -26 -15 -37 -2 -49 56 -6 31 -10 57 -8 57 1 0 18 -23 38 -52z M8920 7034 c-30 -14 -69 -36 -87 -50 -42 -32 -45 -31 -68 19 -19 41 -21 42 -67 41 -61 0 -117 -37 -164 -109 -35 -52 -39 -55 -80 -55 -41 0 -43 -1 -68 -52 -84 -173 -66 -342 49 -478 42 -50 65 -97 65 -134 0 -43 -19 -39 -88 22 -172 153 -333 212 -573 212 -298 0 -552 -101 -461 -183 25 -23 46 -21 132 8 320 109 587 64 823 -139 61 -52 67 -60 54 -74 -20 -20 -54 -7 -139 51 -117 79 -230 88 -297 23 -22 -22 -57 -42 -88 -51 -87 -26 -131 -83 -103 -135 8 -16 3 -24 -30 -51 -78 -63 -117 -149 -89 -200 8 -15 6 -32 -6 -67 -9 -26 -18 -81 -22 -123 -8 -104 2 -110 142 -100 112 8 121 12 196 76 56 48 76 55 85 30 4 -10 -27 -47 -94 -113 -94 -91 -102 -101 -121 -166 -32 -103 -29 -161 9 -181 27 -14 30 -20 31 -68 0 -28 8 -77 17 -107 18 -55 21 -58 89 -76 7 -2 28 -36 47 -77 74 -155 100 -160 211 -42 81 84 81 85 113 73 40 -15 73 12 97 81 9 27 31 60 54 81 47 43 57 103 46 264 -5 84 -4 104 9 121 16 20 16 20 37 -5 20 -23 20 -31 14 -186 -9 -183 6 -254 66 -327 33 -40 53 -45 86 -22 20 14 24 12 76 -39 65 -66 95 -76 138 -48 31 19 31 19 87 -15 60 -35 158 -69 236 -79 74 -11 86 6 86 126 0 98 0 98 35 124 39 30 48 87 24 156 -11 31 -10 34 26 64 37 31 38 33 31 80 -4 26 -14 66 -22 88 -12 33 -12 47 -2 75 31 86 -115 215 -320 284 -132 44 -195 108 -140 142 30 19 89 -9 178 -84 122 -103 170 -124 294 -124 100 0 100 0 120 37 15 30 27 39 55 43 90 15 101 21 110 66 5 24 19 43 51 67 112 82 120 91 120 132 0 43 -37 95 -129 185 -54 53 -60 65 -36 85 8 7 15 27 15 46 0 38 -25 59 -117 101 -81 36 -86 41 -68 66 33 47 11 76 -79 102 -105 31 -205 7 -296 -70 -60 -50 -118 -77 -142 -64 -39 21 -10 59 80 104 68 33 136 95 179 162 49 76 51 102 14 137 -30 29 -30 29 -10 67 45 90 61 215 29 244 -25 22 -146 16 -224 -11 -49 -17 -49 -17 -75 15 -33 40 -74 41 -151 5z m-360 -938 c0 -37 17 -44 150 -60 221 -26 301 -29 346 -13 39 14 41 14 37 -3 -5 -18 22 -53 48 -62 8 -3 11 -9 7 -13 -5 -5 -16 -1 -25 8 -32 28 -66 35 -233 46 -91 7 -194 16 -229 22 -70 11 -91 3 -91 -35 1 -37 19Line truncated
<path id="nervures" fill="#028032" d="M7612 8541 c-60 -81 -76 -98 -95 -94 -35 6 -47 -9 -57 -71 -9 -55 -46 -132 -130 -271 -20 -33 -58 -102 -85 -153 -34 -66 -52 -92 -64 -90 -9 2 -53 68 -98 148 -45 80 -105 181 -134 224 -34 53 -53 93 -56 120 -10 93 -25 111 -82 100 -36 -7 -40 -32 -16 -90 8 -19 12 -48 9 -63 -5 -22 -1 -34 15 -47 60 -52 82 -80 141 -188 36 -64 86 -152 111 -196 48 -81 48 -88 7 -103 -19 -7 -24 -42 -8 -52 5 -3 17 -21 26 -40 18 -39 45 -45 82 -19 32 22 52 12 124 -65 64 -67 98 -140 98 -208 0 -33 22 -44 74 -37 58 8 57 14 -4 100 -27 38 -62 88 -77 112 -16 24 -45 66 -67 94 -21 28 -34 54 -29 59 4 4 123 11 263 15 255 7 255 7 304 -20 62 -33 67 -33 64 6 -3 29 0 33 26 38 39 7 53 31 38 64 -14 31 -34 33 -99 7 -67 -26 -623 -40 -623 -16 0 19 65 150 140 280 31 55 79 142 105 193 48 93 48 93 160 167 61 41 133 84 158 96 26 13 47 29 47 36 0 19 -14 16 -83 -18 -118 -60 -142 -57 -107 10 55 108 9 92 -78 -28z M6710 8560 c0 -21 45 -100 57 -100 18 0 16 13 -9 65 -20 40 -48 61 -48 35z M6776 7764 c-9 -8 -16 -26 -16 -39 0 -14 -9 -29 -20 -35 -25 -14 -26 -40 -1 -40 10 0 43 11 74 25 30 14 78 31 106 38 46 11 51 14 51 39 0 28 0 28 -89 28 -68 0 -93 -4 -105 -16z M8632 6348 c-40 -20 -45 -110 -7 -116 15 -2 27 8 44 38 37 66 19 105 -37 78z M8498 6115 c-54 -42 -108 -110 -108 -136 0 -6 8 -24 17 -39 16 -28 15 -34 -17 -152 -18 -68 -37 -149 -43 -180 -7 -42 -19 -68 -43 -97 -39 -45 -45 -86 -13 -96 27 -9 69 29 69 62 0 14 11 48 24 76 32 71 81 228 96 307 23 120 26 118 125 -65 21 -38 78 -136 126 -217 49 -81 89 -158 89 -171 0 -50 74 -70 86 -22 10 39 -2 69 -48 123 -67 78 -274 469 -258 485 4 5 70 4 146 -3 295 -24 315 -27 345 -49 43 -32 79 -28 79 7 0 21 -7 32 -25 40 -23 11 -25 16 -19 47 7 41 6 41 -71 15 -61 -21 -131 -19 -365 10 -101 13 -113 21 -104 66 9 48 -17 45 -88 -11z"/>
<path id="silhouette-rose" fill="#DB0380" d="M4343 6650 c-203 -43 -313 -254 -243 -466 94 -282 524 -289 628 -11 100 267 -115 534 -385 477z M4280 5894 c-195 -38 -326 -147 -432 -359 -69 -136 -139 -404 -142 -537 -1 -71 -1 -71 59 -104 107 -60 118 -55 160 84 49 161 90 265 105 270 7 3 10 1 7 -4 -3 -5 -13 -109 -23 -232 -18 -219 -18 -223 2 -242 23 -23 517 -273 707 -358 141 -63 193 -75 204 -46 15 40 -67 1023 -103 1243 -19 112 -52 160 -163 238 -65 45 -65 45 -211 49 -80 1 -156 0 -170 -2z"/>
<path id="silhouette-jaune" fill="#FBAE04" d="M6633 6878 c-33 -16 -28 -32 19 -67 68 -50 84 -42 86 47 1 31 0 32 -41 31 -23 0 -52 -5 -64 -11z M6760 6876 c0 -14 42 -26 91 -26 35 0 40 25 7 34 -43 11 -98 7 -98 -8z M6890 6338 c-1 -24 -7 -54 -15 -68 -25 -43 -19 -60 19 -60 49 0 166 104 166 147 0 17 -36 17 -47 1 -24 -38 -40 -39 -69 -8 -40 42 -54 39 -54 -12z M6551 6059 c-119 -42 -111 -72 50 -176 42 -28 110 -62 150 -77 141 -52 187 -112 148 -192 -23 -48 -48 -69 -99 -84 -87 -25 -313 74 -506 219 -79 60 -81 60 -120 20 -33 -35 -121 -89 -145 -89 -9 0 -20 -8 -24 -17 -8 -23 5 -307 16 -324 15 -26 176 38 272 109 27 19 52 31 56 26 5 -5 5 -63 0 -129 -72 -1039 -83 -1258 -64 -1271 21 -15 280 -20 302 -6 7 4 19 41 27 82 24 122 66 344 96 519 46 258 48 254 130 -180 86 -453 71 -409 140 -409 57 0 197 16 233 26 26 8 24 70 -34 1049 -15 265 -13 283 27 175 18 -47 48 -143 69 -215 20 -71 44 -145 52 -163 31 -66 119 -83 175 -33 33 29 33 29 32 148 -1 139 -26 271 -84 444 -106 319 -245 479 -476 548 -98 29 -341 29 -423 0z"/>
<path id="petrole-fonce" fill="#006C7E" d="M2396 9671 c-3 -5 -12 -40 -20 -79 -9 -38 -29 -127 -46 -198 -17 -71 -40 -169 -52 -219 -90 -386 -157 -628 -191 -685 -31 -53 -158 -208 -221 -270 -81 -78 -77 -120 10 -120 75 0 75 2 72 -375 -3 -321 -4 -335 -24 -362 -21 -28 -108 -101 -578 -486 -419 -343 -428 -351 -394 -385 7 -7 38 -12 69 -12 51 0 60 -3 79 -27 22 -28 22 -29 20 -558 -1 -291 -1 -535 -1 -541 2 -21 46 -24 117 -9 65 13 266 38 393 48 30 2 57 10 63 18 5 9 7 212 3 534 -6 520 -6 520 -36 547 -16 15 -29 31 -29 34 0 12 133 156 341 368 113 116 211 221 217 233 9 15 12 155 12 486 0 447 1 465 19 481 18 17 48 18 388 15 202 -2 374 0 381 4 25 16 11 49 -51 120 -120 138 -173 223 -211 337 -31 93 -171 648 -231 920 -43 191 -43 190 -70 190 -13 0 -26 -4 -29 -9z M5459 7416 c-182 -52 -283 -192 -283 -391 0 -171 81 -304 226 -371 94 -43 254 -43 343 0 147 72 209 182 210 367 0 113 -1 116 -38 191 -45 91 -114 157 -197 190 -68 26 -196 33 -261 14z M5410 6523 c-197 -33 -329 -111 -461 -270 -101 -123 -222 -245 -301 -305 -81 -59 -82 -69 -20 -111 26 -17 75 -61 109 -96 56 -59 64 -64 85 -54 37 18 159 106 216 158 72 65 85 58 78 -42 -3 -43 -8 -154 -11 -248 -6 -204 -20 -461 -46 -888 -24 -401 -25 -363 13 -383 100 -52 368 -107 368 -75 0 3 18 143 40 311 22 168 46 356 54 418 13 106 26 145 43 129 8 -8 11 -32 53 -392 66 -570 60 -532 89 -544 31 -12 246 -41 307 -41 71 0 69 -22 45 483 -22 438 -37 770 -47 1007 -2 63 -7 170 -10 237 -9 166 -1 169 115 47 220 -230 541 -395 690 -354 84 22 136 111 112 189 -15 53 -65 93 -158 126 -144 53 -240 127 -512 391 -236 230 -285 262 -461 300 -61 13 -326 18 -390 7z M1910 3101 c-180 -64 -222 -327 -66 -422 17 -10 73 -33 125 -49 142 -46 185 -84 157 -139 -40 -76 -146 -77 -249 -1 -49 36 -82 38 -128 7 -80 -53 -19 -166 117 -216 85 -32 246 -28 318 9 92 47 146 140 146 251 0 120 -70 187 -252 244 -84 26 -138 61 -138 90 0 19 47 65 67 66 47 3 72 -5 119 -37 58 -39 86 -42 132 -14 70 43 61 100 -26 167 -78 60 -222 79 -322 44z M8104 3106 c-194 -44 -314 -203 -314 -415 0 -230 138 -397 357 -433 276 -46 516 180 489 462 -25 277 -261 447 -532 386z m192 -197 c162 -78 191 -295 55 -410 -149 -128 -364 -19 -363 184 0 178 162 297 308 226z M817 3082 c-15 -17 -17 -59 -17 -399 0 -435 -5 -413 87 -413 81 0 82 2 85 241 2 112 7 204 11 204 4 0 37 -65 73 -145 75 -166 87 -180 154 -180 62 0 71 11 151 188 36 80 71 148 77 150 13 4 18 -127 12 -316 -3 -122 8 -142 84 -142 94 0 90 -20 83 416 -6 443 2 414 -114 414 -95 0 -104 -9 -168 -160 -80 -191 -113 -260 -125 -260 -6 0 -25 30 -42 68 -91 204 -143 309 -161 330 -28 30 -164 33 -190 4z M2452 3085 c-21 -15 -21 -18 -19 -401 2 -440 -4 -414 92 -414 77 0 85 13 85 143 0 128 7 137 105 137 176 0 295 95 311 248 13 120 -46 226 -155 275 -61 28 -382 37 -419 12z m335 -173 c47 -26 63 -84 38 -132 -30 -58 -154 -91 -194 -51 -40 40 -27 190 18 203 22 6 114 -7 138 -20z M3376 3088 c-27 -15 -24 -793 3 -808 28 -14 262 -12 352 4 136 25 245 103 298 216 42 90 39 289 -6 381 -41 82 -103 141 -191 182 -67 31 -68 31 -254 32 -102 1 -193 -2 -202 -7z m370 -186 c190 -97 167 -377 -35 -436 -70 -21 -135 -21 -155 0 -24 24 -24 409 0 443 22 30 125 26 190 -7z M4657 3087 c-16 -11 -18 -40 -21 -261 -4 -236 -5 -250 -28 -293 -54 -106 -187 -109 -245 -7 -22 37 -23 49 -23 290 0 181 -3 253 -12 262 -16 16 -150 16 -166 0 -19 -19 -17 -529 3 -595 39 -132 140 -209 288 -220 157 -12 282 54 338 179 23 51 24 63 27 336 4 332 7 322 -88 322 -31 0 -64 -6 -73 -13z M5162 3088 c-20 -20 -15 -41 108 -419 93 -284 126 -372 143 -384 31 -22 174 -21 199 2 10 9 68 167 140 385 143 433 142 421 39 426 -103 5 -90 29 -226 -413 -36 -119 -48 -145 -61 -132 -4 4 -42 120 -85 258 -44 139 -86 261 -96 271 -19 21 -141 26 -161 6z M6107 3088 c-21 -16 -47 -85 -177 -470 -102 -302 -104 -307 -86 -327 15 -17 31 -21 81 -21 72 0 86 11 111 82 25 73 41 82 154 86 123 5 149 -7 175 -75 29 -79 48 -93 125 -93 71 0 90 10 90 46 0 40 -249 737 -272 761 -19 20 -31 23 -103 23 -49 0 -88 -5 -98 -12z m138 -366 c39 -109 35 -122 -44 -122 -75 0 -79 12 -41 125 18 53 37 94 42 93 6 -2 25 -45 43 -96z M6697 3082 c-27 -30 -25 -771 1 -795 16 -15 48 -17 239 -17 256 0 253 -1 253 92 0 84 -11 90 -159 87 -175 -4 -161 -32 -161 326 0 340 4 325 -97 325 -45 0 -64 -4 -76 -18z M7300 3080 c-30 -30 -31 -767 -2 -793 22 -20 407 -26 443 -7 16 9 19 22 19 75 0 91 -6 95 -141 95 -161 0 -149 -25 -149 329 0 335 4 321 -91 321 -46 0 -63 -4 -79 -20z M8735 3080 c-16 -18 -17 -44 -11 -402 7 -436 1 -408 96 -408 94 0 93 -1 88 255 -3 149 -1 215 7 215 6 0 69 -95 140 -211 155 -252 162 -259 254 -259 108 0 101 -28 101 417 0 440 6 413 -97 413 -96 0 -96 0 -92 -239 2 -110 1 -202 -2 -205 -9 -10 -30 19 -154 219 -65 105 -127 198 -139 207 -32 27 -166 25 -191 -2z M5535 1947 c-123 -33 -220 -109 -278 -221 -31 -60 -32 -64 -32 -197 0 -134 0 -135 35 -203 130 -257 460 -318 649 -122 83 88 84 124 4 165 -60 30 -75 27 -139 -29 -83 -72 -166 -80 -248 -23 -117 81 -148 228 -73 340 85 127 213 148 331 54 48 -38 98 -41 147 -8 77 51 31 145 -104 212 -85 42 -203 55 -292 32z M8740 1946 c-396 -86 -449 -651 -76 -822 161 -74 375 -22 470 114 38 53 29 86 -29 119 -59 34 -86 30 -146 -22 -89 -76 -150 -80 -243 -16 -121 84Line truncated
</g>
</svg>

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 KiB

+51
View File
@@ -0,0 +1,51 @@
---
import { Image } from 'astro:assets';
import type { CollectionEntry } from 'astro:content';
import logo from '../assets/logo-msp.svg';
import { dateActu } from '../lib/site';
interface Props {
actu: CollectionEntry<'actualites'>;
// « colonne » : vignette au-dessus (accueil) ; « ligne » : vignette à gauche (liste)
variante?: 'colonne' | 'ligne';
}
const { actu, variante = 'colonne' } = Astro.props;
const { titre, image, image_alt, resume } = actu.data;
---
<a class:list={['carte', 'actu', variante]} href={`/actualites/${actu.id}/`}>
{
image ? (
<Image class="visuel" src={image} alt={image_alt} widths={[400, 800]} sizes="(max-width: 700px) 100vw, 50vw" />
) : (
<div class="visuel visuel-vide">
<img src={logo.src} alt="" />
</div>
)
}
<div class="corps">
<div class="date">{dateActu(actu.data)}</div>
<div class="titre">{titre}</div>
<div class="resume">{resume}</div>
</div>
</a>
<style>
.actu { overflow: hidden; display: flex; flex-direction: column; color: inherit; transition: border-color 0.15s, box-shadow 0.15s; }
.actu:hover { color: inherit; border-color: var(--teal); box-shadow: 0 4px 14px oklch(38% 0.06 205 / 0.12); }
.visuel { width: 100%; height: 180px; object-fit: cover; display: flex; }
.corps { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.date { font-size: 15px; color: var(--orange); font-weight: 600; }
.titre { font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--titre); line-height: 1.35; }
.resume { font-size: 16px; color: var(--texte-doux); }
.ligne { display: grid; grid-template-columns: 260px 1fr; }
.ligne .visuel { height: 100%; min-height: 160px; }
.ligne .corps { padding: 26px; gap: 10px; }
.ligne .titre { font-size: 23px; }
.ligne .resume { font-size: 17px; }
@media (max-width: 640px) {
.ligne { grid-template-columns: 1fr; }
.ligne .visuel { height: 180px; }
}
</style>
+39
View File
@@ -0,0 +1,39 @@
---
import { Image } from 'astro:assets';
import type { CollectionEntry } from 'astro:content';
import IconeMetier from './IconeMetier.astro';
import { COULEURS } from '../lib/site';
interface Props {
pro: CollectionEntry<'professionnels'>;
metier: CollectionEntry<'metiers'>;
}
const { pro, metier } = Astro.props;
---
<div class="carte praticien">
<div class="pastille" style={`--taille:88px;--couleur:${COULEURS[metier.data.couleur]}`}>
{
pro.data.photo ? (
<Image src={pro.data.photo} alt="" width={176} height={176} />
) : (
<IconeMetier icone={metier.data.icone} taille={44} epaisseur={1.6} />
)
}
</div>
<div class="nom">{pro.data.nom}</div>
<div class="desc">{pro.data.description}</div>
</div>
<style>
.praticien {
padding: 24px;
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
text-align: center;
}
.nom { font-weight: 700; font-size: 18px; }
.desc { font-size: 16px; color: var(--texte-pale); text-wrap: pretty; white-space: pre-line; }
</style>
+84
View File
@@ -0,0 +1,84 @@
---
// Pictogrammes des métiers (tracés Lucide repris de la maquette).
interface Props {
icone: string;
taille?: number;
epaisseur?: number;
}
const { icone, taille = 26, epaisseur = 1.8 } = Astro.props;
---
<svg
width={taille}
height={taille}
viewBox="0 0 24 24"
fill="none"
stroke="white"
stroke-width={epaisseur}
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
>
{
icone === 'medecin' && (
<>
<path d="M4.8 2.3A.3.3 0 1 0 5 2H4a2 2 0 0 0-2 2v5a6 6 0 0 0 6 6 6 6 0 0 0 6-6V4a2 2 0 0 0-2-2h-1a.2.2 0 1 0 .3.3" />
<path d="M8 15v1a6 6 0 0 0 6 6 6 6 0 0 0 6-6v-4" />
<circle cx="20" cy="10" r="2" />
</>
)
}
{
icone === 'infirmier' && (
<>
<path d="m18 2 4 4" />
<path d="m17 7 3-3" />
<path d="M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5" />
<path d="m9 11 4 4" />
<path d="m5 19-3 3" />
<path d="m14 4 6 6" />
</>
)
}
{
icone === 'asalee' && (
<>
<rect width="8" height="4" x="8" y="2" rx="1" />
<path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" />
<path d="M12 11v6" />
<path d="M9 14h6" />
</>
)
}
{
icone === 'kine' && (
<>
<path d="M12.409 13.017A5 5 0 0 1 22 15c0 3.866-4 7-9 7-4.077 0-8.153-.82-10.371-2.462-.426-.316-.631-.832-.62-1.362C2.118 12.723 2.627 2 10 2a3 3 0 0 1 3 3 2 2 0 0 1-2 2c-1.105 0-1.64-.444-2-1" />
<path d="M15 14a5 5 0 0 0-7.584 2" />
<path d="M9.964 6.825C8.019 7.977 9.5 13 8 15" />
</>
)
}
{
icone === 'podologue' && (
<>
<path d="M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z" />
<path d="M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z" />
<path d="M16 17h4" />
<path d="M4 13h4" />
</>
)
}
{
icone === 'psychologue' && (
<>
<path d="M7.9 20A9 9 0 1 0 4 16.1L2 22Z" />
<path
stroke-width={epaisseur * 0.75}
d="M7.5 11.5c0-2.4 2.3-3.9 4.3-3 2.2 1 1.2 4.3-1 4-2-.3-1.3-3.6 1.4-3.9 2.6-.3 4.5 1.6 4 3.8-.5 2.3-3.5 2.9-4.6 1.3-1.1-1.6.6-3.5 2.4-2.6 1.9.9 1.3 3.8-1 4.4-2.4.6-5.1-.8-5.5-2.9-.3-1.6.8-3 2.2-3.2"
/>
</>
)
}
{icone === 'pharmacie' && <path d="M9 3h6v6h6v6h-6v6H9v-6H3V9h6z" />}
</svg>
+87
View File
@@ -0,0 +1,87 @@
---
// Rendu des blocs des pages libres ; chaque type correspond à un type
// du widget « blocs » dans public/admin/config.yml.
import { Image } from 'astro:assets';
import type { CollectionEntry } from 'astro:content';
import { md } from '../../lib/site';
interface Props {
blocs: CollectionEntry<'pages'>['data']['blocs'];
}
const { blocs } = Astro.props;
---
<div class="blocs">
{
blocs.map((bloc) => {
switch (bloc.type) {
case 'texte':
return (
<section class="prose">
{bloc.titre && <h2>{bloc.titre}</h2>}
<Fragment set:html={md(bloc.contenu)} />
</section>
);
case 'texte_image':
return (
<section class:list={['texte-image', bloc.position]}>
<div class="prose">
{bloc.titre && <h2>{bloc.titre}</h2>}
<Fragment set:html={md(bloc.contenu)} />
</div>
<Image src={bloc.image} alt={bloc.image_alt} widths={[400, 800]} sizes="(max-width: 760px) 100vw, 480px" />
</section>
);
case 'encarts':
return (
<section>
{bloc.titre && <h2 class="titre-bloc">{bloc.titre}</h2>}
<div class="encarts">
{bloc.encarts.map((e) => (
<div class="encart">
<div class="encart-titre">{e.titre}</div>
<div set:html={md(e.texte)} />
</div>
))}
</div>
</section>
);
case 'image':
return (
<figure>
<Image src={bloc.image} alt={bloc.image_alt} widths={[600, 1000]} sizes="(max-width: 1020px) 100vw, 900px" />
{bloc.legende && <figcaption>{bloc.legende}</figcaption>}
</figure>
);
case 'bouton':
return (
<div>
<a class="bouton" href={bloc.lien}>{bloc.libelle}</a>
</div>
);
}
})
}
</div>
<style>
.blocs { display: flex; flex-direction: column; gap: 40px; }
.prose h2, .titre-bloc { font-size: 26px; }
.titre-bloc { margin-bottom: 18px; }
.texte-image { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: 40px; align-items: center; }
.texte-image.gauche > img { order: -1; }
.texte-image img, figure img { width: 100%; border-radius: var(--rayon); }
@media (max-width: 760px) {
.texte-image { grid-template-columns: 1fr; }
.texte-image.gauche > img { order: 0; }
}
.encarts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; max-width: 900px; }
.encart { background: var(--creme); border-radius: var(--rayon); padding: 24px; font-size: 17px; color: oklch(40% 0.02 240); }
.encart :global(p) { margin: 0; }
.encart-titre { font-weight: 700; color: var(--titre); margin-bottom: 8px; }
figure { margin: 0; }
figcaption { font-size: 15px; color: var(--texte-pale); margin-top: 8px; }
</style>
+129
View File
@@ -0,0 +1,129 @@
import { defineCollection, reference } from 'astro:content';
import { glob } from 'astro/loaders';
import { z } from 'astro/zod';
// Toutes ces collections sont éditées par le client via Sveltia CMS (public/admin/config.yml) :
// tout champ ajouté ici doit aussi y être déclaré.
const COULEURS = ['teal', 'vert', 'violet', 'orange', 'rose', 'turquoise', 'emeraude'] as const;
const ICONES = ['medecin', 'infirmier', 'asalee', 'kine', 'podologue', 'psychologue', 'pharmacie'] as const;
const reglage = (fichier: string) => glob({ pattern: fichier, base: './src/content/reglages' });
const site = defineCollection({
loader: reglage('site.yml'),
schema: z.object({
nom: z.string(),
nom_court: z.string(),
adresse: z.string(),
telephone: z.string(),
horaires_standard: z.string(),
description: z.string(),
}),
});
const accueil = defineCollection({
loader: reglage('accueil.yml'),
schema: ({ image }) =>
z.object({
surtitre: z.string(),
titre: z.string(),
texte: z.string(),
bouton: z.string(),
image: image(),
image_alt: z.string(),
professions_titre: z.string(),
professions_texte: z.string(),
actus_titre: z.string(),
}),
});
const listes = defineCollection({
loader: reglage('{equipes,actualites}.yml'),
schema: z.object({ titre: z.string(), texte: z.string() }),
});
const metiers = defineCollection({
loader: glob({ pattern: '*.md', base: './src/content/metiers' }),
schema: z.object({
titre: z.string(),
ordre: z.number().default(99),
couleur: z.enum(COULEURS),
icone: z.enum(ICONES),
intro: z.string(),
soins: z.array(z.string()).default([]),
rdv: z
.object({
texte: z.string(),
telephone: z.string(),
horaires: z.string().optional(),
note: z.string().optional(),
})
.optional(),
}),
});
const professionnels = defineCollection({
loader: glob({ pattern: '*.md', base: './src/content/professionnels' }),
schema: ({ image }) =>
z.object({
nom: z.string(),
metier: reference('metiers'),
description: z.string().default(''),
photo: image().optional(),
ordre: z.number().default(99),
}),
});
const actualites = defineCollection({
loader: glob({ pattern: '*.md', base: './src/content/actualites' }),
schema: ({ image }) =>
z.object({
titre: z.string(),
date: z.coerce.date(),
date_affichee: z.string().optional(),
resume: z.string(),
image: image().optional(),
image_alt: z.string().default(''),
}),
});
const pages = defineCollection({
loader: glob({ pattern: '*.md', base: './src/content/pages' }),
schema: ({ image }) =>
z.object({
titre: z.string(),
description: z.string().optional(),
menu: z.boolean().default(false),
ordre_menu: z.number().default(99),
blocs: z
.array(
z.discriminatedUnion('type', [
z.object({ type: z.literal('texte'), titre: z.string().optional(), contenu: z.string() }),
z.object({
type: z.literal('texte_image'),
titre: z.string().optional(),
contenu: z.string(),
image: image(),
image_alt: z.string().default(''),
position: z.enum(['droite', 'gauche']).default('droite'),
}),
z.object({
type: z.literal('encarts'),
titre: z.string().optional(),
encarts: z.array(z.object({ titre: z.string(), texte: z.string() })),
}),
z.object({
type: z.literal('image'),
image: image(),
image_alt: z.string().default(''),
legende: z.string().optional(),
}),
z.object({ type: z.literal('bouton'), libelle: z.string(), lien: z.string() }),
]),
)
.default([]),
}),
});
export const collections = { site, accueil, listes, metiers, professionnels, actualites, pages };
@@ -0,0 +1,9 @@
---
titre: Forum Diabète avec l'AFD, Hygiénavie, podologue et diététicienne
date: 2026-09-22
date_affichee: 22 et 23 septembre 2026
resume: Stand d'information et de sensibilisation organisé par l'équipe de la maison de santé, ouvert à tous.
image: /src/assets/uploads/forum-diabete.webp
image_alt: Stand d'information de la maison de santé sous un barnum, sur la place
---
Stand d'information et de sensibilisation organisé par l'équipe de la maison de santé, ouvert à tous.
@@ -0,0 +1,6 @@
---
titre: Don du sang à Marcillac
date: 2026-11-03
resume: Collecte organisée en partenariat avec l'Établissement Français du Sang. Venez nombreux.
---
Collecte organisée en partenariat avec l'Établissement Français du Sang. Venez nombreux.
+16
View File
@@ -0,0 +1,16 @@
---
titre: Infirmière Asalée
ordre: 3
couleur: violet
icone: asalee
intro: L'infirmière Asalée travaille en binôme avec les médecins pour accompagner les patients dans la durée.
soins:
- Éducation thérapeutique
- Suivi du diabète
- Risque cardiovasculaire
- Dépistages
- Accompagnement des situations complexes
---
Le dispositif Asalée (Action de santé libérale en équipe) associe une infirmière et des médecins généralistes autour du suivi des patients atteints de maladies chroniques ou présentant des facteurs de risque.
Sur orientation de votre médecin, l'infirmière Asalée vous reçoit en consultation pour faire le point sur votre santé, vous aider à comprendre votre maladie et à adapter vos habitudes de vie.
+17
View File
@@ -0,0 +1,17 @@
---
titre: Infirmiers
ordre: 2
couleur: vert
icone: infirmier
intro: Les infirmiers réalisent les soins sur prescription, au cabinet ou à domicile.
soins:
- Prises de sang
- Pansements
- Injections
- Soins à domicile
- Suivi du diabète
- Vaccinations
---
L'infirmier assure les soins techniques prescrits par le médecin et accompagne les patients dans la gestion de leur traitement, notamment pour les maladies chroniques.
Les soins à domicile permettent aux personnes âgées ou à mobilité réduite d'être suivies sans se déplacer.
+16
View File
@@ -0,0 +1,16 @@
---
titre: Kinésithérapeutes
ordre: 4
couleur: orange
icone: kine
intro: Les kinésithérapeutes vous accompagnent dans la rééducation et le maintien de votre mobilité.
soins:
- Rééducation orthopédique
- Kinésithérapie respiratoire
- Rééducation post-opératoire
- Kinésithérapie du sport
- Prise en charge des douleurs du dos
---
Le masseur-kinésithérapeute intervient sur prescription médicale pour rééduquer après une blessure, une opération ou en cas de douleurs chroniques.
Il intervient également en kinésithérapie respiratoire, auprès des nourrissons comme des adultes.
+22
View File
@@ -0,0 +1,22 @@
---
titre: Médecins
ordre: 1
couleur: teal
icone: medecin
intro: Vos médecins généralistes assurent le suivi de votre santé à tous les âges de la vie.
soins:
- Consultations de médecine générale
- Suivi des maladies chroniques
- Suivi de l'enfant
- Vaccinations
- Certificats médicaux
- Prévention et dépistage
rdv:
texte: "Prendre rendez-vous avec **Florence Jarrousse** (ou avec notre secrétariat distanciel lors de ses absences) au :"
telephone: 05 65 71 73 85
horaires: "Standard : 8h-12h et 15h-18h"
note: Horaires de consultation propres à chaque praticien
---
Le médecin généraliste est médecin de premier recours : il est le premier interlocuteur pour tout problème de santé, assure le suivi au long cours et vous oriente si besoin vers un spécialiste.
Au sein de la maison de santé, les médecins travaillent en lien étroit avec les infirmiers, kinésithérapeutes, podologue et la psychologue pour coordonner votre prise en charge.
+16
View File
@@ -0,0 +1,16 @@
---
titre: Pharmaciens
ordre: 7
couleur: emeraude
icone: pharmacie
intro: Les pharmaciens vous conseillent et sécurisent la prise de vos traitements.
soins:
- Délivrance des ordonnances
- Conseil pharmaceutique
- Entretiens pharmaceutiques
- Vaccination
- Dépistages
---
Le pharmacien délivre les médicaments prescrits, vérifie les interactions entre traitements et vous conseille pour les soins du quotidien.
En lien avec les médecins et les infirmiers de la maison de santé, il participe au suivi des patients sous traitement au long cours et aux actions de prévention.
+16
View File
@@ -0,0 +1,16 @@
---
titre: Pédicure-Podologue
ordre: 5
couleur: rose
icone: podologue
intro: Le podologue prend en charge les affections du pied et les troubles de la posture.
soins:
- Soins de pédicurie
- Semelles orthopédiques
- Bilan podologique
- Suivi du pied diabétique
- Troubles de la marche et de la posture
---
Le pédicure-podologue soigne les affections de la peau et des ongles du pied et conçoit des semelles orthopédiques sur mesure pour corriger les troubles de l'appui et de la posture.
Il joue un rôle important dans la prévention, notamment auprès des personnes diabétiques et des personnes âgées, en lien avec le médecin traitant.
+16
View File
@@ -0,0 +1,16 @@
---
titre: Psychologue
ordre: 6
couleur: turquoise
icone: psychologue
intro: La psychologue propose un espace d'écoute et d'accompagnement pour traverser les moments difficiles.
soins:
- Soutien psychologique
- Anxiété et stress
- Accompagnement du deuil
- Suivi de l'adolescent
- Difficultés relationnelles
---
La psychologue accompagne les adultes et adolescents confrontés à des difficultés émotionnelles, relationnelles ou à des événements de vie éprouvants.
Les consultations peuvent être ponctuelles ou s'inscrire dans un suivi régulier, en lien avec votre médecin traitant si vous le souhaitez.
+26
View File
@@ -0,0 +1,26 @@
---
titre: À propos
description: L'association de la Maison de Santé Pluriprofessionnelle du Vallon de Marcillac.
menu: true
ordre_menu: 1
blocs:
- type: texte
titre: ''
contenu: |-
La Maison de Santé Pluriprofessionnelle (MSP) du Vallon de Marcillac est une association qui réunit des professionnels de santé libéraux du territoire — médecins, infirmiers, kinésithérapeutes, podologue et psychologue — autour d'un projet de santé commun.
Notre association a pour objectif de favoriser l'accès aux soins dans le Vallon de Marcillac, de renforcer la coordination entre professionnels et de faciliter l'installation de nouveaux praticiens sur le territoire.
Chaque praticien exerce en libéral et organise ses propres consultations ; le standard de la maison de santé oriente vos appels et vos demandes générales.
- type: encarts
titre: ''
encarts:
- titre: Adresse
texte: |-
1 rue Foncourieu
12330 Marcillac-Vallon
- titre: Standard
texte: 8h-12h & 15h-18h
- titre: Coordonnées
texte: Notre position maps
---
+19
View File
@@ -0,0 +1,19 @@
---
titre: Mentions légales
menu: false
blocs:
- type: texte
titre: Éditeur du site
contenu: |-
Association Maison de Santé Pluriprofessionnelle du Vallon de Marcillac
1 rue Foncourieu, 12330 Marcillac-Vallon
Directeur de la publication : *à compléter*
- type: texte
titre: Hébergement
contenu: |-
OVH SAS, 2 rue Kellermann, 59100 Roubaix, France.
- type: texte
titre: Données personnelles
contenu: |-
Ce site ne dépose aucun cookie et ne collecte aucune donnée personnelle. Aucune donnée de santé ne doit être transmise par l'intermédiaire de ce site.
---
@@ -0,0 +1,7 @@
---
nom: Arnaud Battut
metier: kinesitherapeutes
ordre: 1
description: |-
Rééducation orthopédique, kinésithérapie respiratoire et du sport.
---
@@ -0,0 +1,7 @@
---
nom: Delphine Mouly
metier: asalee
ordre: 1
description: |-
Education thérapeutique dans le cadre de maladies chroniques ou de facteurs de risque identifiés, dépistages, accompagnement lors de situations thérapeutiques complexes.
---
@@ -0,0 +1,7 @@
---
nom: Dr Amandine BOINEL
metier: medecins
ordre: 3
description: |-
Médecin Généraliste
---
@@ -0,0 +1,7 @@
---
nom: Dr Armelle ANDRE-NOBLANC
metier: medecins
ordre: 2
description: |-
Médecin Généraliste, Maître de stage Universitaire
---
@@ -0,0 +1,9 @@
---
nom: Dr Jean-François SALOMON
metier: medecins
ordre: 1
description: |-
Médecin Généraliste
Diplôme universitaire gériatrie
Ancien maître de stage universitaire
---
@@ -0,0 +1,7 @@
---
nom: Emilie Roumec
metier: infirmiers
ordre: 2
description: |-
Soins à domicile et au cabinet infirmier, pansements complexes, prises de sang et surveillance de paramètres vitaux.
---
@@ -0,0 +1,7 @@
---
nom: Franck Alibert
metier: infirmiers
ordre: 1
description: |-
Soins à domicile et au cabinet infirmier, pansements complexes, prises de sang et surveillance de paramètres vitaux.
---
@@ -0,0 +1,7 @@
---
nom: Hélène Brémond
metier: infirmiers
ordre: 3
description: |-
Soins à domicile et au cabinet infirmier, pansements complexes, prises de sang et surveillance de paramètres vitaux.
---
@@ -0,0 +1,7 @@
---
nom: Justine GRANCHAMP
metier: psychologue
ordre: 1
description: |-
Accompagnement de l'adulte et de l'adolescent, anxiété et deuil.
---
@@ -0,0 +1,7 @@
---
nom: Krysta Meslien
metier: podologue
ordre: 1
description: |-
Soins des pieds, semelles orthopédiques et suivi du pied diabétique.
---
@@ -0,0 +1,7 @@
---
nom: Susie Lego et Anthony Chelvi
metier: pharmaciens
ordre: 1
description: |-
Dispensation des médicaments, conseil et entretiens pharmaceutiques, vaccinations et tests d'orientation diagnostique.
---
@@ -0,0 +1,7 @@
---
nom: Valérie Droc
metier: kinesitherapeutes
ordre: 2
description: |-
Rééducation orthopédique, kinésithérapie respiratoire et du sport.
---
+9
View File
@@ -0,0 +1,9 @@
surtitre: Marcillac-Vallon, Aveyron
titre: Des soins coordonnés, proches de chez vous
texte: Médecins, infirmiers, kinésithérapeutes, podologue et psychologue réunis dans une même structure pour vous accompagner au quotidien.
bouton: Découvrir l'équipe
image: /src/assets/uploads/maison-de-sante.webp
image_alt: La maison de santé, bâtiment en pierre couvert de vigne vierge
professions_titre: Nos professions de santé
professions_texte: Une prise en charge pluriprofessionnelle, en lien avec vous.
actus_titre: Dernières actualités
+2
View File
@@ -0,0 +1,2 @@
titre: Actualité
texte: Les informations et événements de la maison de santé.
+2
View File
@@ -0,0 +1,2 @@
titre: Nos équipes
texte: Une équipe pluriprofessionnelle à votre écoute. Les rendez-vous et horaires sont propres à chaque praticien.
+8
View File
@@ -0,0 +1,8 @@
nom: Maison de Santé du Vallon de Marcillac
nom_court: MSP du Vallon de Marcillac
adresse: |-
1 rue Foncourieu
12330 Marcillac-Vallon
telephone: 05 65 71 73 85
horaires_standard: 8h-12h et 15h-18h
description: Maison de santé pluriprofessionnelle de Marcillac-Vallon (Aveyron) — médecins, infirmiers, kinésithérapeutes, podologue, psychologue et pharmaciens.
+158
View File
@@ -0,0 +1,158 @@
---
import '../styles/global.css';
import logo from '../assets/logo-msp.svg';
import { getMenu, getReglages } from '../lib/site';
interface Props {
titre?: string;
description?: string;
}
const { titre, description } = Astro.props;
const site = await getReglages();
const menu = await getMenu();
const chemin = Astro.url.pathname;
const actif = (href: string) => (href === '/' ? chemin === '/' : chemin.startsWith(href));
const titreComplet = titre ? `${titre} · ${site.nom_court}` : site.nom;
---
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{titreComplet}</title>
<meta name="description" content={description ?? site.description} />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="canonical" href={new URL(chemin, Astro.site)} />
<meta property="og:title" content={titreComplet} />
<meta property="og:locale" content="fr_FR" />
</head>
<body>
<header class="entete">
<a class="marque" href="/">
<img src={logo.src} alt="" width="56" height="56" />
<span set:html={site.nom.replace(' du ', '<br>du ')} />
</a>
<button class="burger" type="button" aria-expanded="false" aria-controls="nav-principale" aria-label="Menu">
<svg class="ouvrir" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round"><path d="M4 7h16M4 12h16M4 17h16"></path></svg>
<svg class="fermer" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round"><path d="M6 6l12 12M18 6L6 18"></path></svg>
</button>
<nav id="nav-principale" class="nav" aria-label="Navigation principale">
{
menu.map((item) => (
<a href={item.href} aria-current={actif(item.href) ? 'page' : undefined}>
{item.libelle}
</a>
))
}
</nav>
</header>
<slot />
<footer class="pied">
<div>
<div class="pied-nom">{site.nom_court}</div>
</div>
<nav aria-label="Pied de page">
{menu.map((item) => <a href={item.href}>{item.libelle}</a>)}
<a href="/mentions-legales/">Mentions légales</a>
</nav>
</footer>
<script>
const bouton = document.querySelector<HTMLButtonElement>('.burger')!;
bouton.addEventListener('click', () => {
const ouvert = bouton.getAttribute('aria-expanded') === 'true';
bouton.setAttribute('aria-expanded', String(!ouvert));
});
</script>
</body>
</html>
<style>
.entete {
position: sticky;
top: 0;
z-index: 10;
background: white;
border-bottom: 1px solid oklch(90% 0.01 85);
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px var(--gouttiere);
flex-wrap: wrap;
gap: 16px;
}
.marque {
display: flex;
align-items: center;
gap: 14px;
font-family: var(--serif);
font-weight: 700;
font-size: 21px;
line-height: 1.5;
color: oklch(30% 0.06 205);
}
.marque img { width: 56px; height: 56px; object-fit: contain; }
.nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nav a {
padding: 10px 16px;
border-radius: 12px;
font-weight: 600;
font-size: 17px;
color: oklch(30% 0.02 240);
}
.nav a:hover { background: var(--creme); }
.nav a[aria-current='page'] { background: var(--teal); color: white; }
.burger {
display: none;
width: 48px;
height: 48px;
border-radius: 16px;
border: 1.5px solid var(--teal);
color: var(--teal);
background: none;
align-items: center;
justify-content: center;
cursor: pointer;
}
.burger .fermer, .burger[aria-expanded='true'] .ouvrir { display: none; }
.burger[aria-expanded='true'] .fermer { display: block; }
@media (max-width: 960px) {
.marque { font-size: 18px; }
.marque img { width: 48px; height: 48px; }
.burger { display: flex; }
.nav {
display: none;
flex-basis: 100%;
flex-direction: column;
align-items: stretch;
gap: 4px;
padding-top: 8px;
border-top: 1px solid oklch(92% 0.01 85);
}
.burger[aria-expanded='true'] + .nav { display: flex; }
.nav a { padding: 14px 16px; font-size: 18px; }
}
.pied {
background: var(--pied);
color: white;
padding: 36px var(--gouttiere);
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 16px;
}
.pied-nom { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.pied nav { display: flex; gap: 12px 28px; flex-wrap: wrap; }
.pied a { font-size: 17px; font-weight: 600; color: white; opacity: 0.9; }
.pied a:hover { opacity: 1; text-decoration: underline; color: white; }
.pied-contact { font-size: 15px; opacity: 0.85; margin-top: 4px; }
.pied .pied-contact a { font-size: inherit; opacity: 1; }
</style>
+53
View File
@@ -0,0 +1,53 @@
import { getCollection, getEntry } from 'astro:content';
import { marked } from 'marked';
// Couleurs proposées dans le CMS pour les métiers (reprises de la maquette).
export const COULEURS: Record<string, string> = {
teal: 'oklch(38% 0.06 205)',
vert: 'oklch(58% 0.13 140)',
violet: 'oklch(52% 0.13 300)',
orange: 'oklch(70% 0.15 55)',
rose: 'oklch(58% 0.17 355)',
turquoise: '#009ca4',
emeraude: 'oklch(52% 0.12 165)',
};
// Markdown saisi dans les champs du CMS ; les retours à la ligne simples sont conservés.
export const md = (texte = '') => marked.parse(texte, { breaks: true, async: false });
export const mdLigne = (texte = '') => marked.parseInline(texte, { breaks: true, async: false });
export async function getReglages() {
const site = await getEntry('site', 'site');
if (!site) throw new Error('src/content/reglages/site.yml manquant');
return site.data;
}
export async function getMetiers() {
const metiers = await getCollection('metiers');
return metiers.sort((a, b) => a.data.ordre - b.data.ordre);
}
export async function getProfessionnels(metierId: string) {
const pros = await getCollection('professionnels', (p) => p.data.metier.id === metierId);
return pros.sort((a, b) => a.data.ordre - b.data.ordre);
}
export async function getActualites() {
const actus = await getCollection('actualites');
return actus.sort((a, b) => b.data.date.valueOf() - a.data.date.valueOf());
}
export const dateActu = (a: { date: Date; date_affichee?: string }) =>
a.date_affichee || a.date.toLocaleDateString('fr-FR', { day: 'numeric', month: 'long', year: 'numeric' });
export async function getMenu() {
const pages = (await getCollection('pages', (p) => p.data.menu)).sort(
(a, b) => a.data.ordre_menu - b.data.ordre_menu,
);
return [
{ libelle: 'Accueil', href: '/' },
{ libelle: 'Nos équipes', href: '/equipes/' },
{ libelle: 'Actualité', href: '/actualites/' },
...pages.map((p) => ({ libelle: p.data.titre, href: `/${p.id}/` })),
];
}
+11
View File
@@ -0,0 +1,11 @@
---
import BaseLayout from '../layouts/BaseLayout.astro';
---
<BaseLayout titre="Page introuvable">
<main class="section">
<h1 class="titre-page">Page introuvable</h1>
<p class="chapo">La page demandée n'existe pas ou a été déplacée.</p>
<a class="bouton" href="/">Retour à l'accueil</a>
</main>
</BaseLayout>
+24
View File
@@ -0,0 +1,24 @@
---
import { getCollection } from 'astro:content';
import type { CollectionEntry } from 'astro:content';
import BaseLayout from '../layouts/BaseLayout.astro';
import Blocs from '../components/blocks/Blocs.astro';
export async function getStaticPaths() {
return (await getCollection('pages')).map((page) => ({ params: { page: page.id }, props: { page } }));
}
const { page } = Astro.props as { page: CollectionEntry<'pages'> };
---
<BaseLayout titre={page.data.titre} description={page.data.description}>
<main class="section contenu">
<h1 class="titre-page">{page.data.titre}</h1>
<Blocs blocs={page.data.blocs} />
</main>
</BaseLayout>
<style>
.contenu { max-width: 1020px; }
.contenu h1 { margin-bottom: 24px; }
</style>
+34
View File
@@ -0,0 +1,34 @@
---
import { Image } from 'astro:assets';
import { render } from 'astro:content';
import type { CollectionEntry } from 'astro:content';
import BaseLayout from '../../layouts/BaseLayout.astro';
import { dateActu, getActualites } from '../../lib/site';
export async function getStaticPaths() {
return (await getActualites()).map((actu) => ({ params: { id: actu.id }, props: { actu } }));
}
const { actu } = Astro.props as { actu: CollectionEntry<'actualites'> };
const { titre, resume, image, image_alt } = actu.data;
const { Content } = await render(actu);
---
<BaseLayout titre={titre} description={resume}>
<main class="section">
<article>
<a class="retour" href="/actualites/">← Toute l'actualité</a>
<div class="date">{dateActu(actu.data)}</div>
<h1 class="titre-page">{titre}</h1>
{image && <Image class="visuel" src={image} alt={image_alt} widths={[600, 900]} sizes="(max-width: 900px) 100vw, 820px" />}
<div class="prose"><Content /></div>
</article>
</main>
</BaseLayout>
<style>
article { max-width: 820px; display: flex; flex-direction: column; gap: 16px; }
.retour { font-weight: 600; font-size: 16px; margin-bottom: 12px; }
.date { font-size: 15px; color: var(--orange); font-weight: 600; }
.visuel { width: 100%; border-radius: var(--rayon); margin: 12px 0; }
</style>
+23
View File
@@ -0,0 +1,23 @@
---
import { getEntry } from 'astro:content';
import BaseLayout from '../../layouts/BaseLayout.astro';
import CarteActu from '../../components/CarteActu.astro';
import { getActualites } from '../../lib/site';
const intro = (await getEntry('listes', 'actualites'))!.data;
const actus = await getActualites();
---
<BaseLayout titre={intro.titre} description={intro.texte}>
<main class="section">
<h1 class="titre-page">{intro.titre}</h1>
<p class="chapo">{intro.texte}</p>
<div class="liste">
{actus.map((a) => <CarteActu actu={a} variante="ligne" />)}
</div>
</main>
</BaseLayout>
<style>
.liste { display: flex; flex-direction: column; gap: 24px; max-width: 900px; }
</style>
+17
View File
@@ -0,0 +1,17 @@
---
// Interface d'édition Sveltia CMS ; sa configuration est dans public/admin/config.yml.
---
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex" />
<title>Administration · MSP du Vallon de Marcillac</title>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
</head>
<body>
<script is:inline src="https://unpkg.com/@sveltia/cms@0.250.2/dist/sveltia-cms.js" type="module"></script>
</body>
</html>
+124
View File
@@ -0,0 +1,124 @@
---
import { render } from 'astro:content';
import type { CollectionEntry } from 'astro:content';
import BaseLayout from '../../layouts/BaseLayout.astro';
import CartePraticien from '../../components/CartePraticien.astro';
import IconeMetier from '../../components/IconeMetier.astro';
import { COULEURS, getMetiers, getProfessionnels, mdLigne } from '../../lib/site';
export async function getStaticPaths() {
return (await getMetiers()).map((metier) => ({ params: { metier: metier.id }, props: { metier } }));
}
const { metier } = Astro.props as { metier: CollectionEntry<'metiers'> };
const { titre, intro, soins, rdv, couleur, icone } = metier.data;
const pros = await getProfessionnels(metier.id);
const { Content } = await render(metier);
const teinte = COULEURS[couleur];
---
<BaseLayout titre={titre} description={intro}>
<main>
<section class="section section--creme entete">
<a class="retour" href="/equipes/">← Nos équipes</a>
<div class="identite">
<div class="pastille" style={`--taille:88px;--couleur:${teinte}`}>
<IconeMetier icone={icone} taille={44} epaisseur={1.6} />
</div>
<div>
<h1>{titre}</h1>
<p>{intro}</p>
</div>
</div>
</section>
<section class="section section--blanc metier">
<div class="prose">
<h2>Le métier</h2>
<Content />
{
soins.length > 0 && (
<>
<h3>Soins proposés</h3>
<ul class="soins">
{soins.map((s) => (
<li style={`border-color:${teinte}`}>{s}</li>
))}
</ul>
</>
)
}
</div>
{
rdv && (
<a class="rdv" href={`tel:${rdv.telephone.replace(/\s/g, '')}`}>
<div class="rdv-texte" set:html={mdLigne(rdv.texte)} />
<div class="rdv-tel">{rdv.telephone}</div>
{rdv.horaires && <div class="rdv-horaires">{rdv.horaires}</div>}
{rdv.note && <div class="rdv-note">{rdv.note}</div>}
</a>
)
}
</section>
{
pros.length > 0 && (
<section class="section section--creme">
<h2 class="praticiens-titre">Les praticiens</h2>
<div class="grille">
{pros.map((pro) => <CartePraticien pro={pro} metier={metier} />)}
</div>
</section>
)
}
</main>
</BaseLayout>
<style>
.entete { padding-block: 48px 56px; }
.retour { display: inline-flex; font-weight: 600; font-size: 16px; margin-bottom: 28px; }
.identite { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.identite > div:last-child { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.identite h1 { font-size: clamp(32px, 4vw, 44px); }
.identite p { font-size: 20px; color: oklch(40% 0.02 240); margin: 0; max-width: 60ch; text-wrap: pretty; }
.metier {
padding-block: 56px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
gap: 48px;
align-items: start;
}
.prose h2 { font-size: 28px; margin: 0; }
.prose h3 { font-size: 22px; margin: 16px 0 4px; }
.soins { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.soins li {
border: 1.5px solid;
color: oklch(28% 0.04 240);
background: white;
border-radius: 999px;
padding: 8px 16px;
font-size: 16px;
font-weight: 600;
}
.rdv {
background: var(--orange);
color: white;
border-radius: 20px;
padding: 32px;
display: flex;
flex-direction: column;
gap: 10px;
box-shadow: 0 12px 32px oklch(48% 0.14 45 / 0.25);
}
.rdv:hover { color: white; }
.rdv-texte { font-weight: 600; font-size: 18px; text-wrap: pretty; }
.rdv-texte :global(strong) { font-size: 20px; font-weight: 700; }
.rdv-tel { font-family: var(--serif); font-size: 32px; font-weight: 700; white-space: nowrap; }
.rdv-horaires { font-size: 17px; font-weight: 600; }
.rdv-note { font-size: 15px; font-style: italic; }
.praticiens-titre { font-size: 28px; margin-bottom: 24px; }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
</style>
+42
View File
@@ -0,0 +1,42 @@
---
import { getEntry } from 'astro:content';
import BaseLayout from '../../layouts/BaseLayout.astro';
import CartePraticien from '../../components/CartePraticien.astro';
import { COULEURS, getMetiers, getProfessionnels } from '../../lib/site';
const intro = (await getEntry('listes', 'equipes'))!.data;
const groupes = await Promise.all(
(await getMetiers()).map(async (metier) => ({ metier, pros: await getProfessionnels(metier.id) })),
);
---
<BaseLayout titre={intro.titre} description={intro.texte}>
<main class="section">
<h1 class="titre-page">{intro.titre}</h1>
<p class="chapo">{intro.texte}</p>
{
groupes.map(({ metier, pros }) => (
<section id={`equipe-${metier.id}`} class="groupe">
<div class="groupe-entete">
<span class="point" style={`background:${COULEURS[metier.data.couleur]}`} />
<h2>{metier.data.titre}</h2>
<a class="lien-fleche" href={`/equipes/${metier.id}/`}>Détails sur les praticiens →</a>
</div>
<div class="grille">
{pros.map((pro) => <CartePraticien pro={pro} metier={metier} />)}
</div>
</section>
))
}
</main>
</BaseLayout>
<style>
.groupe { margin-bottom: 44px; scroll-margin-top: 110px; }
.groupe-entete { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.groupe-entete h2 { font-size: 24px; }
.groupe-entete .lien-fleche { margin-left: auto; font-size: 16px; }
.point { width: 12px; height: 12px; border-radius: 50%; }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
</style>
+108
View File
@@ -0,0 +1,108 @@
---
import { Image } from 'astro:assets';
import { getEntry } from 'astro:content';
import BaseLayout from '../layouts/BaseLayout.astro';
import CarteActu from '../components/CarteActu.astro';
import IconeMetier from '../components/IconeMetier.astro';
import { COULEURS, getActualites, getMetiers } from '../lib/site';
const accueil = (await getEntry('accueil', 'accueil'))!.data;
const metiers = await getMetiers();
const actus = (await getActualites()).slice(0, 2);
---
<BaseLayout>
<main>
<section class="hero">
<div class="hero-texte">
<div class="surtitre">{accueil.surtitre}</div>
<h1>{accueil.titre}</h1>
<p>{accueil.texte}</p>
<div><a class="bouton" href="/equipes/">{accueil.bouton}</a></div>
</div>
<div class="hero-image">
<Image src={accueil.image} alt={accueil.image_alt} widths={[600, 900, 1200]} sizes="(max-width: 960px) 100vw, 48vw" loading="eager" />
</div>
</section>
<section class="section section--blanc">
<h2 class="titre-section">{accueil.professions_titre}</h2>
<p class="sous-titre">{accueil.professions_texte}</p>
<div class="professions">
{
metiers.map((m) => (
<a class="carte profession" href={`/equipes/${m.id}/`}>
<div class="pastille" style={`--couleur:${COULEURS[m.data.couleur]}`}>
<IconeMetier icone={m.data.icone} />
</div>
<div>{m.data.titre}</div>
</a>
))
}
</div>
</section>
{
actus.length > 0 && (
<section class="section section--creme">
<div class="entete-actus">
<h2 class="titre-section">{accueil.actus_titre}</h2>
<a class="lien-fleche" href="/actualites/">Toute l'actualité →</a>
</div>
<div class="actus">
{actus.map((a) => <CarteActu actu={a} />)}
</div>
</section>
)
}
</main>
</BaseLayout>
<style>
.hero {
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
min-height: 520px;
overflow: hidden;
}
.hero-texte {
padding: 80px var(--gouttiere);
display: flex;
flex-direction: column;
justify-content: center;
gap: 22px;
background: var(--creme);
}
.surtitre { font-size: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }
.hero h1 { font-size: clamp(32px, 4.2vw, 46px); }
.hero p { font-size: 19px; color: oklch(40% 0.02 240); max-width: 52ch; margin: 0; }
.hero-image { position: relative; min-height: 420px; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
.hero { grid-template-columns: 1fr; }
.hero-texte { padding-block: 48px; }
.hero-image { min-height: 300px; }
}
.sous-titre { color: var(--texte-pale); margin: 8px 0 32px; font-size: 17px; }
.professions { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.profession {
padding: 24px 18px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
font-weight: 600;
font-size: 17px;
color: var(--texte);
transition: border-color 0.15s, box-shadow 0.15s;
}
.profession:hover { color: var(--texte); border-color: var(--teal); box-shadow: 0 4px 14px oklch(38% 0.06 205 / 0.12); }
.entete-actus { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.actus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 700px) {
.actus { grid-template-columns: 1fr; }
}
</style>
+116
View File
@@ -0,0 +1,116 @@
@import '@fontsource-variable/inter';
@import '@fontsource/source-serif-4/600.css';
@import '@fontsource/source-serif-4/700.css';
:root {
--fond: oklch(97.5% 0.012 85);
--creme: oklch(96% 0.015 85);
--blanc: #fff;
--texte: oklch(25% 0.02 240);
--texte-doux: oklch(42% 0.02 240);
--texte-pale: oklch(45% 0.02 240);
--titre: oklch(28% 0.06 205);
--teal: oklch(38% 0.06 205);
--teal-fonce: oklch(30% 0.07 205);
--orange: oklch(48% 0.14 45);
--bordure: oklch(92% 0.01 85);
--pied: oklch(30% 0.05 205);
--serif: 'Source Serif 4', Georgia, serif;
--sans: 'Inter Variable', Helvetica, Arial, sans-serif;
--gouttiere: 60px;
--rayon: 16px;
}
@media (max-width: 960px) {
:root { --gouttiere: 28px; }
}
@media (max-width: 560px) {
:root { --gouttiere: 16px; }
}
* { box-sizing: border-box; }
body {
margin: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
line-height: 1.5;
background: var(--fond);
color: var(--texte);
font-family: var(--sans);
}
main { flex: 1; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-fonce); }
img { max-width: 100%; height: auto; }
h1, h2, h3 {
font-family: var(--serif);
color: var(--titre);
line-height: 1.3;
margin: 0;
text-wrap: balance;
}
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
/* ---- Mise en page ---- */
.section { padding: 64px var(--gouttiere); }
.section--creme { background: var(--creme); }
.section--blanc { background: var(--blanc); }
.titre-page { font-size: clamp(30px, 4vw, 38px); margin-bottom: 8px; }
.titre-section { font-size: clamp(24px, 3vw, 30px); }
.chapo { color: var(--texte-pale); font-size: 18px; max-width: 70ch; margin: 0 0 40px; }
.carte {
background: var(--blanc);
border: 1px solid var(--bordure);
border-radius: var(--rayon);
}
.lien-fleche { font-weight: 600; color: var(--teal); white-space: nowrap; }
.bouton {
display: inline-block;
border: 1.5px solid var(--teal);
color: var(--teal);
font-weight: 600;
font-size: 18px;
padding: 14px 28px;
border-radius: 12px;
transition: background 0.15s, color 0.15s;
}
.bouton:hover { background: var(--teal); color: white; }
.pastille {
width: var(--taille, 48px);
height: var(--taille, 48px);
border-radius: 50%;
background: var(--couleur);
color: white;
display: flex;
align-items: center;
justify-content: center;
flex: none;
overflow: hidden;
}
.pastille img { width: 100%; height: 100%; object-fit: cover; }
.prose { display: flex; flex-direction: column; gap: 18px; font-size: 18px; color: oklch(35% 0.02 240); max-width: 68ch; }
.prose > * { margin: 0; }
.prose h2, .prose h3 { margin-top: 12px; }
.prose ul { padding-left: 1.2em; }
.prose a { text-decoration: underline; }
.visuel-vide {
background: linear-gradient(135deg, var(--creme), oklch(92% 0.03 205));
display: flex;
align-items: center;
justify-content: center;
}
.visuel-vide img { width: 64px; opacity: 0.5; }
+5
View File
@@ -0,0 +1,5 @@
{
"extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"],
"exclude": ["dist"]
}